;
.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