]> git.sur5r.net Git - cc65/blobdiff - testcode/lib/atari/multi-xex.cfg
Add support for INITAD to the Atari binary format.
[cc65] / testcode / lib / atari / multi-xex.cfg
index 18dfff82046223ec3caaa4e0d0e088d4c7225d35..7558aa8950044e16383051db0a213d8172490b12 100644 (file)
@@ -3,10 +3,12 @@ FEATURES {
 }
 MEMORY {
     ZP:      file = "", define = yes, start = $0082, size = $007E;
+    # First memory segment in file, show message
+    LOADER:  file = %O, start = $680, size = 128;
     # First memory segment in file, load over COLOR registers:
     COLOR:   file = %O, start = $2C4, size = 5;
     # Second memory segment, load at page 6:
-    PAGE6:   file = %O, start = $600, size = 256;
+    PAGE6:   file = %O, start = $600, size = 128;
     # Third memory segment in file, load over SDLST register:
     SDLST:   file = %O, start = $230, size = 2;
     # Main segment, load at "STARTADDRESS"
@@ -16,11 +18,13 @@ FILES {
     %O: format = atari;
 }
 FORMATS {
-    atari: runad = start;
+    atari: runad = start,
+           initad = LOADER: show_load;
 }
 SEGMENTS {
     ZEROPAGE: load = ZP,      type = zp,  optional = yes;
     # Place segments in memory areas:
+    LOADER:   load = LOADER,  type = rw;
     COLOR:    load = COLOR,   type = rw;
     PAGE6:    load = PAGE6,   type = rw;
     SDLST:    load = SDLST,   type = rw;