fixed memory damage in CBDOS
This commit is contained in:
1 parent
86d91e224c
commit
992829c60a
4 files changed
+23
-15
No files matched your search
@@ -6,6 +6,9 @@
|
||||
|
||||
dos_MEMCHK:
|
||||
|
||||
pha
|
||||
phx
|
||||
|
||||
; Check for magic string
|
||||
|
||||
ldx #$04
|
||||
@@ -34,10 +37,14 @@ dos_MEMCHK:
|
||||
cmp code_RTS_03
|
||||
bne @fail
|
||||
|
||||
plx
|
||||
pla
|
||||
clc
|
||||
rts
|
||||
|
||||
@fail:
|
||||
|
||||
plx
|
||||
pla
|
||||
sec
|
||||
rts
|
||||
Reference in new issue
Block a user