]> git.sur5r.net Git - cc65/blobdiff - libsrc/apple2/dosdetect.s
don't use constructor to setup runtime stack
[cc65] / libsrc / apple2 / dosdetect.s
index 4fb6fcad642d4d9883fd9b96f4f0fc54544bbf51..272d5056ed179940767afb28a2bcc62af496cb16 100644 (file)
@@ -20,7 +20,7 @@
 ; ProDOS 8 2.0.3 - $23
 ;
 
-        .constructor    initdostype, 25
+        .constructor    initdostype, 19
         .export         __dos_type
 
         .include        "mli.inc"
@@ -33,7 +33,7 @@
         .segment        "INIT"
 
 initdostype:
-        lda     ENTRY
+        lda     $BF00
         cmp     #$4C           ; Is MLI present? (JMP opcode)
         bne     done
         lda     KVERSION       ; ProDOS 8 kernel version