various cleanups
This commit is contained in:
1 parent
7582913021
commit
1d4c953cee
26 files changed
+125
-123
No files matched your search
@@ -55,9 +55,8 @@
|
||||
.label SELDEV = KERNAL().SELDEV
|
||||
|
||||
#if ROM_LAYOUT_M65
|
||||
.label M65_MODE64 = KERNAL().M65_MODE64
|
||||
.label M65_MODE65 = KERNAL().M65_MODE65
|
||||
.label M65_ISMODE65 = KERNAL().M65_ISMODE65
|
||||
.label M65_MODEGET = KERNAL().M65_MODEGET
|
||||
.label M65_MODESET = KERNAL().M65_MODESET
|
||||
.label M65_SLOW = KERNAL().M65_SLOW
|
||||
.label M65_FAST = KERNAL().M65_FAST
|
||||
.label M65_SETWIN_Y = KERNAL().M65_SETWIN_Y
|
||||
|
||||
@@ -31,12 +31,13 @@ cmd_go_syntax_error:
|
||||
|
||||
// If in native mode - switch to C64 compatibilty
|
||||
|
||||
jsr M65_ISMODE65
|
||||
jsr M65_MODEGET
|
||||
bcs cmd_go_rts
|
||||
|
||||
jsr helper_ask_if_sure
|
||||
bcs cmd_go_rts
|
||||
jsr M65_MODE64
|
||||
sec
|
||||
jsr M65_MODESET // Carry set = switch to C64 mode
|
||||
jmp_8 cmd_go_switchmode_clr_banner
|
||||
!:
|
||||
cmp #65
|
||||
@@ -44,12 +45,12 @@ cmd_go_syntax_error:
|
||||
|
||||
// If in C64 compatibility mode - switch to native mode
|
||||
|
||||
jsr M65_ISMODE65
|
||||
jsr M65_MODEGET
|
||||
bcc cmd_go_rts
|
||||
|
||||
jsr helper_ask_if_sure
|
||||
bcs cmd_go_rts
|
||||
jsr M65_MODE65
|
||||
jsr M65_MODESET // Carry clear = switch to M65 mode
|
||||
|
||||
// FALLTROUGH
|
||||
|
||||
|
||||
@@ -26,9 +26,10 @@ cmd_sys:
|
||||
|
||||
// Make sure we are in C64 compatibility mode
|
||||
|
||||
jsr M65_ISMODE65
|
||||
jsr M65_MODEGET
|
||||
bcs cmd_sys_nsys_common
|
||||
jsr M65_MODE64
|
||||
sec
|
||||
jsr M65_MODESET // set legacy C64 compatibility mode
|
||||
|
||||
// FALLTROUGH
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ cmd_sysinfo:
|
||||
ldx #IDX__STR_SI_HEADER
|
||||
jsr print_packed_misc_str
|
||||
|
||||
jsr M65_ISMODE65
|
||||
jsr M65_MODEGET
|
||||
bcc !+
|
||||
|
||||
ldx #IDX__STR_SI_MODE64
|
||||
@@ -39,7 +39,7 @@ cmd_sysinfo:
|
||||
|
||||
jsr print_return
|
||||
|
||||
jsr M65_ISMODE65
|
||||
jsr M65_MODEGET
|
||||
bcs print_sysinfo_video
|
||||
|
||||
jsr print_return
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
.label JREADST = KERNAL_0.JREADST
|
||||
.label JSCREEN = KERNAL_0.JSCREEN
|
||||
.label SELDEV = KERNAL_0.SELDEV
|
||||
.label M65_ISMODE65 = KERNAL_0.M65_ISMODE65
|
||||
.label M65_MODEGET = KERNAL_0.M65_MODEGET
|
||||
.label M65_SETWIN_XY = KERNAL_0.M65_SETWIN_XY
|
||||
.label M65_SETWIN_WH = KERNAL_0.M65_SETWIN_WH
|
||||
.label M65_SETWIN_Y = BASIC_0.proxy_B1_M65_SETWIN_Y
|
||||
|
||||
@@ -22,10 +22,10 @@ INITMSG:
|
||||
|
||||
// Display additional information, depending on the mode
|
||||
|
||||
jsr M65_ISMODE65
|
||||
jsr M65_MODEGET
|
||||
bcc !+
|
||||
|
||||
// Legacy mode
|
||||
// Legacy C64 compatibility mode
|
||||
|
||||
ldx #$02
|
||||
ldy #$21
|
||||
|
||||
Reference in new issue
Block a user