MEGA65 native mode fixes

This commit is contained in:
FeralChild64 committed 2020-08-19 22:51:33 +02:00
1 parent 628b944721
commit 8b6b470417
6 files changed
+28 -27

No files matched your search

+3 -12
View File
@@ -32,7 +32,7 @@ cmd_go_syntax_error:
// If in native mode - switch to C64 compatibilty
jsr M65_ISMODE65
bne cmd_go_rts
bcs cmd_go_rts
jsr helper_ask_if_sure
bcs cmd_go_rts
@@ -45,21 +45,12 @@ cmd_go_syntax_error:
// If in C64 compatibility mode - switch to native mode
jsr M65_ISMODE65
beq cmd_go_rts
bcc cmd_go_rts
jsr helper_ask_if_sure
bcs cmd_go_rts
jsr M65_MODE65
// XXX test code, replace by jmp do_clr
jsr do_clr
lda #$41
jsr JCHROUT
testx:
jmp testx
jmp do_clr
!:
jmp do_ILLEGAL_QUANTITY_error
+1 -1
View File
@@ -27,7 +27,7 @@ cmd_sys:
// Make sure we are in C64 compatibility mode
jsr M65_ISMODE65
bne cmd_sys_nsys_common
bcs cmd_sys_nsys_common
jsr M65_MODE64
// FALLTROUGH