1
0
mirror of https://github.com/cc65/cc65.git synced 2026-04-26 13:18:31 +00:00

Atari: Add detection of RealDOS (http://www.realdos.net/realdos.html).

This commit is contained in:
Christian Groessler
2018-09-06 01:10:47 +02:00
committed by Oliver Schmidt
parent af50b5e516
commit e9b8f5d814
3 changed files with 13 additions and 18 deletions
+5
View File
@@ -20,6 +20,8 @@ detect: lda DOS
beq mydos
cmp #'X' ; XDOS
beq xdos
cmp #'R' ; RealDOS
beq rdos
lda #$4C ; probably default
ldy #COMTAB
@@ -41,6 +43,9 @@ spdos: lda #SPARTADOS
mydos: lda #MYDOS
.byte $2C ; BIT <abs>
rdos: lda #REALDOS
.byte $2C ; BIT <abs>
xdos: lda #XDOS
sta __dos_type
done: rts