mirror of
https://github.com/a2-4am/4cade.git
synced 2025-02-17 07:31:19 +00:00
fix Planetoids OOB access
This commit is contained in:
parent
f2d72c331b
commit
d52883974c
@ -1,5 +1,5 @@
|
|||||||
;license:MIT
|
;license:MIT
|
||||||
;(c) 2021 by qkumba
|
;(c) 2021, 2024 by qkumba
|
||||||
|
|
||||||
!cpu 6502
|
!cpu 6502
|
||||||
!to "build/PRELAUNCH.INDEXED/PLANETOIDS",plain
|
!to "build/PRELAUNCH.INDEXED/PLANETOIDS",plain
|
||||||
@ -18,9 +18,17 @@
|
|||||||
lda #$A9
|
lda #$A9
|
||||||
sta $1570
|
sta $1570
|
||||||
+
|
+
|
||||||
|
lda #<callback
|
||||||
|
sta $81C
|
||||||
|
lda #>callback
|
||||||
|
sta $81D
|
||||||
+DISABLE_ACCEL
|
+DISABLE_ACCEL
|
||||||
jmp $800
|
jmp $800
|
||||||
|
|
||||||
|
callback
|
||||||
|
jsr $FC58
|
||||||
|
jmp $96B
|
||||||
|
|
||||||
!if * > $1C0 {
|
!if * > $1C0 {
|
||||||
!error "code is too large, ends at ", *
|
!error "code is too large, ends at ", *
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user