attempt to workaround some problems on MEGA65 real hardware

This commit is contained in:
FeralChild64 authored and Paul Gardner-Stephen committed 2020-09-26 11:23:48 +09:30
1 parent 4f8ec2fb3c
commit 2769b82858
4 files changed
+8 -2

No files matched your search

BIN
View File
Binary file not shown.
Binary file not shown.
+2 -2
View File
@@ -51,8 +51,8 @@
;; #CONFIG# KEY_REPEAT_DEFAULT NO
;; #CONFIG# KEY_REPEAT_ALWAYS NO
;; #CONFIG# KEY_FAST_SCAN YES
;; #CONFIG# JOY1_CURSOR YES
;; #CONFIG# JOY2_CURSOR YES
;; #CONFIG# JOY1_CURSOR NO
;; #CONFIG# JOY2_CURSOR NO
;; #CONFIG# PROGRAMMABLE_KEYS YES
+6
View File
@@ -14,11 +14,17 @@ hw_entry_nmi:
; Call interrupt routine (only if initialised)
pha
!ifndef CONFIG_MB_M65 { ; XXX temporarily disabled for MEGA65, seems to cause crash during startup - to be investigated
lda NMINV+1 ; consider zeropage NMI address as uninitialized vector
beq @1 ; this allows safer interrupt vector modifications
pla
jmp (NMINV)
@1:
}
; Vector not initialized - call default interrupt routine
pla
jmp default_nmi_handler