remove HideLaunchArtwork routine in stack, all prelaunchers use HideLaunchArtworkLC2

This commit is contained in:
4am 2025-02-15 20:13:40 -05:00
parent a281f6b808
commit d4f2d8dea9
482 changed files with 483 additions and 485 deletions

View File

@ -144,7 +144,7 @@ RNDSEED = $4E ; word
!src "src/decrunch/constants.a"
PrelaunchInit= $EA
HideLaunchArtwork = $1B3
PrelaunchMax = $1B3
HideLaunchArtworkLC2 = $DFAE
; textrank
BestMatchIndex = $E5 ; word

View File

@ -26,7 +26,6 @@ LaunchInternal
bne -
ldx #(HideLaunchArtworkInternal_e-HideLaunchArtworkInternal)
- lda HideLaunchArtworkInternal-1, x
sta HideLaunchArtwork-1, x
sta HideLaunchArtworkLC2-1, x
dex
bne -
@ -58,7 +57,6 @@ LaunchInternal
and #SUPPORTS_SHR
bne @turnOffSHRShadow
lda #$60
sta HideLaunchArtwork
sta HideLaunchArtworkLC2
bne @jmp ; always branches
@turnOffSHRShadow
@ -85,7 +83,7 @@ AnimationPrelaunchInit
PrelaunchInitInternal_e
HideLaunchArtworkInternal
!pseudopc HideLaunchArtwork {
!pseudopc HideLaunchArtworkLC2 {
lda #1
sta NEWVIDEO
rts

View File

@ -33,6 +33,6 @@
+READ_ROM_NO_WRITE
jmp $68E
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -25,6 +25,6 @@
+DISABLE_ACCEL
jmp $4000
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -25,6 +25,6 @@
jmp $4000
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -25,6 +25,6 @@
jmp $837 ; run demo
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -27,6 +27,6 @@
+DISABLE_ACCEL_AND_HIDE_ARTWORK
jmp $7c1e
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -47,6 +47,6 @@
+READ_ROM_NO_WRITE
jmp $800
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -21,6 +21,6 @@
+DISABLE_ACCEL
jmp $4000
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -20,6 +20,6 @@
+DISABLE_ACCEL
jmp $73a0
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -21,6 +21,6 @@
+DISABLE_ACCEL_AND_HIDE_ARTWORK
jmp $833
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -29,6 +29,6 @@
+DISABLE_ACCEL
jmp $2001
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -17,6 +17,6 @@
+DISABLE_ACCEL_AND_HIDE_ARTWORK
jmp $1FA0
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -29,6 +29,6 @@
+READ_ROM_NO_WRITE
jmp $B00D
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -15,6 +15,6 @@
+DISABLE_ACCEL
jmp $D566
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -14,6 +14,6 @@
+DISABLE_ACCEL_AND_HIDE_ARTWORK
jmp $5000
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -20,6 +20,6 @@
+DISABLE_ACCEL
jmp $955D
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -60,6 +60,6 @@ no_speech
+READ_ROM_NO_WRITE
jmp $6200
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -20,6 +20,6 @@
+DISABLE_ACCEL_AND_HIDE_ARTWORK
jmp $4D00
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -66,6 +66,6 @@
+READ_ROM_NO_WRITE
jmp $5F00
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -27,6 +27,6 @@
+DISABLE_ACCEL
jmp $4000
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -23,6 +23,6 @@
+READ_ROM_NO_WRITE
jmp $6000
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -14,6 +14,6 @@
+DISABLE_ACCEL
jmp $6000
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -24,6 +24,6 @@ callback
+DISABLE_ACCEL
jmp $400
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -15,6 +15,6 @@
+DISABLE_ACCEL
jmp $880
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -50,6 +50,6 @@ callback
+DISABLE_ACCEL
jmp $5FF8
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -45,6 +45,6 @@ callback
+READ_ROM_NO_WRITE
jmp $6000
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -40,6 +40,6 @@ callback1
sta $C05F ; fix //c and //c+ HGR color
jmp $1170
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -38,6 +38,6 @@ callback2
jmp $401E
callback2_e
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -24,6 +24,6 @@
jmp $80D ; skip changing the reset vector
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -33,6 +33,6 @@
jmp $981
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -46,6 +46,6 @@ hook +RESET_VECTOR $100
+READ_ROM_NO_WRITE
jmp $B31B
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -26,6 +26,6 @@
+DISABLE_ACCEL
jmp $4000
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -21,6 +21,6 @@
+DISABLE_ACCEL
jmp $800
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -24,6 +24,6 @@
+DISABLE_ACCEL
jmp $4000
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -32,6 +32,6 @@
+DISABLE_ACCEL
jmp $5c00
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -39,6 +39,6 @@ keypress
lda #$8D
rts
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -40,6 +40,6 @@ cheat
jsr HideLaunchArtworkLC2
jmp $800
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -32,6 +32,6 @@
+DISABLE_ACCEL
jmp $400
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -43,6 +43,6 @@ callback
lda #0
rts
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -41,6 +41,6 @@ callback
sta $FC65
jmp $AB18
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -55,6 +55,6 @@ callback2
call1 jmp callback1
call2 jmp callback2
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -27,6 +27,6 @@
+DISABLE_ACCEL_AND_HIDE_ARTWORK
jmp $810
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -25,6 +25,6 @@
+DISABLE_ACCEL
jmp $4000
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -28,6 +28,6 @@ cheat
+DISABLE_ACCEL_AND_HIDE_ARTWORK
rts
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -16,6 +16,6 @@
+DISABLE_ACCEL_AND_HIDE_ARTWORK
jmp $8000
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -16,6 +16,6 @@
+DISABLE_ACCEL_AND_HIDE_ARTWORK
jmp $1000
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -60,6 +60,6 @@ callback2
+
jmp $800
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -24,6 +24,6 @@
+DISABLE_ACCEL_AND_HIDE_ARTWORK
jmp $BB00
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -14,6 +14,6 @@
+DISABLE_ACCEL_AND_HIDE_ARTWORK
jmp $6000
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -38,6 +38,6 @@ callback2
berzap_mb
+PSTRING "PRELAUNCH/BERZAP.MB"
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -61,6 +61,6 @@ callback
jmp $9D84
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -14,6 +14,6 @@
+DISABLE_ACCEL
jmp $800
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -14,6 +14,6 @@
+DISABLE_ACCEL
jmp $7000
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -48,6 +48,6 @@ reset
+READ_ROM_NO_WRITE
jmp $FAA6
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -14,6 +14,6 @@
+DISABLE_ACCEL
jmp $800
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -14,6 +14,6 @@
+DISABLE_ACCEL
jmp $800
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -23,6 +23,6 @@
+READ_ROM_NO_WRITE
jmp $7E03
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -21,6 +21,6 @@
+DISABLE_ACCEL_AND_HIDE_ARTWORK
jmp ($6000)
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -21,6 +21,6 @@
+DISABLE_ACCEL
jmp $1100
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -23,6 +23,6 @@
+READ_ROM_NO_WRITE
jmp $D566
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -25,6 +25,6 @@
+DISABLE_ACCEL
jmp $4000
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -22,6 +22,6 @@
inc $C9 ; must be non-zero
jmp $EB0
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -21,6 +21,6 @@
+DISABLE_ACCEL
jmp $800
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -24,6 +24,6 @@
+READ_ROM_NO_WRITE
jmp $800
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -17,6 +17,6 @@
kamungas_mb
+PSTRING "PRELAUNCH/KAMUNGAS.MB"
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -34,6 +34,6 @@
+DISABLE_ACCEL_AND_HIDE_ARTWORK
jmp $0A00
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -59,6 +59,6 @@ lcpatch
}
cheat_e
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -34,6 +34,6 @@ reset
+READ_ROM_NO_WRITE
jmp $FAA6
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -29,6 +29,6 @@
+READ_ROM_NO_WRITE
jmp $6000
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -18,6 +18,6 @@
sta $7fe ; overwritten by GS acceleration
jmp $400
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -25,6 +25,6 @@ callback
lda #0 ; set Z
rts
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -18,6 +18,6 @@ callback
+DISABLE_ACCEL_AND_HIDE_ARTWORK
jmp $4D36
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -23,6 +23,6 @@
+READ_ROM_NO_WRITE
jmp $447
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -35,6 +35,6 @@
+DISABLE_ACCEL
jmp $a300
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -35,6 +35,6 @@ callback
jmp $4015
}
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -22,6 +22,6 @@
+DISABLE_ACCEL_AND_HIDE_ARTWORK
jmp $8000
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -26,6 +26,6 @@
+DISABLE_ACCEL
jmp $4000
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -29,6 +29,6 @@
jmp $D566
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -27,6 +27,6 @@
+DISABLE_ACCEL_AND_HIDE_ARTWORK
jmp $a000
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -33,6 +33,6 @@
+DISABLE_ACCEL_AND_HIDE_ARTWORK
jmp $3000
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -19,6 +19,6 @@
jsr $5FFD
jmp $BA1C
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -17,6 +17,6 @@
goodnight_cheat
+PSTRING "PRELAUNCH/CG.CHEAT"
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -34,6 +34,6 @@ callback
}
x_e
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -24,6 +24,6 @@
+
jmp $D566
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -25,6 +25,6 @@
+DISABLE_ACCEL
jmp $4000
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -17,6 +17,6 @@
cavrn_cheat
+PSTRING "PRELAUNCH/CAVRN.CHEAT"
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -28,6 +28,6 @@ callback
jsr $BD82
rts
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -21,6 +21,6 @@
+DISABLE_ACCEL_AND_HIDE_ARTWORK
jmp $5FED
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -21,6 +21,6 @@
+DISABLE_ACCEL_AND_HIDE_ARTWORK
jmp $A000
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -27,6 +27,6 @@
+DISABLE_ACCEL_AND_HIDE_ARTWORK
jmp $6000
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -20,6 +20,6 @@
+DISABLE_ACCEL
jmp $200
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -80,6 +80,6 @@ skip
+READ_ROM_NO_WRITE
jmp $1B40
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -40,6 +40,6 @@ callback
mbslot lda #$D1 ; SMC
jmp $963D
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -23,6 +23,6 @@
+READ_ROM_NO_WRITE
jmp $6B00
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -22,6 +22,6 @@
jmp $800
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -36,6 +36,6 @@ cheat
jsr DisableAccelerator
jmp $803
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -45,6 +45,6 @@
+DISABLE_ACCEL
jmp $6ba5
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -22,6 +22,6 @@
+DISABLE_ACCEL
jmp $4800
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

View File

@ -27,6 +27,6 @@
+DISABLE_ACCEL_AND_HIDE_ARTWORK
jmp $c00
!if * > HideLaunchArtwork {
!if * > PrelaunchMax {
!error "code is too large, ends at ", *
}

Some files were not shown because too many files have changed in this diff Show More