Better fix for Night Stalker demo (#394)

* Add files via upload

* Add files via upload
This commit is contained in:
frankmilliron 2021-10-22 13:04:45 -07:00 committed by GitHub
parent a6454ae6af
commit ec75820f64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 2 deletions

Binary file not shown.

View File

@ -1,5 +1,5 @@
;license:MIT
;(c) 2021 by qkumba
;(c) 2021 by qkumba/Frank M.
!cpu 6502
!to "res/DEMO/NIGHT.STALKER",plain
@ -8,6 +8,16 @@
!source "src/constants.a" ; no code in these
!source "src/macros.a"
lda #0
sta $618C ; fix reset
sta $6198 ; fix IRQ
lda #1
sta $618D ; fix reset
sta $6199 ; fix IRQ
eor #$A5
sta $618E ; fix reset checksum
; (game picks up vectors from un-initialized memory)
+READ_RAM2_WRITE_RAM2
jsr EnableAccelerator
+LOAD_FILE_AT night_stalker, $00
@ -16,7 +26,6 @@
sta $6017
sta $603F
jsr $800
+RESET_AND_IRQ_VECTOR $100
lda #$92
sta $0D
lda #$72