From b7b7de55d03f57801b7a0b3a9cf51d30f70c753b Mon Sep 17 00:00:00 2001 From: "ol.sc" Date: Sat, 16 Jun 2012 21:06:13 +0000 Subject: [PATCH] Replaced "throwing away" of memeory area HEADER with the much more elegant "not referring" of symbol __EXEHDR__. This was recently made possible for the asm program config. git-svn-id: svn://svn.cc65.org/cc65/trunk@5724 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/ld65/cfg/apple2-system.cfg | 3 --- src/ld65/cfg/apple2enh-system.cfg | 3 --- 2 files changed, 6 deletions(-) diff --git a/src/ld65/cfg/apple2-system.cfg b/src/ld65/cfg/apple2-system.cfg index 7f153897f..9f4194800 100644 --- a/src/ld65/cfg/apple2-system.cfg +++ b/src/ld65/cfg/apple2-system.cfg @@ -1,7 +1,6 @@ # Configuration for ProDOS 8 system programs (without the header) SYMBOLS { - __EXEHDR__: type = import; __LCADDR__: type = weak, value = $D400; # Behind quit code __LCSIZE__: type = weak, value = $0C00; # Rest of bank two __STACKSIZE__: type = weak, value = $0800; # 2k stack @@ -11,14 +10,12 @@ SYMBOLS { } MEMORY { ZP: file = "", define = yes, start = $0080, size = $001A; - HEADER: file = "", start = $0000, size = $0004; RAM: file = %O, define = yes, start = $2000, size = $9F00 - __STACKSIZE__; MOVE: file = %O, define = yes, start = $0000, size = $FFFF; LC: define = yes, start = __LCADDR__, size = __LCSIZE__; } SEGMENTS { ZEROPAGE: load = ZP, type = zp; - EXEHDR: load = HEADER, type = ro; STARTUP: load = RAM, type = ro; LOWCODE: load = RAM, type = ro; CODE: load = RAM, type = ro; diff --git a/src/ld65/cfg/apple2enh-system.cfg b/src/ld65/cfg/apple2enh-system.cfg index 7f153897f..9f4194800 100644 --- a/src/ld65/cfg/apple2enh-system.cfg +++ b/src/ld65/cfg/apple2enh-system.cfg @@ -1,7 +1,6 @@ # Configuration for ProDOS 8 system programs (without the header) SYMBOLS { - __EXEHDR__: type = import; __LCADDR__: type = weak, value = $D400; # Behind quit code __LCSIZE__: type = weak, value = $0C00; # Rest of bank two __STACKSIZE__: type = weak, value = $0800; # 2k stack @@ -11,14 +10,12 @@ SYMBOLS { } MEMORY { ZP: file = "", define = yes, start = $0080, size = $001A; - HEADER: file = "", start = $0000, size = $0004; RAM: file = %O, define = yes, start = $2000, size = $9F00 - __STACKSIZE__; MOVE: file = %O, define = yes, start = $0000, size = $FFFF; LC: define = yes, start = __LCADDR__, size = __LCSIZE__; } SEGMENTS { ZEROPAGE: load = ZP, type = zp; - EXEHDR: load = HEADER, type = ro; STARTUP: load = RAM, type = ro; LOWCODE: load = RAM, type = ro; CODE: load = RAM, type = ro; -- 2.39.5