CBDOS now works in compatibility mode too

This commit is contained in:
FeralChild64 committed 2021-02-24 19:08:51 +01:00
1 parent cb16d5d15c
commit b21ba971f9
4 files changed
+40 -18

No files matched your search

+9 -5
View File
@@ -5,6 +5,10 @@
dos_ENTER: ; enter DOS context
php
jsr m65_speed_tape_cbdos
plp
sta REG_A
stx REG_X
sty REG_Y
@@ -26,12 +30,8 @@ dos_EXIT: ; exit DOS context with Carry clear
dos_EXIT_common:
ldz REG_Z
ldy REG_Y
ldx REG_X
lda REG_A
rts
bra dos_EXIT_A_common
dos_EXIT_A_SEC: ; exit DOS context with Carry set, return .A
@@ -51,4 +51,8 @@ dos_EXIT_A_common:
ldy REG_Y
ldx REG_X
php
jsr m65_speed_restore
plp
rts