]> git.sur5r.net Git - cc65/commitdiff
add LOWBUFS segment
authorChristian Groessler <chris@groessler.org>
Wed, 12 Jun 2013 11:26:26 +0000 (13:26 +0200)
committerChristian Groessler <chris@groessler.org>
Wed, 12 Jun 2013 11:26:26 +0000 (13:26 +0200)
cfg/atarixl.cfg

index ce7d98280e01df0157d8391560fe6b74c71d4d52..34b6593a72b369210658c465027ceba82a7325b9 100644 (file)
@@ -26,7 +26,15 @@ MEMORY {
 
 # "main program" load chunk
     MAINHDR:       file = %O,               start = $0000,                  size = $0004;
-    RAM:           file = %O, define = yes, start = %S + __SAVEAREA_SIZE__ + __ZPSAVE_SIZE__, size = $D000 - __STACKSIZE__ - %S - __SAVEAREA_SIZE__ - __ZPSAVE_SIZE__;
+    RAM:           file = %O, define = yes, start = %S +
+                                                   __SAVEAREA_SIZE__ +
+                                                   __LOWBUFS_SIZE__ +
+                                                   __ZPSAVE_SIZE__, size = $D000 -
+                                                                            __STACKSIZE__ -
+                                                                            %S -
+                                                                            __SAVEAREA_SIZE__ -
+                                                                            __LOWBUFS_SIZE__ -
+                                                                            __ZPSAVE_SIZE__;
 
 # address of relocated character generator
     CHARGEN:       file = "", define = yes, start = $D800, size = $0400;
@@ -46,6 +54,7 @@ SEGMENTS {
 
     SRPREPHDR:  load = SRPREPHDR,                   type = ro;
     SAVEAREA:   load = SRPREP,                      type = bss, define = yes;  # shared btw. SRPREP and RAM
+    LOWBUFS:    load = SRPREP,                      type = bss, define = yes;
     ZPSAVE:     load = SRPREP,                      type = bss, define = yes;
     SRPREP:     load = SRPREP,                      type = rw,  define = yes;
     SHADOW_RAM: load = SRPREP, run = RAM_BELOW_ROM, type = rw,  define = yes, optional = yes;