mirror of
https://github.com/a2-4am/4cade.git
synced 2024-06-14 03:29:38 +00:00
prevent IRQs between copy and new hook
This commit is contained in:
parent
c77949b549
commit
933432ea3e
|
@ -164,6 +164,7 @@
|
||||||
+READ_ROM_WRITE_RAM2
|
+READ_ROM_WRITE_RAM2
|
||||||
jsr init ; initialize and relocate ProRWTS2 to $D400 in RAM bank 2
|
jsr init ; initialize and relocate ProRWTS2 to $D400 in RAM bank 2
|
||||||
; ProRWTS2 disk-data live at $D000-D3FF
|
; ProRWTS2 disk-data live at $D000-D3FF
|
||||||
|
sei ; we're about to overwrite ProDOS's IRQ handler
|
||||||
ldx #$00 ; relocate program code to top of language card
|
ldx #$00 ; relocate program code to top of language card
|
||||||
; since we end at $0000 now, adjust low offset to avoid destroying zpage
|
; since we end at $0000 now, adjust low offset to avoid destroying zpage
|
||||||
@FM lda FirstMover - (RELBASE & $FF),x
|
@FM lda FirstMover - (RELBASE & $FF),x
|
||||||
|
|
Loading…
Reference in New Issue
Block a user