# "main program" load chunk
MAINHDR: file = %O, start = $0000, size = $0004;
RAM: file = %O, define = yes, start = %S +
- __SAVEAREA_SIZE__ +
- __LOWDATA_SIZE__, size = $D000 -
- __STACKSIZE__ -
- %S -
- __SAVEAREA_SIZE__ -
- __LOWDATA_SIZE__;
+ __LOWDATA_SIZE__, size = $D000 -
+ __STACKSIZE__ -
+ %S -
+ __LOWDATA_SIZE__;
# defines entry point into program
TRAILER: file = %O, start = $0000, size = $0006;
SYSCHKTRL: load = SYSCHKTRL, type = ro, optional = yes;
SRPREPHDR: load = SRPREPHDR, type = ro;
- SAVEAREA: load = SRPREPCHNK, type = bss, define = yes; # shared btw. SRPREP and RAM
- LOWDATA: load = SRPREPCHNK, type = bss, define = yes; # " " " " " " " "
+ LOWDATA: load = SRPREPCHNK, type = bss, define = yes; # shared btw. SRPREP and RAM
SRPREP: load = SRPREPCHNK, type = rw, define = yes;
SHADOW_RAM: load = SRPREPCHNK, run = HIDDEN_RAM, type = rw, define = yes, optional = yes;
SHADOW_RAM2: load = SRPREPCHNK, run = HIDDEN_RAM, type = rw, define = yes, optional = yes;
MAINHDR: file = %O, start = $0000, size = $0004;
RAM: file = %O, define = yes, start = %S +
__OVERLAYSIZE__ +
- __SAVEAREA_SIZE__ +
- __LOWDATA_SIZE__, size = $D000 -
- __STACKSIZE__ -
- %S -
- __OVERLAYSIZE__ -
- __SAVEAREA_SIZE__ -
- __LOWDATA_SIZE__;
+ __LOWDATA_SIZE__, size = $D000 -
+ __STACKSIZE__ -
+ %S -
+ __OVERLAYSIZE__ -
+ __LOWDATA_SIZE__;
# defines entry point into program
TRAILER: file = %O, start = $0000, size = $0006;
SYSCHKTRL: load = SYSCHKTRL, type = ro, optional = yes;
SRPREPHDR: load = SRPREPHDR, type = ro;
- SAVEAREA: load = SRPREPCHNK, type = bss, define = yes; # shared btw. SRPREP and RAM
- LOWDATA: load = SRPREPCHNK, type = bss, define = yes; # " " " " " " " "
+ LOWDATA: load = SRPREPCHNK, type = bss, define = yes; # shared btw. SRPREP and RAM
SRPREP: load = SRPREPCHNK, type = rw, define = yes;
SHADOW_RAM: load = SRPREPCHNK, run = HIDDEN_RAM, type = rw, define = yes, optional = yes;
SHADOW_RAM2: load = SRPREPCHNK, run = HIDDEN_RAM, type = rw, define = yes, optional = yes;
# "main program" load chunk
MAINHDR: file = %O, start = $0000, size = $0004;
RAM: file = %O, define = yes, start = %S +
- __SAVEAREA_SIZE__ +
- __LOWDATA_SIZE__, size = $D000 -
- __STACKSIZE__ -
- %S -
- __SAVEAREA_SIZE__ -
- __LOWDATA_SIZE__;
+ __LOWDATA_SIZE__, size = $D000 -
+ __STACKSIZE__ -
+ %S -
+ __LOWDATA_SIZE__;
# defines entry point into program
TRAILER: file = %O, start = $0000, size = $0006;
SYSCHKTRL: load = SYSCHKTRL, type = ro, optional = yes;
SRPREPHDR: load = SRPREPHDR, type = ro;
- SAVEAREA: load = SRPREPCHNK, type = bss, define = yes; # shared btw. SRPREP and RAM
- LOWDATA: load = SRPREPCHNK, type = bss, define = yes; # " " " " " " " "
+ LOWDATA: load = SRPREPCHNK, type = bss, define = yes; # shared btw. SRPREP and RAM
SRPREP: load = SRPREPCHNK, type = rw, define = yes;
SHADOW_RAM: load = SRPREPCHNK, run = HIDDEN_RAM, type = rw, define = yes, optional = yes;
SHADOW_RAM2: load = SRPREPCHNK, run = HIDDEN_RAM2, type = rw, define = yes, optional = yes;
.export RAMTOP_save
.export PORTB_save
-.segment "SAVEAREA"
+.segment "LOWDATA"
SAVMSC_save: .res 2
MEMTOP_save: .res 2