2021-10-03 01:20:30 +00:00
|
|
|
;license:MIT
|
2022-09-27 17:20:04 +00:00
|
|
|
;(c) 2021-2022 by qkumba
|
2021-10-03 01:20:30 +00:00
|
|
|
|
|
|
|
!cpu 6502
|
|
|
|
!to "res/DEMO/CHOPLIFTER",plain
|
|
|
|
*=$300
|
|
|
|
|
2021-10-19 23:14:39 +00:00
|
|
|
!source "src/constants.a" ; no code in these
|
|
|
|
!source "src/macros.a"
|
2021-10-03 01:20:30 +00:00
|
|
|
|
2021-11-01 04:29:36 +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
|
2021-10-03 01:20:30 +00:00
|
|
|
lda #$60
|
|
|
|
sta $403F
|
|
|
|
jsr $4000 ; decompress
|
2022-09-27 17:20:04 +00:00
|
|
|
ldx #3-1
|
|
|
|
- lda patch,x
|
|
|
|
sta $0DAB,x
|
|
|
|
sta $08EF,x
|
|
|
|
dex
|
|
|
|
bpl -
|
2021-10-03 01:20:30 +00:00
|
|
|
lda #$18
|
|
|
|
sta $0DA9
|
2022-09-10 04:58:15 +00:00
|
|
|
+DISABLE_ACCEL
|
2021-10-03 01:26:22 +00:00
|
|
|
ldy #0
|
2021-10-03 01:20:30 +00:00
|
|
|
jmp $400
|
|
|
|
|
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 "CHOPLIFTER"
|
|
|
|
x_e
|
2021-10-03 01:20:30 +00:00
|
|
|
|
|
|
|
!if * > $3F0 {
|
|
|
|
!error "code is too large, ends at ", *
|
|
|
|
}
|