1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-04 13:29:35 +00:00

load CASHDR segment into RAM

This commit is contained in:
Christian Groessler 2014-02-20 00:45:48 +01:00
parent b496a400ec
commit 478da8e51f

View File

@ -14,7 +14,7 @@ MEMORY {
# HEADER: file = "", start = $0000, size = $0002;
# CASHDR: file = %O, start = $3FD, size = 128, fill = yes;
CASHDR: file = %O, start = $0, size = 6;
# CASHDR: file = %O, start = $0, size = 6;
# "main program" load chunk
# MAINHDR: file = "", start = $0000, size = $0004;
RAM: file = %O, define = yes, start = %S, size = $BC20 - __STACKSIZE__ - __RESERVED_MEMORY__ - %S;
@ -23,7 +23,8 @@ MEMORY {
SEGMENTS {
# EXEHDR: load = HEADER, type = ro;
# MAINHDR: load = MAINHDR, type = ro;
CASHDR: load = CASHDR, type = ro;
# CASHDR: load = CASHDR, type = ro;
CASHDR: load = RAM, type = ro;
CASINIT: load = RAM, type = ro;
STARTUP: load = RAM, type = ro, define = yes;
LOWCODE: load = RAM, type = ro, define = yes, optional = yes;