CPCWiki forum

General Category => Programming => Topic started by: elanstra on 20:13, 15 August 18

Title: [cpctelera] bin in dsk is 230 KB, but bin in obj is just 15 KB (SOLVED)
Post by: elanstra on 20:13, 15 August 18
Hi,


I'm doing some programming with CPCtelera and I've stumbled with something I don't understand at all. I hope somebody here can shed a bit of light.


When I do make, I get:
Quote

[Fichier Amsdos : game.bin
Cration automatique d'une en-tte pour le fichier ...
Adresse de chargement : &4000
GAME .BIN : 230 Ko

------------------------------------
cduels.dsk] Added 'obj/cduels.bin'
[cduels] Successfully created cduels.dsk
[cduels] All files added to cduels.dsk. Disc ready.


And when I do CAT in the Amstrad I see a .BIN file of 250K.


But it's really weird, because the compilation reports:



Binary file start = 00004000
Records start     = 00004000
Highest address   = 00007C37
Pad Byte          = 0




That's 15415 bytes, which corresponds with the size of the .bin file that I see in the obj folder.


What is happening? I cannot understand what is making that bin file so big?


Thanks a lot in advance for any help.


Cheers,
Dave
Title: Re: [cpctelera] bin in dsk is 230 KB, but bin in obj is just 15 KB
Post by: Arnaud on 21:15, 15 August 18
Hello,
it's a common problem with the iDisk version of cpctelera 1.4.2 (solved with 1.5) just do :

make cleanall all
Title: Re: [cpctelera] bin in dsk is 230 KB, but bin in obj is just 15 KB
Post by: elanstra on 07:57, 16 August 18
Quote from: Arnaud on 21:15, 15 August 18
Hello,
it's a common problem with the iDisk version of cpctelera 1.4.2 (solved with 1.5) just do :

make cleanall all


Thank you very much Arnaud. That solved the problem. Now I get GAME  .BIN : 16 Ko, as expected.
Powered by SMFPacks Menu Editor Mod