From: Christian Groessler Date: Fri, 27 Sep 2013 19:49:45 +0000 (+0200) Subject: Leave the character generator at $E000 like atarixl.cfg does. X-Git-Tag: V2.15~223^2~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c88e0818b492017d01d1edb0c589e8a8613da58c;p=cc65 Leave the character generator at $E000 like atarixl.cfg does. --- diff --git a/cfg/atarixl-overlay.cfg b/cfg/atarixl-overlay.cfg index 5f19c6354..446b334c3 100644 --- a/cfg/atarixl-overlay.cfg +++ b/cfg/atarixl-overlay.cfg @@ -23,7 +23,7 @@ MEMORY { # "shadow RAM preparation" load chunk SRPREPHDR: file = %O, start = $0000, size = $0004; - SRPREPCHNK: file = %O, start = %S + __OVERLAYSIZE__, size = $7C20 - %S - __OVERLAYSIZE__ - $07FF; # $07FF: space for temp. chargen buffer, 1K aligned + SRPREPCHNK: file = %O, define = yes, start = %S + __OVERLAYSIZE__, size = $7C20 - %S - __OVERLAYSIZE__ - $07FF; # $07FF: space for temp. chargen buffer, 1K aligned SRPREPTRL: file = %O, start = $0000, size = $0006; # "main program" load chunk @@ -39,11 +39,14 @@ MEMORY { # defines entry point into program TRAILER: file = %O, start = $0000, size = $0006; -# address of relocated character generator - CHARGEN: file = "", define = yes, start = $D800, size = $0400; +# memory beneath the ROM preceeding the character generator + HIDDEN_RAM2: file = "", define = yes, start = $D800, size = $0800; + +# address of relocated character generator (same addess as ROM version) + CHARGEN: file = "", define = yes, start = $E000, size = $0400; # memory beneath the ROM - HIDDEN_RAM: file = "", define = yes, start = $DC00, size = $FFF0 - $DC00; + HIDDEN_RAM: file = "", define = yes, start = $E400, size = $FFF0 - $E400; # overlays OVL1: file = "%O.1", start = %S, size = __OVERLAYSIZE__; @@ -67,8 +70,8 @@ SEGMENTS { SRPREPHDR: load = SRPREPHDR, type = ro; LOWDATA: load = SRPREPCHNK, type = bss, define = yes; # shared btw. SRPREP and RAM SRPREP: load = SRPREPCHNK, type = rw, define = yes; - SHADOW_RAM: load = SRPREPCHNK, run = HIDDEN_RAM, type = rw, define = yes, optional = yes; - SHADOW_RAM2: load = SRPREPCHNK, run = HIDDEN_RAM, type = rw, define = yes, optional = yes; + SHADOW_RAM: load = SRPREPCHNK, run = HIDDEN_RAM, type = rw, define = yes, optional = yes; + SHADOW_RAM2: load = SRPREPCHNK, run = HIDDEN_RAM2, type = rw, define = yes, optional = yes; SRPREPTRL: load = SRPREPTRL, type = ro; MAINHDR: load = MAINHDR, type = ro;