Fix Reboot for Summer/Winter Games (#120)

This commit is contained in:
frankmilliron 2020-03-04 05:20:13 -08:00 committed by GitHub
parent 3f583bfe17
commit 2f7a53b3d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 48 additions and 0 deletions

24
src/prelaunch/summer.games.a Executable file
View File

@ -0,0 +1,24 @@
;license:MIT
;(c) 2020 by Frank M.
!cpu 6502
!to "build/PRELAUNCH/SUMMER.GAMES",plain
*=$106
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
lda #$60
sta $9EB
jsr $800 ; decompress
+READ_RAM1_WRITE_RAM1
+LC_REBOOT
+READ_ROM_NO_WRITE
+DISABLE_ACCEL
jmp $B700
!if * > $1C0 {
!error "code is too large, ends at ", *
}

24
src/prelaunch/winter.games.a Executable file
View File

@ -0,0 +1,24 @@
;license:MIT
;(c) 2020 by Frank M.
!cpu 6502
!to "build/PRELAUNCH/WINTER.GAMES",plain
*=$106
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
lda #$60
sta $9EB
jsr $800 ; decompress
+READ_RAM1_WRITE_RAM1
+LC_REBOOT
+READ_ROM_NO_WRITE
+DISABLE_ACCEL
jmp $B700
!if * > $1C0 {
!error "code is too large, ends at ", *
}