mirror of
https://github.com/a2-4am/4cade.git
synced 2024-10-05 18:00:08 +00:00
35509c7666
* Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Delete CYCLOD.1 * Delete DIG.DUG.1 * Delete PLASMANIA.1 * Delete STAR.BLAZER.1
45 lines
876 B
Plaintext
45 lines
876 B
Plaintext
;license:MIT
|
|
;(c) 2021 by Frank M.
|
|
|
|
!cpu 6502
|
|
!to "res/DEMO/DIG.DUG",plain
|
|
*=$300
|
|
|
|
!source "src/constants.a" ; no code in these
|
|
!source "src/macros.a"
|
|
|
|
+READ_RAM2_WRITE_RAM2
|
|
jsr EnableAccelerator
|
|
+LOAD_FILE_AT title, $00
|
|
|
|
lda #$60
|
|
sta $826
|
|
jsr $800 ; decompress
|
|
|
|
lda #$4C
|
|
sta $A12E
|
|
sta $A3AE
|
|
sta $A3D4
|
|
lda #0
|
|
sta $A12E+1
|
|
sta $A3D4+1
|
|
lda #1
|
|
sta $A12E+2
|
|
sta $A3D4+2 ; set exits
|
|
lda #$B9
|
|
sta $A3AE+1
|
|
lda #$A3
|
|
sta $A3AE+2 ; skip title screen and input selection
|
|
|
|
+DISABLE_ACCEL
|
|
|
|
jmp $8000
|
|
|
|
title !byte x_e-x_b
|
|
x_b !text "X/DIG.DUG/DIG.DUG"
|
|
x_e
|
|
|
|
!if * > $3F0 {
|
|
!error "code is too large, ends at ", *
|
|
}
|