mirror of
https://github.com/a2-4am/4cade.git
synced 2024-12-12 03:29:48 +00:00
39 lines
745 B
Plaintext
39 lines
745 B
Plaintext
;license:MIT
|
|
;(c) 2021-2022 by Frank M., qkumba
|
|
|
|
!cpu 6502
|
|
!to "build/DEMO/DIG.DUG#060300",plain
|
|
*=$300
|
|
|
|
!source "src/constants.a" ; no code in these
|
|
!source "src/macros.a"
|
|
|
|
+ENABLE_ACCEL_LC
|
|
+LOAD_XSINGLE title
|
|
|
|
lda #$60
|
|
sta $826
|
|
jsr $800 ; decompress
|
|
|
|
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
|
|
|
|
patch !byte $4C,$00,$01
|
|
patch2 !byte $4C,$B9,$A3
|
|
|
|
title +PSTRING "DIG.DUG"
|
|
|
|
!if * > $3F0 {
|
|
!error "code is too large, ends at ", *
|
|
}
|