]> git.sur5r.net Git - cc65/blobdiff - src/ld65/cfg/apple2-loader.cfg
Moved actual computation of DOS 3.3 header to linker configurations:
[cc65] / src / ld65 / cfg / apple2-loader.cfg
index 68556a277bfd484b6f17a39ea42828c2975b7222..8cf2b43f5527234299e7819346934f32e36a5c13 100644 (file)
@@ -6,6 +6,9 @@ FEATURES {
 SYMBOLS {
     __EXEHDR__:    type = import;
     __STACKSIZE__: type = weak, value = $0800; # 2k stack
+    __LOADADDR__:  type = weak, value = __RAM_START__;
+    __LOADSIZE__:  type = weak, value = __ZPSAVE_RUN__ - __RAM_START__ +
+                                        __MOVE_LAST__  - __MOVE_START__;
 }
 MEMORY {
     ZP:     file = "", define = yes, start = $0080, size = $001A;