fix Swashbuckler reset (#243)

This commit is contained in:
frankmilliron 2020-06-06 08:23:38 -07:00 committed by GitHub
parent be87d09322
commit a435053a9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
;license:MIT ;license:MIT
;(c) 2019 by Frank M. ;(c) 2019-2020 by Frank M.
!cpu 6502 !cpu 6502
!to "build/PRELAUNCH/SWASHBUCKLER",plain !to "build/PRELAUNCH/SWASHBUCKLER",plain
@ -16,14 +16,7 @@
sta $BC81 ; stop2 sta $BC81 ; stop2
jsr $BC00 ; title jsr $BC00 ; title
ldy #6 +NEW_RESET_VECTOR $BFF0
- lda $100-1,y
sta $180-1,y ; move hook to $180
dey
bne -
lda #$80
sta $3F2 ; reset vector patch
jmp $1B34 jmp $1B34