From 550afe3afabf5a38195305dc8a3ade9b78782eba Mon Sep 17 00:00:00 2001 From: cpg Date: Tue, 16 Mar 2004 22:47:50 +0000 Subject: [PATCH] add MyDOS detection (from Stefan Haubenthal) git-svn-id: svn://svn.cc65.org/cc65/trunk@2935 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/atari/dosdetect.s | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libsrc/atari/dosdetect.s b/libsrc/atari/dosdetect.s index d7c455f98..380f1837b 100644 --- a/libsrc/atari/dosdetect.s +++ b/libsrc/atari/dosdetect.s @@ -14,8 +14,10 @@ detect: lda #ATARIDOS sta __dos_type ; set default lda DOS - cmp #$53 ; "S" (SpartaDOS) + cmp #'S' ; SpartaDOS beq spdos + cmp #'M' ; MyDOS + beq mydos ldy #COMTAB lda #$4C @@ -37,6 +39,10 @@ spdos: lda #SPARTADOS sta __dos_type done: rts +mydos: lda #MYDOS + sta __dos_type + rts + .bss __dos_type: .res 1 -- 2.39.5