Atari: add new function '_is_cmdline_dos()' and some other small changes.
- use this function instead of directly looking at _dos_type in the included targetutil and test programs - fixes/improvements to the Atari runtime library regarding the recently changed _dos_type values - libsrc/atari/targetutil/w2cas.c: exit if no filename was entered - add documentation for the new function
This commit is contained in:
@@ -26,11 +26,12 @@
|
||||
|
||||
pha
|
||||
lda __dos_type
|
||||
beq not_impl ; AtariDOS
|
||||
cmp #OSADOS+1
|
||||
bcc do_sparta ; OS/A and SpartaDOS
|
||||
cmp #MYDOS
|
||||
bne not_impl ; neither MyDOS, OS/A, nor SpartaDOS
|
||||
pla
|
||||
jmp __sysremove ; MyDOS and others (TODO: check XDOS)
|
||||
jmp __sysremove ; MyDOS
|
||||
|
||||
not_impl:
|
||||
pla
|
||||
|
||||
Reference in New Issue
Block a user