more robust panic screen
This commit is contained in:
1 parent
fbe95ba9c2
commit
098e1b7540
1 file changed
+11
-6
+11
-6
@@ -11,10 +11,14 @@
|
|||||||
|
|
||||||
panic:
|
panic:
|
||||||
|
|
||||||
// Disable interrupts, store error code on stack
|
// Store error code on stack
|
||||||
|
|
||||||
|
pha
|
||||||
|
|
||||||
|
// Reinitialize the hardware
|
||||||
|
|
||||||
sei
|
sei
|
||||||
pha
|
jsr IOINIT
|
||||||
|
|
||||||
#if ROM_LAYOUT_M65
|
#if ROM_LAYOUT_M65
|
||||||
|
|
||||||
@@ -22,13 +26,14 @@ panic:
|
|||||||
|
|
||||||
jsr map_NORMAL
|
jsr map_NORMAL
|
||||||
jsr M65_MODE64
|
jsr M65_MODE64
|
||||||
|
sei
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
jsr setup_vicii
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Reinitialize the hardware
|
|
||||||
|
|
||||||
jsr IOINIT
|
|
||||||
jsr setup_vicii
|
|
||||||
jsr clear_screen
|
jsr clear_screen
|
||||||
|
|
||||||
// Disable NMIs
|
// Disable NMIs
|
||||||
|
|||||||
Reference in new issue
Block a user