add LOWBUFS segment
This commit is contained in:
parent
8e8a37c47b
commit
85dc09fd9f
1 changed files with 10 additions and 1 deletions
|
@ -26,7 +26,15 @@ MEMORY {
|
||||||
|
|
||||||
# "main program" load chunk
|
# "main program" load chunk
|
||||||
MAINHDR: file = %O, start = $0000, size = $0004;
|
MAINHDR: file = %O, start = $0000, size = $0004;
|
||||||
RAM: file = %O, define = yes, start = %S + __SAVEAREA_SIZE__ + __ZPSAVE_SIZE__, size = $D000 - __STACKSIZE__ - %S - __SAVEAREA_SIZE__ - __ZPSAVE_SIZE__;
|
RAM: file = %O, define = yes, start = %S +
|
||||||
|
__SAVEAREA_SIZE__ +
|
||||||
|
__LOWBUFS_SIZE__ +
|
||||||
|
__ZPSAVE_SIZE__, size = $D000 -
|
||||||
|
__STACKSIZE__ -
|
||||||
|
%S -
|
||||||
|
__SAVEAREA_SIZE__ -
|
||||||
|
__LOWBUFS_SIZE__ -
|
||||||
|
__ZPSAVE_SIZE__;
|
||||||
|
|
||||||
# address of relocated character generator
|
# address of relocated character generator
|
||||||
CHARGEN: file = "", define = yes, start = $D800, size = $0400;
|
CHARGEN: file = "", define = yes, start = $D800, size = $0400;
|
||||||
|
@ -46,6 +54,7 @@ SEGMENTS {
|
||||||
|
|
||||||
SRPREPHDR: load = SRPREPHDR, type = ro;
|
SRPREPHDR: load = SRPREPHDR, type = ro;
|
||||||
SAVEAREA: load = SRPREP, type = bss, define = yes; # shared btw. SRPREP and RAM
|
SAVEAREA: load = SRPREP, type = bss, define = yes; # shared btw. SRPREP and RAM
|
||||||
|
LOWBUFS: load = SRPREP, type = bss, define = yes;
|
||||||
ZPSAVE: load = SRPREP, type = bss, define = yes;
|
ZPSAVE: load = SRPREP, type = bss, define = yes;
|
||||||
SRPREP: load = SRPREP, type = rw, define = yes;
|
SRPREP: load = SRPREP, type = rw, define = yes;
|
||||||
SHADOW_RAM: load = SRPREP, run = RAM_BELOW_ROM, type = rw, define = yes, optional = yes;
|
SHADOW_RAM: load = SRPREP, run = RAM_BELOW_ROM, type = rw, define = yes, optional = yes;
|
||||||
|
|
Loading…
Add table
Reference in a new issue