repack Death Sword to save some space

This commit is contained in:
Peter Ferrie 2024-05-04 14:53:08 -07:00
parent 8e657186e1
commit 082e277e3d
3 changed files with 9 additions and 10 deletions

Binary file not shown.

View File

@ -1,5 +1,5 @@
;license:MIT ;license:MIT
;(c) 2019-2020, 2023 by qkumba/Frank M. ;(c) 2024 by qkumba
!cpu 6502 !cpu 6502
!to "build/PRELAUNCH.INDEXED/DEATH.SWORD",plain !to "build/PRELAUNCH.INDEXED/DEATH.SWORD",plain
@ -7,17 +7,16 @@
!source "src/prelaunch/common.a" !source "src/prelaunch/common.a"
inc $3F4 ; force reboot +ENABLE_ACCEL
lda #$8b lda #$8b
sta $bf0e ; disable ROM mapping sta $bf0e ; disable ROM mapping
lda #$60
+GET_MACHINE_STATUS sta $921
and #IS_IIGS jsr $800 ; decompress
bne + lda $c083
lda #$A9 jsr DisableAccelerator
sta $21E0 ; don't write to non-GS softswitch lda $c08b
+ jmp $2000 jmp $6000
!if * > $1C0 { !if * > $1C0 {
!error "code is too large, ends at ", * !error "code is too large, ends at ", *