From b66b04f28952a5dcbd5d02729912b92a356260bd Mon Sep 17 00:00:00 2001 From: cpg Date: Wed, 28 Mar 2007 19:34:48 +0000 Subject: [PATCH] space optimization by Stefan Haubenthal git-svn-id: svn://svn.cc65.org/cc65/trunk@3777 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/atari/dosdetect.s | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/libsrc/atari/dosdetect.s b/libsrc/atari/dosdetect.s index 4972953fa..371741616 100644 --- a/libsrc/atari/dosdetect.s +++ b/libsrc/atari/dosdetect.s @@ -1,5 +1,5 @@ ; -; Freddy Offenga & Christian Groessler, June 2004 +; Freddy Offenga, Stefan Haubenthal, Christian Groessler, March 2007 ; ; detect the DOS version we're running on ; @@ -35,16 +35,14 @@ detect: lda #ATARIDOS cmp (DOSVEC),y beq done lda #OSADOS - sta __dos_type - rts + .byte $2C ; BIT spdos: lda #SPARTADOS - sta __dos_type -done: rts + .byte $2C ; BIT mydos: lda #MYDOS sta __dos_type - rts +done: rts ; ------------------------------------------------------------------------ ; Data -- 2.39.5