4cade/src/demo/dig.dug.a

39 lines
745 B
Plaintext
Raw Normal View History

;license:MIT
2022-09-27 17:20:04 +00:00
;(c) 2021-2022 by Frank M., qkumba
!cpu 6502
2022-10-01 00:04:02 +00:00
!to "build/DEMO/DIG.DUG#060300",plain
*=$300
!source "src/constants.a" ; no code in these
!source "src/macros.a"
2022-09-27 17:20:04 +00:00
+ENABLE_ACCEL_LC
2022-09-10 04:58:15 +00:00
+LOAD_XSINGLE title
lda #$60
sta $826
jsr $800 ; decompress
2022-09-27 17:20:04 +00:00
ldx #3-1
- lda patch,x
sta $A12E,x
sta $A3D4,x ; set exits
lda patch2,x
sta $A3AE,x ; skip title screen and input selection
dex
bpl -
+DISABLE_ACCEL
jmp $8000
2022-09-27 17:20:04 +00:00
patch !byte $4C,$00,$01
patch2 !byte $4C,$B9,$A3
2024-05-25 21:24:57 +00:00
title +PSTRING "DIG.DUG"
!if * > $3F0 {
!error "code is too large, ends at ", *
}