]> git.sur5r.net Git - cc65/blobdiff - libsrc/apple2/dosdetect.s
don't use constructor to setup runtime stack
[cc65] / libsrc / apple2 / dosdetect.s
index ff4ce291cfe0a1e39709c0500944416bc4adb26e..272d5056ed179940767afb28a2bcc62af496cb16 100644 (file)
 ; ProDOS 8 2.0.3 - $23
 ;
 
-        .constructor    initdostype, 25
+        .constructor    initdostype, 19
         .export         __dos_type
 
         .include        "mli.inc"
 
 ; Identify DOS version according to:
-; - "Beneath Apple ProDOS", chapter 6-63
-; - "Apple II ProDOS 8 TechNote #023: ProDOS 8 Changes and Minutia"
+; - Beneath Apple ProDOS, chapter 6-63
+; - Apple II ProDOS 8 TechNote #23, ProDOS 8 Changes and Minutia
 ; - ProDOS TechRefMan, chapter 5.2.4
 
         .segment        "INIT"
 
 initdostype:
-        lda     ENTRY
+        lda     $BF00
         cmp     #$4C           ; Is MLI present? (JMP opcode)
         bne     done
         lda     KVERSION       ; ProDOS 8 kernel version