add Spud and Mug Shot to the collection

This commit is contained in:
Peter Ferrie
2025-01-17 13:45:34 -08:00
parent a261427ed7
commit f05e59c0c9
9 changed files with 70 additions and 0 deletions
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+1
View File
@@ -436,6 +436,7 @@
000111,SPIDER.RAID=Spider Raid
011601,SPIDERBOT=Spiderbot
100111,SPINDIZZY=Spindizzy
000300,SPUD.MUGSHOT=Spud and Mug Shot
100300,SPUTNIK.ATTACK=Sputnik Attack
000111,SPY.HUNTER=Spy Hunter
000001,SS=Spy vs Spy
Binary file not shown.
Binary file not shown.
Binary file not shown.
+69
View File
@@ -0,0 +1,69 @@
;license:MIT
;(c) 2025 by qkumba
!cpu 6502
!to "build/PRELAUNCH.INDEXED/SPUD.MUGSHOT",plain
*=$106
!source "src/macros.a"
jmp main
callback1
clc
!byte $24
callback2
sec
php
+ENABLE_ACCEL
lda #$60
plp
php
bcs +
sta $242D
bcc ++
+ sta $2439
++ jsr $23F8 ; decompress
ldx #0
stx $3F2
inx
stx $3F3
stx $BCFD ; hook exit
jsr $FB6F ; reset vector
+READ_RAM2_NO_WRITE
lda MachineStatus
and #CHEATS_ENABLED
beq +
plp
php
bcs ++
dec $ACFD ; don't decrease ammunition
bcc +
++ lda #$AD
sta $981F ; don't decrease lives
+ jsr DisableAccelerator
+READ_ROM_NO_WRITE
plp
bcs +
jmp $23A9
+ jmp $212F
main
+ENABLE_ACCEL
lda #$60
sta $4059
jsr $3FF8 ; decompress
lda #<callback1
sta $97CA
lda #<callback2
sta $9848
lda #>callback1
sta $97CB
sta $9849
+DISABLE_ACCEL
jsr HideLaunchArtwork
jmp $9052
!if * > HideLaunchArtwork {
!error "code is too large, ends at ", *
}