From: Marc 'BlackJack' Rintsch (marc_at_rintsch.de)
Date: 2003-04-21 00:14:37
On Sunday 20 April 2003 17:11, 3843416 wrote: > i want to reserve this 8000 bytes at the adress $2000. so i wrote > following linker cfg: > > MEMORY { > ZP: start = $02, size = $1A, type = rw; > RAMLO: start = $07ff, size = $1800, define = yes, file = %O; > BMP: start = $2000, size = $1f40, define = yes, file = %O; > RAM: start = $3f3e, size = $4000, define = yes, file = %O; > } > SEGMENTS { > BITMAP: load = BMP, type = bss; Just had a quick look at the docs of ld65 and I'm not quite sure what happens if you have a bss type between two memory areas whith initialized data. Usually bss segments are not written to the output file. Does the map file (option '-m name') generated by ld65 look okay? Another question is if there's enough space for the startup code, the program and the RODATA segment below $2000. Looks a bit tight. Maybe it's better to put your graphic in bank 0 ($c000 and up) and only change the end of the heap, i.e. the length of the RAM memory area. Ciao, Marc 'BlackJack' Rintsch -- I haven't lost my mind! I've got it on tape somewhere... ---------------------------------------------------------------------- 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-04-21 00:17:20 CEST