safer NMI handling
This commit is contained in:
1 parent
1c118d9bc9
commit
f8e57f1cf2
10 files changed
+114
-19
No files matched your search
+10
-3
@@ -22,11 +22,18 @@ panic:
|
||||
jsr setup_vicii
|
||||
jsr clear_screen
|
||||
|
||||
// Disable NMIs - our routine checks for NULL vector
|
||||
// Disable NMIs
|
||||
|
||||
#if CONFIG_TAPE_HEAD_ALIGN
|
||||
|
||||
jsr nmi_lock
|
||||
|
||||
#else
|
||||
|
||||
lda #$00
|
||||
sta NMINV+0
|
||||
sta NMINV+1
|
||||
sta NMINV + 1 // our routine does not allow zeropage vectors
|
||||
|
||||
#endif
|
||||
|
||||
// Display KERNAL PANIC message
|
||||
|
||||
|
||||
Reference in new issue
Block a user