Get rid of SAVEAREA segment: fold it into LOWDATA.

This commit is contained in:
Christian Groessler
2013-09-18 00:48:01 +02:00
parent d0c41ecee9
commit b713706304
4 changed files with 17 additions and 26 deletions

View File

@@ -28,12 +28,10 @@ MEMORY {
# "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;
@@ -53,8 +51,7 @@ SEGMENTS {
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;