small CBDOS cleanup

This commit is contained in:
FeralChild64 committed 2021-02-25 20:00:14 +01:00
1 parent 00dd3bc5db
commit 1de5af7cb4
17 files changed
+35 -34

No files matched your search

+8 -8
View File
@@ -20,32 +20,32 @@ dos_ENTER: ; enter DOS context
dos_EXIT_SEC: ; exit DOS context with Carry set
sec
bra dos_EXIT_common
bra dos_EXIT
dos_EXIT: ; exit DOS context with Carry clear
dos_EXIT_CLC: ; exit DOS context with Carry clear
clc
; FALLTROUGH
dos_EXIT_common:
dos_EXIT:
lda REG_A
bra dos_EXIT_A_common
bra dos_EXIT_A
dos_EXIT_A_SEC: ; exit DOS context with Carry set, return .A
dos_EXIT_SEC_A: ; exit DOS context with Carry set, return .A
sec
bra dos_EXIT_A_common
bra dos_EXIT_A
dos_EXIT_A: ; exit DOS context with Carry clear, return .A
dos_EXIT_CLC_A: ; exit DOS context with Carry clear, return .A
clc
; FALLTROUGH
dos_EXIT_A_common:
dos_EXIT_A:
ldz REG_Z
ldy REG_Y