add cheat for Jumpman

This commit is contained in:
4am 2019-10-06 10:16:49 -04:00
parent 242d5672cb
commit 8cc1a9da94
3 changed files with 25 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -11,7 +11,7 @@
- Added help screen (press ? in search or browse mode to show)
- Added global cheat mode (press Ctrl-C in search or browse mode to toggle)
- Added 54 game cheats
- Added 55 game cheats
- Fixed corrupted graphics in Asteroid Blaster
- Fixed corrupted graphics in Sneakers game, demo, and screenshots, and now we are entirely done with this I promise
- Fixed Axis Assassin demo hanging on IIgs

23
src/prelaunch/jumpman.a Normal file
View File

@ -0,0 +1,23 @@
;license:MIT
;(c) 2019 by 4am
!cpu 6502
!to "build/PRELAUNCH/JUMPMAN",plain
*=$106
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
lda #$60
sta $406E
jsr $4000 ; decompress
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
beq +
lda #$A5
sta $8FF3 ; patch - don't decrease lives
sta $93B1 ; patch - don't decrease lives
sta $A598 ; patch - don't increase lives
+
+DISABLE_ACCEL
jmp $8000