From 098dfa2168d3eda4632f9e8acb4f87a705a997a0 Mon Sep 17 00:00:00 2001 From: cpg Date: Tue, 16 Mar 2004 22:48:20 +0000 Subject: [PATCH] recognize MyDOS git-svn-id: svn://svn.cc65.org/cc65/trunk@2936 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/atari/getargs.s | 4 +++- libsrc/atari/getdefdev.s | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- 2.39.5