From: cpg Date: Tue, 16 Mar 2004 22:48:20 +0000 (+0000) Subject: recognize MyDOS X-Git-Tag: V2.12.0~886 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=098dfa2168d3eda4632f9e8acb4f87a705a997a0;p=cc65 recognize MyDOS git-svn-id: svn://svn.cc65.org/cc65/trunk@2936 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/atari/getargs.s b/libsrc/atari/getargs.s index f8f247937..d2d7157ea 100644 --- a/libsrc/atari/getargs.s +++ b/libsrc/atari/getargs.s @@ -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 diff --git a/libsrc/atari/getdefdev.s b/libsrc/atari/getdefdev.s index 249aeda60..8878f8060 100644 --- a/libsrc/atari/getdefdev.s +++ b/libsrc/atari/getdefdev.s @@ -25,6 +25,8 @@ _getdefdev: lda __dos_type ; which DOS? cmp #ATARIDOS beq finish + cmp #MYDOS + beq finish ldy #BUFOFF lda #0