1
0
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:
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? lda __dos_type ; which DOS?
cmp #ATARIDOS cmp #ATARIDOS
beq nargdos ; DOS does not support arguments
cmp #MYDOS
bne argdos ; DOS supports arguments bne argdos ; DOS supports arguments
rts nargdos:rts
; Initialize ourcl buffer ; Initialize ourcl buffer

View File

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