sync Apple Invader demo to recent changes in prelaunch (#485)

* Add files via upload

* Add files via upload
This commit is contained in:
frankmilliron 2022-07-11 12:17:35 -07:00 committed by GitHub
parent 419379f1a8
commit 85fbe53fcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 1 deletions

Binary file not shown.

View File

@ -9,8 +9,14 @@
!source "src/macros.a" !source "src/macros.a"
+GAME_REQUIRES_JOYSTICK +GAME_REQUIRES_JOYSTICK
lda $7fe
pha
+READ_RAM2_WRITE_RAM2 +READ_RAM2_WRITE_RAM2
jsr EnableAccelerator jsr EnableAccelerator
pla
sta $7fe ; overwritten by GS acceleration
+LOAD_FILE_AT title, $00 +LOAD_FILE_AT title, $00
+READ_ROM_NO_WRITE +READ_ROM_NO_WRITE
@ -49,7 +55,13 @@
sta $46C0+2 ; exit on keypress sta $46C0+2 ; exit on keypress
sta $4A9B ; exit at end of demo loop (moved to $1E37+2) sta $4A9B ; exit at end of demo loop (moved to $1E37+2)
+DISABLE_ACCEL +READ_RAM2_NO_WRITE
lda $7fe
pha
jsr DisableAccelerator
+READ_ROM_NO_WRITE
pla
sta $7fe ; overwritten by GS acceleration
jmp $5F00 jmp $5F00