]> git.sur5r.net Git - cc65/blobdiff - cfg/apple2enh-asm.cfg
Fixed _textcolor definition.
[cc65] / cfg / apple2enh-asm.cfg
index 151ba84c45b86f503bebc34f723d9939f695971f..76bca1b865420170916ca11a350bda571c7a0e50 100644 (file)
@@ -3,16 +3,19 @@
 FEATURES {
     STARTADDRESS: default = $0803;
 }
+SYMBOLS {
+    __FILETYPE__: type = weak, value = $0006; # ProDOS file type
+}
 MEMORY {
     ZP:     file = "",               start = $0000,         size = $00FF;
-    HEADER: file = %O,               start = %S - 4,        size = $0004;
+    HEADER: file = %O,               start = %S - $003A,    size = $003A;
     MAIN:   file = %O, define = yes, start = %S,            size = $C000 - %S;
     BSS:    file = "",               start = __MAIN_LAST__, size = $C000 - __MAIN_LAST__;
 }
 SEGMENTS {
     ZEROPAGE: load = ZP,     type = zp,  optional = yes;
     EXEHDR:   load = HEADER, type = ro,  optional = yes;
-    CODE:     load = MAIN,   type = rw,  optional = yes;
+    CODE:     load = MAIN,   type = rw;
     RODATA:   load = MAIN,   type = ro,  optional = yes;
     DATA:     load = MAIN,   type = rw,  optional = yes;
     BSS:      load = BSS,    type = bss, optional = yes, define = yes;