Author Topic: [cpctelera] bin in dsk is 230 KB, but bin in obj is just 15 KB (SOLVED)  (Read 176 times)

0 Members and 1 Guest are viewing this topic.

Offline elanstra

  • CPC464
  • **
  • Posts: 15
  • Country: de
  • Liked: 2
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
« Last Edit: 09:58, 16 August 18 by elanstra »

Offline Arnaud

  • Supporter
  • 464 Plus
  • *
  • Posts: 410
  • Country: fr
  • Liked: 278
Hello,
it's a common problem with the iDisk version of cpctelera 1.4.2 (solved with 1.5) just do :

Code: [Select]
make cleanall all

Offline elanstra

  • CPC464
  • **
  • Posts: 15
  • Country: de
  • Liked: 2
Hello,
it's a common problem with the iDisk version of cpctelera 1.4.2 (solved with 1.5) just do :

Code: [Select]
make cleanall all


Thank you very much Arnaud. That solved the problem. Now I get GAME  .BIN : 16 Ko, as expected.