OK, I'm at the point where the 128 version of my program is simply running out of RAM and is incapable of storing large directories any longer. The executable code is around 17.3K and I don't know how to tell the running size, but I can tell you that another 2000 bytes are consumed by the VIC screen buffers. I'm looking for suggestions on how to free up some RAM or how to use banking intelligently with cc65. I see from the C128 PRG that it's possible to setup 16K of RAM that is "shared" between both 64K banks of RAM; in other words a write to the "shared" memory results in the same data being available when using either bank 0 or bank 1 of RAM within the "shared" memory areas. I'm wondering if the linker can be configured to write specific segments of C code into the shared memory which would allow me to have two 48K blocks to work with for data instead of a single 48K block (which has to include VIC, IO blocks and the kernel). Another question I have is whether or not the default C128 memory setup used by ld65 disables the BASIC ROM and frees that memory up for RAM. the BASIC ROM for the 128 is HUGE compared to the 64 and I don't need it! Likewise, does the default C64 memory setup used by ld65 disable the BASIC ROM? Finally, and this has nothing to do with banking, is it possible to have a specific array be allocated to a specific memory location? I would like to be able to memcopy the VIC's screen from one page in the 16K allocated to the VIC to another page in the 16K allocated to the VIC. This would free up 1000 bytes of main memory for me. If I could also do this with the color map then that would free up another 1000 bytes of main memory for me. Thanks again to everyone for the their help the last couple of weeks. This project would not be anywhere near the state it's in without your help. -- Payton Byrd <http://www.paytonbyrd.com> <http://it.toolbox.com/blogs/paytonbyrd> ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Wed May 5 02:31:19 2010
This archive was generated by hypermail 2.1.8 : 2010-05-05 02:31:22 CEST