Kernal panic now works in MEGA65 native mode too
This commit is contained in:
1 parent
64ae9ad75b
commit
fbe95ba9c2
4 files changed
+12
-2
No files matched your search
@@ -22,7 +22,7 @@ cmd_go_syntax_error:
|
|||||||
|
|
||||||
dew TXTPTR // unconsume character
|
dew TXTPTR // unconsume character
|
||||||
|
|
||||||
// Fetch mode
|
// Fetch desired mode
|
||||||
|
|
||||||
jsr fetch_uint8
|
jsr fetch_uint8
|
||||||
|
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ M65_MODE65:
|
|||||||
|
|
||||||
// Initialize VIC-IV
|
// Initialize VIC-IV
|
||||||
|
|
||||||
|
jsr setup_vicii
|
||||||
jsr viciv_init
|
jsr viciv_init
|
||||||
|
|
||||||
// Set screen mode to 80x50
|
// Set screen mode to 80x50
|
||||||
|
|||||||
@@ -22,6 +22,14 @@ default_brk_handler:
|
|||||||
|
|
||||||
see // disable extended stack
|
see // disable extended stack
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if ROM_LAYOUT_M65
|
||||||
|
|
||||||
|
// Make sure we have normal memory mapping
|
||||||
|
|
||||||
|
jsr map_NORMAL
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
jsr JRESTOR
|
jsr JRESTOR
|
||||||
|
|||||||
+2
-1
@@ -18,8 +18,9 @@ panic:
|
|||||||
|
|
||||||
#if ROM_LAYOUT_M65
|
#if ROM_LAYOUT_M65
|
||||||
|
|
||||||
// Make sure we are in legacy mode
|
// Make sure we are in legacy mode with normal memory mapping
|
||||||
|
|
||||||
|
jsr map_NORMAL
|
||||||
jsr M65_MODE64
|
jsr M65_MODE64
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in new issue
Block a user