1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-21 20:29:24 +00:00

recognize MyDOS

git-svn-id: svn://svn.cc65.org/cc65/trunk@2936 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cpg 2004-03-16 22:48:20 +00:00
parent 550afe3afa
commit 098dfa2168
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -25,6 +25,8 @@ _getdefdev:
lda __dos_type ; which DOS?
cmp #ATARIDOS
beq finish
cmp #MYDOS
beq finish
ldy #BUFOFF
lda #0