safer vector handling in some Kernal routines

This commit is contained in:
FeralChild64 committed 2020-07-14 23:13:17 +02:00
1 parent e349aa64f9
commit 26ce9d3b58
4 files changed
+34 -9

No files matched your search

+2 -2
View File
@@ -29,8 +29,8 @@ hw_entry_irq:
bne irq_handler_brk
// Not caused by BRK - call interrupt routine (only if initialised)
lda CINV
ora CINV+1
// Routine on zeropage = assuming not initialized
lda CINV+1
beq !+
jmp (CINV)
!: