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

Atari: RealDOS adaptations

RealDOS is a SpartaDOS clone. Handle it the same way as SpartaDOS.
This commit is contained in:
Christian Groessler
2018-09-06 15:55:07 +02:00
parent e9b8f5d814
commit b6ccd4d5d4
2 changed files with 7 additions and 3 deletions
+3 -1
View File
@@ -3,7 +3,7 @@
; Based on on code by Christian Groessler
;
; unsigned char __fastcall__ _syschdir (const char* name);
; for SpartaDOS and MyDOS
; for SpartaDOS, RealDOS, and MyDOS
;
.include "atari.inc"
@@ -65,6 +65,8 @@ ucok1:
lda __dos_type
cmp #SPARTADOS
beq :+
cmp #REALDOS
beq :+
lda #CHDIR_MYDOS
.byte $2C ; BIT <abs>
: lda #CHDIR_SPDOS