From: Shawn Jefferson (shawnjefferson_at_24fightingchickens.com)
Date: 2003-10-08 01:01:16
On Wed, 8 Oct 2003 00:02:30 +0200 (CEST), you wrote: >There is a small error here, the exe header is (FF FF <start address> <end >address>). Ok, I was going from memory, obviously a bad one. :) >I think this isn't really Atari specific, it should apply to most (all?) >other targets. True! I just wanted to mention it since its one of those things that could hammer you if you are moving segments around in your linker config file. >> That's all I have right now. I'm wondering if I should talk about how >> to create a binary file with multiple load segments with cc65 in the >> binary format section? > >Hmm, maybe. Iirc, you need a "hole" inside your program, so multiple load >segments would be the way to do it. I haven't thought about supporting >this yet, do you have any suggestion on how to handle it? I did this in one of my applications that makes use of the extended memory bank window. I shuffled the segments around in the linker config file, and then added a small assembler file to insert another $FFFF header into the file. It works great and leaves the $4000-7FFF window alone, however I had to be careful about how much memory I was using and where. I thought that might be too much for a platform specific documentation file, and perhaps would just be better answered by members of the list (like y'all did for me) when the question comes up. -- Shawn Jefferson ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo_at_musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2003-10-08 01:09:46 CEST