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