space optimization by Stefan Haubenthal

git-svn-id: svn://svn.cc65.org/cc65/trunk@3777 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cpg 2007-03-28 19:34:48 +00:00
parent 80a4c8c02b
commit b66b04f289

View File

@ -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 <abs>
spdos: lda #SPARTADOS
sta __dos_type
done: rts
.byte $2C ; BIT <abs>
mydos: lda #MYDOS
sta __dos_type
rts
done: rts
; ------------------------------------------------------------------------
; Data