more robust panic screen

This commit is contained in:
FeralChild64 committed 2020-08-28 23:50:25 +02:00
1 parent fbe95ba9c2
commit 098e1b7540
1 file changed
+11 -6
+11 -6
View File
@@ -11,10 +11,14 @@
panic:
// Disable interrupts, store error code on stack
// Store error code on stack
pha
// Reinitialize the hardware
sei
pha
jsr IOINIT
#if ROM_LAYOUT_M65
@@ -22,13 +26,14 @@ panic:
jsr map_NORMAL
jsr M65_MODE64
sei
#else
jsr setup_vicii
#endif
// Reinitialize the hardware
jsr IOINIT
jsr setup_vicii
jsr clear_screen
// Disable NMIs