mirror of
https://github.com/cc65/cc65.git
synced 2024-12-22 12:30:41 +00:00
recognize MyDOS
git-svn-id: svn://svn.cc65.org/cc65/trunk@2936 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
550afe3afa
commit
098dfa2168
@ -23,8 +23,10 @@ initmainargs:
|
||||
|
||||
lda __dos_type ; which DOS?
|
||||
cmp #ATARIDOS
|
||||
beq nargdos ; DOS does not support arguments
|
||||
cmp #MYDOS
|
||||
bne argdos ; DOS supports arguments
|
||||
rts
|
||||
nargdos:rts
|
||||
|
||||
; Initialize ourcl buffer
|
||||
|
||||
|
@ -25,6 +25,8 @@ _getdefdev:
|
||||
lda __dos_type ; which DOS?
|
||||
cmp #ATARIDOS
|
||||
beq finish
|
||||
cmp #MYDOS
|
||||
beq finish
|
||||
|
||||
ldy #BUFOFF
|
||||
lda #0
|
||||
|
Loading…
Reference in New Issue
Block a user