__RESERVED_MEMORY__: type = export, value = $01E0; # space for 20x24 screen buffer (default display list is in ROM)
}
MEMORY {
- ZP: file = "", start = $001D, size = $00E3, define = yes;
- RAM: file = "", start = $021C, size = $4000 - __STACKSIZE__ - __RESERVED_MEMORY__ - $021C, define = yes;
- ROM: file = %O, start = $C000 - __CARTSIZE__, size = __CARTSIZE__ - $18, define = yes, fill = yes, fillval = $FF;
- CARTNAME: file = %O, start = $BFE8, size = $0014 fill = yes, fillval = $40;
- CARTYEAR: file = %O, start = $BFFC, size = $0002 fill = yes, fillval = $59;
- CARTENTRY: file = %O, start = $BFFE, size = $0002;
+ ZP: file = "", start = $001D, size = $00E3, define = yes;
+ RAM: file = "", start = $021C, size = $4000 - __STACKSIZE__ - __RESERVED_MEMORY__ - $021C, define = yes;
+ ROM: file = %O, start = $C000 - __CARTSIZE__, size = __CARTSIZE__ - $18, define = yes, fill = yes, fillval = $FF;
+ CARTNAME: file = %O, start = $BFE8, size = $0014 fill = yes, fillval = $40;
+ CARTYEAR: file = %O, start = $BFFC, size = $0002 fill = yes, fillval = $59;
+ CARTENTRY: file = %O, start = $BFFE, size = $0002;
}
SEGMENTS {
ZEROPAGE: load = ZP, type = zp, optional = yes;