1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-02 15:29:33 +00:00

Improved PET-II support

git-svn-id: svn://svn.cc65.org/cc65/trunk@2857 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2003-12-30 08:09:08 +00:00
parent 904780547c
commit 92d5130220
2 changed files with 20 additions and 11 deletions

View File

@ -1,16 +1,25 @@
MEMORY {
ZP: start = $02, size = $8E, type = rw, define = yes;
RAM: start = $0001, size = $DFFF, file = %O;
BASICHDR: start = $01, size = $50, type = rw, fill = yes, fillval = 0, file = %O;
ZP: start = $51, size = $A6, type = rw, define = yes, fill = yes, fillval = 0, file = %O;
STARTUP: start = $00F7, size = $109, fill = yes, fillval = 0, file = %O;
PAGE2: start = $0200, size = $100, fill = yes, fillval = 0, file = %O;
PAGE3: start = $0300, size = $100, fill = yes, fillval = 0, file = %O;
RAM: start = $0400, size = $DC00, file = %O;
CHARRAM: start = $E000, size = $1000, define = yes, file = "";
VIDRAM: start = $F000, size = $0400, define = yes, file = "";
VIDRAM: start = $F000, size = $0400, define = yes, file = "";
}
SEGMENTS {
CODE: load = RAM, type = wprot;
RODATA: load = RAM, type = wprot;
DATA: load = RAM, type = rw;
BSS: load = RAM, type = bss, define = yes;
ZEROPAGE: load = ZP, type = zp;
EXTZP: load = ZP, type = zp, define = yes;
BASICHDR: load = BASICHDR, type = rw;
STARTUP: load = STARTUP, type = rw;
PAGE2: load = PAGE2, type = rw;
PAGE3: load = PAGE3, type = rw;
LOWCODE: load = RAM, type = wprot, optional = yes;
CODE: load = RAM, type = wprot;
RODATA: load = RAM, type = wprot;
DATA: load = RAM, type = rw;
BSS: load = RAM, type = bss, define = yes;
ZEROPAGE: load = ZP, type = zp;
EXTZP: load = ZP, type = rw, define = yes;
}
FEATURES {
CONDES: segment = RODATA,

View File

@ -1,7 +1,7 @@
MEMORY {
BASICHDR: start = $01, size = $50, type = rw, fill = yes, fillval = 0, file = %O;
ZP: start = $51, size = $A6, type = rw, define = yes, fill = yes, fillval = 0, file = %O;
STARTUP: start = $00F7, size = $109, fill = yes, fillval = 0, file = %O;
ZP: start = $51, size = $AD, type = rw, define = yes, fill = yes, fillval = 0, file = %O;
STARTUP: start = $00FE, size = $102, fill = yes, fillval = 0, file = %O;
PAGE2: start = $0200, size = $100, fill = yes, fillval = 0, file = %O;
PAGE3: start = $0300, size = $100, fill = yes, fillval = 0, file = %O;
RAM: start = $0400, size = $FAAE, file = %O;