2022-05-23 14:50:28 +00:00
|
|
|
;license:MIT
|
|
|
|
;(c) 2022 by qkumba
|
|
|
|
|
|
|
|
!cpu 6502
|
2022-10-01 00:04:02 +00:00
|
|
|
!to "build/DEMO/KAMIKAZE#060300",plain
|
2022-05-23 14:50:28 +00:00
|
|
|
*=$300
|
|
|
|
|
|
|
|
!source "src/constants.a" ; no code in these
|
|
|
|
!source "src/macros.a"
|
|
|
|
|
2023-04-22 23:15:48 +00:00
|
|
|
+GAME_REQUIRES_JOYSTICK
|
|
|
|
|
2022-09-27 17:20:04 +00:00
|
|
|
+ENABLE_ACCEL_LC
|
2022-09-10 04:58:15 +00:00
|
|
|
+LOAD_XSINGLE title
|
|
|
|
|
2022-05-23 14:50:28 +00:00
|
|
|
lda #$60
|
|
|
|
sta $7B12
|
|
|
|
jsr $739A ; decompress
|
|
|
|
|
|
|
|
lda #$D0
|
|
|
|
sta $69AF ; no sound
|
|
|
|
sta $6A33 ; no sound
|
|
|
|
sta $6A4E ; no sound
|
|
|
|
sta $6A56 ; no sound
|
|
|
|
sta $70A8 ; no sound
|
2022-09-27 17:20:04 +00:00
|
|
|
ldx #3-1
|
|
|
|
- lda patch,x
|
|
|
|
sta $6158,x
|
|
|
|
sta $6173,x
|
|
|
|
sta $61C0,x
|
|
|
|
dex
|
|
|
|
bpl -
|
2022-05-23 14:50:28 +00:00
|
|
|
|
|
|
|
+DISABLE_ACCEL
|
2022-09-10 04:58:15 +00:00
|
|
|
|
2022-05-23 14:50:28 +00:00
|
|
|
jmp $9400
|
|
|
|
|
2022-09-27 17:20:04 +00:00
|
|
|
patch !byte $4C,$00,$01
|
|
|
|
|
2022-09-10 04:58:15 +00:00
|
|
|
title !byte x_e-x_b
|
|
|
|
x_b !text "KAMIKAZE"
|
|
|
|
x_e
|
2022-05-23 14:50:28 +00:00
|
|
|
|
|
|
|
!if * > $3F0 {
|
|
|
|
!error "code is too large, ends at ", *
|
|
|
|
}
|