]> git.sur5r.net Git - cc65/commitdiff
recognize MyDOS
authorcpg <cpg@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 16 Mar 2004 22:48:20 +0000 (22:48 +0000)
committercpg <cpg@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 16 Mar 2004 22:48:20 +0000 (22:48 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2936 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/atari/getargs.s
libsrc/atari/getdefdev.s

index f8f24793750891d7e8f164d2b7b4dc4fc43831ac..d2d7157eadba7f2682951695bef8f3edc6819705 100644 (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
 
index 249aeda609afc0099af6df4bc3e738b6af123fc6..8878f80601a0e13bcf41b8d81fcce50108e87391 100644 (file)
@@ -25,6 +25,8 @@ _getdefdev:
        lda     __dos_type      ; which DOS?
        cmp     #ATARIDOS
        beq     finish
+       cmp     #MYDOS
+       beq     finish
 
        ldy     #BUFOFF
        lda     #0