From: groepaz (groepaz_at_gmx.net)
Date: 2002-09-20 01:16:04
Hello Shawn,
SJ> MEMORY {
SJ> ZP: start = $82, size = $7E, type = rw;
SJ> HEADER: start = $0000, size = $6, file = %O;
SJ> RAM1: start = $2000, size = $2000, file = %O;
SJ> BANK: start = $4000, size = $3FFF, type = empty;
SJ> RAM2: start = $8000, size = $3C1F, file = %0;
SJ> }
SJ> SEGMENTS {
SJ> EXEHDR: load = HEADER, type = wprot;
SJ> CODE: load = RAM1, type = wprot, define = yes;
SJ> RODATA: load = RAM2, type = wprot;
SJ> DATA: load = RAM2, type = rw;
SJ> BSS: load = RAM2, type = bss, define = yes;
SJ> ZEROPAGE: load = ZP, type = zp;
SJ> AUTOSTRT: load = RAM1, type = wprot;
SJ> }
looks ok to me basically
SJ> This might be a stupid question but since I know little about how compilers work I'll ask anyway: Is there a way to allow the code to go into both RAM1 and RAM2 if it overflows one area? I
SJ> didn't see anything in the ld65.html doc that shows that type of setup.
dont think so... i'd like that feature aswell :=P
--
Best regards,
groepaz mailto:groepaz_at_gmx.net
----------------------------------------------------------------------
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 : 2002-09-20 01:17:43 CEST