2016-05-25 01:06:53 +02:00
|
|
|
;
|
|
|
|
; Christian Groessler, May-2016
|
|
|
|
;
|
|
|
|
; unsigned char _is_cmdline_dos(void);
|
|
|
|
;
|
|
|
|
; returns 0 for non-commandline DOS, 1 for commandline DOS
|
|
|
|
;
|
|
|
|
|
|
|
|
.export __is_cmdline_dos
|
2016-06-07 00:42:51 +02:00
|
|
|
.import _doesclrscrafterexit
|
2016-05-25 01:06:53 +02:00
|
|
|
|
|
|
|
__is_cmdline_dos:
|
2016-06-07 00:42:51 +02:00
|
|
|
jsr _doesclrscrafterexit ; currently (unless a DOS behaving differently is popping up)
|
|
|
|
eor #$01 ; we can get by with the inverse of _doesclrscrafterexit
|
2016-05-25 01:06:53 +02:00
|
|
|
rts
|