]> git.sur5r.net Git - cc65/blobdiff - libsrc/atari/is_cmdline_dos.s
Fixed _textcolor definition.
[cc65] / libsrc / atari / is_cmdline_dos.s
index b85cb3ca7db0e5081ac98372d957f3676b5dc456..2a9c49e3803099e57d4f3770798f1678429fc610 100644 (file)
@@ -7,9 +7,12 @@
 ;
 
         .export  __is_cmdline_dos
-        .import  _doesclrscrafterexit
+        .import  __dos_type
+        .include "atari.inc"
 
 __is_cmdline_dos:
-        jsr     _doesclrscrafterexit    ; currently (unless a DOS behaving differently is popping up)
-        eor     #$01                    ; we can get by with the inverse of _doesclrscrafterexit
+        lda     #MAX_DOS_WITH_CMDLINE
+        cmp     __dos_type
+        lda     #0
+        rol     a
         rts