From: cpg Date: Wed, 28 Mar 2007 19:34:48 +0000 (+0000) Subject: space optimization by Stefan Haubenthal X-Git-Tag: V2.12.0~79 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b66b04f28952a5dcbd5d02729912b92a356260bd;p=cc65 space optimization by Stefan Haubenthal git-svn-id: svn://svn.cc65.org/cc65/trunk@3777 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- 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