From: ol.sc Date: Tue, 3 Jan 2012 00:32:46 +0000 (+0000) Subject: Introduced __BACKBUFSIZE__ which can be set to zero in order to disable the GEOS... X-Git-Tag: V2.13.3~95 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=58637779951f74e6e4d35bdc09ffebe989483b7b;p=cc65 Introduced __BACKBUFSIZE__ which can be set to zero in order to disable the GEOS background buffering. git-svn-id: svn://svn.cc65.org/cc65/trunk@5370 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/ld65/cfg/geos-apple.cfg b/src/ld65/cfg/geos-apple.cfg index abbfd22e5..81cc265cb 100644 --- a/src/ld65/cfg/geos-apple.cfg +++ b/src/ld65/cfg/geos-apple.cfg @@ -1,12 +1,14 @@ SYMBOLS { - __STACKSIZE__: type = weak, value = $0400; # 1k stack - __OVERLAYADDR__: type = weak, value = $0C00; + __STACKSIZE__: type = weak, value = $0400; + __BACKBUFSIZE__: type = weak, value = $2000; __OVERLAYSIZE__: type = weak, value = $2000 - $0C00; + __OVERLAYADDR__: type = weak, value = $0C00; + __VLIR0END__: type = weak, value = $C000 - __BACKBUFSIZE__ - __STACKSIZE__; } MEMORY { CVT: file = %O, start = $0, size = $20000; ZP: define = yes, start = $80, size = $1A + $06; - VLIR0: define = yes, start = $4000, size = $A000 - $4000 - __STACKSIZE__; + VLIR0: define = yes, start = $4000, size = __VLIR0END__ - $4000; VLIR1: define = yes, start = __OVERLAYADDR__, size = __OVERLAYSIZE__; VLIR2: define = yes, start = __OVERLAYADDR__, size = __OVERLAYSIZE__; VLIR3: define = yes, start = __OVERLAYADDR__, size = __OVERLAYSIZE__; diff --git a/src/ld65/cfg/geos-cbm.cfg b/src/ld65/cfg/geos-cbm.cfg index 4dcc5fca4..9995a0afe 100644 --- a/src/ld65/cfg/geos-cbm.cfg +++ b/src/ld65/cfg/geos-cbm.cfg @@ -1,12 +1,14 @@ SYMBOLS { - __STACKSIZE__: type = weak, value = $0400; # 1k stack - __OVERLAYSIZE__: type = weak, value = $0000; # no overlays by default - __OVERLAYADDR__: type = weak, value = $6000 - __OVERLAYSIZE__; + __STACKSIZE__: type = weak, value = $0400; + __BACKBUFSIZE__: type = weak, value = $2000; + __OVERLAYSIZE__: type = weak, value = $0000; + __OVERLAYADDR__: type = weak, value = $8000 - __BACKBUFSIZE__ - __OVERLAYSIZE__; + __VLIR0END__: type = weak, value = __OVERLAYADDR__ - __STACKSIZE__; } MEMORY { - CVT: file = %O, start = $0, size = $80000; + CVT: file = %O, start = $0, size = $40000; ZP: define = yes, start = $58, size = $1A + $06; - VLIR0: define = yes, start = $0400, size = __OVERLAYADDR__ - __STACKSIZE__ - $0400; + VLIR0: define = yes, start = $0400, size = __VLIR0END__ - $0400; VLIR1: define = yes, start = __OVERLAYADDR__, size = __OVERLAYSIZE__; VLIR2: define = yes, start = __OVERLAYADDR__, size = __OVERLAYSIZE__; VLIR3: define = yes, start = __OVERLAYADDR__, size = __OVERLAYSIZE__;