]> git.sur5r.net Git - cc65/blobdiff - libsrc/atari/dosdetect.s
The spans do now contain the size of a span, no longer the end offset.
[cc65] / libsrc / atari / dosdetect.s
index 4972953fa870f0f8424c96045fd32abf294371a5..371741616e9d1c00df6d31be85f2e7a73ca2ffb8 100644 (file)
@@ -1,5 +1,5 @@
 ;
-; Freddy Offenga & Christian Groessler, June 2004
+; Freddy Offenga, Stefan Haubenthal, Christian Groessler, March 2007
 ;
 ; detect the DOS version we're running on
 ;
@@ -35,16 +35,14 @@ detect:     lda     #ATARIDOS
        cmp     (DOSVEC),y
        beq     done
        lda     #OSADOS
-       sta     __dos_type
-       rts
+       .byte   $2C             ; BIT <abs>
 
 spdos: lda     #SPARTADOS
-       sta     __dos_type
-done:  rts
+       .byte   $2C             ; BIT <abs>
 
 mydos: lda     #MYDOS
        sta     __dos_type
-       rts
+done:  rts
 
 ; ------------------------------------------------------------------------
 ; Data