]> git.sur5r.net Git - cc65/commitdiff
Moving the quit-hook towards the end of page 3 as far as possible slightly increases...
authorol.sc <ol.sc@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 2 Jan 2012 11:09:25 +0000 (11:09 +0000)
committerol.sc <ol.sc@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 2 Jan 2012 11:09:25 +0000 (11:09 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@5358 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/apple2/exec.s

index f34c4e362e29b8591e4e4c27a73dc23681232163..2660b6f86817a5a910ebb260ed4b86c06e4f5eed 100644 (file)
@@ -188,12 +188,6 @@ source: jsr        $BF00
         ; Go for it ...
         jmp    (data_buffer)
 
-        ; Quit to ProDOS dispatcher
-quit            = * - source + target
-:       jsr    $BF00
-        .byte  $65             ; QUIT
-        .word  quit_param
-
 read_param      = * - source + target
         .byte  $04             ; PARAM_COUNT
 read_ref        = * - source + target
@@ -208,6 +202,12 @@ close_param     = * - source + target
 close_ref       = * - source + target
         .byte  $00             ; REF_NUM
 
+        ; Quit to ProDOS dispatcher
+quit            = * - source + target
+:       jsr    $BF00
+        .byte  $65             ; QUIT
+        .word  quit_param
+
 quit_param      = * - source + target
         .byte  $04             ; PARAM_COUNT
         .byte  $00             ; QUIT_TYPE
@@ -215,8 +215,8 @@ quit_param      = * - source + target
         .byte  $00             ; RESERVED
         .word  $0000           ; RESERVED
 
-size    = * - source
+size            = * - source
 
-target  = DOSWARM - size
+target          = DOSWARM - size
 
 dosvec: jmp    quit