1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-05 21:29:03 +00:00

Adapt to memory size of C1P.

This commit is contained in:
Stephan Mühlstrasser 2013-07-15 22:24:10 +02:00
parent b3b3578f08
commit 0303b0cc6c

View File

@ -3,20 +3,17 @@ SYMBOLS {
} }
MEMORY { MEMORY {
ZP: file = "", define = yes, start = $0002, size = $001A; ZP: file = "", define = yes, start = $0002, size = $001A;
LOADADDR: file = %O, start = $0FFF, size = $0002; RAM: file = %O, define = yes, start = $0400, size = $2000 - __STACKSIZE__;
HEADER: file = %O, start = $1001, size = $000C;
RAM: file = %O, define = yes, start = $100D, size = $0DF3 - __STACKSIZE__;
} }
SEGMENTS { SEGMENTS {
STARTUP: load = RAM, type = ro; STARTUP: load = RAM, type = ro;
LOWCODE: load = RAM, type = ro, optional = yes; LOWCODE: load = RAM, type = ro, optional = yes;
INIT: load = RAM, type = ro, define = yes, optional = yes; INIT: load = RAM, type = ro, define = yes, optional = yes;
CODE: load = RAM, type = ro; CODE: load = RAM, type = rw;
RODATA: load = RAM, type = ro; RODATA: load = RAM, type = rw;
DATA: load = RAM, type = rw; DATA: load = RAM, type = rw;
ZPSAVE: load = RAM, type = bss; BSS: load = RAM, type = bss, define = yes;
BSS: load = RAM, type = bss, define = yes; ZEROPAGE: load = ZP, type = zp;
ZEROPAGE: load = ZP, type = zp;
} }
FEATURES { FEATURES {
CONDES: type = constructor, CONDES: type = constructor,