mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-23 12:33:32 +00:00
fix some demo IRQs
This commit is contained in:
parent
7f32da538b
commit
dff889fb59
Binary file not shown.
Binary file not shown.
@ -16,7 +16,7 @@
|
||||
sta $6017
|
||||
sta $603F
|
||||
jsr $800
|
||||
+RESET_VECTOR $106
|
||||
+RESET_AND_IRQ_VECTOR $100
|
||||
lda #$92
|
||||
sta $0D
|
||||
lda #$72
|
||||
|
@ -14,7 +14,7 @@
|
||||
lda #$4C
|
||||
sta $3EC9
|
||||
jsr $3E65 ; decompress/set reset vector
|
||||
+RESET_VECTOR $100
|
||||
+RESET_AND_IRQ_VECTOR $100
|
||||
lda #$EA
|
||||
sta $1C38
|
||||
sta $1C39
|
||||
|
10
src/macros.a
10
src/macros.a
@ -351,6 +351,16 @@
|
||||
sta $3F4
|
||||
}
|
||||
|
||||
!macro RESET_AND_IRQ_VECTOR .addr {
|
||||
lda #<.addr
|
||||
sta $3F2
|
||||
sta $3FE
|
||||
lda #>.addr
|
||||
sta $3F3
|
||||
sta $3FF
|
||||
eor #$A5
|
||||
sta $3F4
|
||||
}
|
||||
; for games that clobber $100-$105, the prelaunch code constructs a new reset vector
|
||||
; somewhere else and sets its
|
||||
!macro NEW_RESET_VECTOR .addr {
|
||||
|
Loading…
Reference in New Issue
Block a user