From 2a921c44984f721a4f22c90186f733937369bec6 Mon Sep 17 00:00:00 2001 From: cuz Date: Tue, 23 Apr 2002 20:11:36 +0000 Subject: [PATCH] Export start and size of the ZP memory area git-svn-id: svn://svn.cc65.org/cc65/trunk@1258 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/ld65/cfg/apple2.cfg | 2 +- src/ld65/cfg/atari.cfg | 2 +- src/ld65/cfg/bbc.cfg | 2 +- src/ld65/cfg/c128.cfg | 2 +- src/ld65/cfg/c64.cfg | 2 +- src/ld65/cfg/cbm510.cfg | 2 +- src/ld65/cfg/cbm610.cfg | 2 +- src/ld65/cfg/nes.cfg | 2 +- src/ld65/cfg/none.cfg | 2 ++ src/ld65/cfg/pet.cfg | 2 +- src/ld65/cfg/plus4.cfg | 2 +- 11 files changed, 12 insertions(+), 10 deletions(-) diff --git a/src/ld65/cfg/apple2.cfg b/src/ld65/cfg/apple2.cfg index ce841561a..c0bf96435 100644 --- a/src/ld65/cfg/apple2.cfg +++ b/src/ld65/cfg/apple2.cfg @@ -1,5 +1,5 @@ MEMORY { - ZP: start = $00, size = $1A, type = rw; + ZP: start = $00, size = $1A, type = rw, define = yes; RAM: start = $800, size = $8E00, file = %O; } SEGMENTS { diff --git a/src/ld65/cfg/atari.cfg b/src/ld65/cfg/atari.cfg index ccdbf77be..fbe5e10c0 100644 --- a/src/ld65/cfg/atari.cfg +++ b/src/ld65/cfg/atari.cfg @@ -1,5 +1,5 @@ MEMORY { - ZP: start = $82, size = $7E, type = rw; + ZP: start = $82, size = $7E, type = rw, define = yes; HEADER: start = $0000, size = $6, file = %O; RAM: start = $2E00, size = $8E1F, file = %O; # $8E1F: matches upper bound $BC1F } diff --git a/src/ld65/cfg/bbc.cfg b/src/ld65/cfg/bbc.cfg index 5d2a12aac..b8347d019 100644 --- a/src/ld65/cfg/bbc.cfg +++ b/src/ld65/cfg/bbc.cfg @@ -1,5 +1,5 @@ MEMORY { - ZP: start = $70, size = $20, type = rw; + ZP: start = $70, size = $20, type = rw, define = yes; RAM: start = $E00, size = $7200, file = %O; } SEGMENTS { diff --git a/src/ld65/cfg/c128.cfg b/src/ld65/cfg/c128.cfg index f7b070f6b..35c1c84a4 100644 --- a/src/ld65/cfg/c128.cfg +++ b/src/ld65/cfg/c128.cfg @@ -1,5 +1,5 @@ MEMORY { - ZP: start = $02, size = $1A, type = rw; + ZP: start = $02, size = $1A, type = rw, define = yes; RAM: start = $1bff, size = $a401, define = yes, file = %O; } SEGMENTS { diff --git a/src/ld65/cfg/c64.cfg b/src/ld65/cfg/c64.cfg index 6ca1ca9f5..76babb39e 100644 --- a/src/ld65/cfg/c64.cfg +++ b/src/ld65/cfg/c64.cfg @@ -1,5 +1,5 @@ MEMORY { - ZP: start = $02, size = $1A, type = rw; + ZP: start = $02, size = $1A, type = rw, define = yes; RAM: start = $7FF, size = $c801, define = yes, file = %O; } SEGMENTS { diff --git a/src/ld65/cfg/cbm510.cfg b/src/ld65/cfg/cbm510.cfg index 4fe447269..777cbb66b 100644 --- a/src/ld65/cfg/cbm510.cfg +++ b/src/ld65/cfg/cbm510.cfg @@ -1,5 +1,5 @@ MEMORY { - ZP: start = $02, size = $1A, type = rw; + ZP: start = $02, size = $1A, type = rw, define = yes; RAM: start = $0001, size = $DFFF, file = %O; CHARRAM: start = $E000, size = $1000, define = yes, file = ""; VIDRAM: start = $F000, size = $0400, define = yes, file = ""; diff --git a/src/ld65/cfg/cbm610.cfg b/src/ld65/cfg/cbm610.cfg index 586412d53..2c58eb14d 100644 --- a/src/ld65/cfg/cbm610.cfg +++ b/src/ld65/cfg/cbm610.cfg @@ -1,5 +1,5 @@ MEMORY { - ZP: start = $02, size = $1A, type = rw; + ZP: start = $02, size = $1A, type = rw, define = yes; RAM: start = $0001, size = $FFF0, file = %O; } SEGMENTS { diff --git a/src/ld65/cfg/nes.cfg b/src/ld65/cfg/nes.cfg index d43663bf7..2b17cec27 100644 --- a/src/ld65/cfg/nes.cfg +++ b/src/ld65/cfg/nes.cfg @@ -1,5 +1,5 @@ MEMORY { - ZP: start = $02, size = $1A, type = rw; + ZP: start = $02, size = $1A, type = rw, define = yes; RAM: start = $03FF, size = $7BFF, file = %O; } SEGMENTS { diff --git a/src/ld65/cfg/none.cfg b/src/ld65/cfg/none.cfg index a4a46bb1c..e2bd6b355 100644 --- a/src/ld65/cfg/none.cfg +++ b/src/ld65/cfg/none.cfg @@ -1,4 +1,5 @@ MEMORY { + ZP: start = $00, size = $1F, type = rw, define = yes; RAM: start = %S, size = $10000, file = %O; } SEGMENTS { @@ -6,6 +7,7 @@ SEGMENTS { RODATA: load = RAM, type = rw; DATA: load = RAM, type = rw; BSS: load = RAM, type = bss, define = yes; + ZEROPAGE: load = ZP, type = zp; } FEATURES { CONDES: segment = RODATA, diff --git a/src/ld65/cfg/pet.cfg b/src/ld65/cfg/pet.cfg index 0cd2968ba..005b4a8d5 100644 --- a/src/ld65/cfg/pet.cfg +++ b/src/ld65/cfg/pet.cfg @@ -1,5 +1,5 @@ MEMORY { - ZP: start = $02, size = $1A, type = rw; + ZP: start = $02, size = $1A, type = rw, define = yes; RAM: start = $03FF, size = $7BFF, file = %O; } SEGMENTS { diff --git a/src/ld65/cfg/plus4.cfg b/src/ld65/cfg/plus4.cfg index 75be2bdc6..63a5b6c51 100644 --- a/src/ld65/cfg/plus4.cfg +++ b/src/ld65/cfg/plus4.cfg @@ -1,5 +1,5 @@ MEMORY { - ZP: start = $02, size = $1A, type = rw; + ZP: start = $02, size = $1A, type = rw, define = yes; RAM: start = $0fff, size = $7001, file = %O; } SEGMENTS { -- 2.39.5