]> git.sur5r.net Git - cc65/blobdiff - libsrc/apple2/exehdr.s
Don't save and restore the zero page locations used.
[cc65] / libsrc / apple2 / exehdr.s
index 5ebd6f7f1c8b3b0ba8e63f9f820da85e61f36a50..eb05e66bee1e5080b2af7dd8a11e57efd29552de 100644 (file)
@@ -5,16 +5,12 @@
 ; containing the load address and load length.
 ;
 
-        .export         __EXEHDR__ : absolute = 1      ; Linker referenced
-        .import                __RAM_START__, __ZPSAVE_RUN__   ; Linker generated
-        .import         __MOVE_START__, __MOVE_LAST__  ; Linker generated
-
-        .linecont      +
+        .export         __EXEHDR__ : absolute = 1       ; Linker referenced
+        .import         __LOADADDR__, __LOADSIZE__      ; Linker generated
 
 ; ------------------------------------------------------------------------
 
         .segment        "EXEHDR"
 
-        .addr           __RAM_START__                  ; Start address
-        .word           __ZPSAVE_RUN__ - __RAM_START__ + \
-                       __MOVE_LAST__  - __MOVE_START__ ; Size
+        .addr           __LOADADDR__    ; Load address
+        .word           __LOADSIZE__    ; Load length