reset fixes (#207)

This commit is contained in:
frankmilliron 2020-05-18 20:14:55 -07:00 committed by GitHub
parent 8950ab0e62
commit 5aee0cf867
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,5 @@
;license:MIT
;(c) 2020 by qkumba
;(c) 2020 by qkumba/Frank M.
!cpu 6502
!to "build/PRELAUNCH/REALM.IMPOSS",plain
@ -8,6 +8,10 @@
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
+READ_RAM1_WRITE_RAM1
+LC_REBOOT
+READ_ROM_NO_WRITE
lda #$60
sta $41AD
jsr $4000 ; decompress
@ -19,6 +23,7 @@
sta $AF1D ; patch - don't decrease hit-points
+
bit $C083
+LC_REBOOT
jsr DisableAccelerator
bit $C08B
jmp $1953

View File

@ -1,5 +1,5 @@
;license:MIT
;(c) 2020 by qkumba
;(c) 2020 by qkumba/Frank M.
!cpu 6502
!to "build/PRELAUNCH/WAYOUT",plain
@ -19,6 +19,7 @@
jsr $8D53 ; decompress even more
lda #$20
sta $8D75
+RESET_VECTOR $100
+DISABLE_ACCEL
jmp $8D75