mirror of
https://github.com/a2-4am/4cade.git
synced 2024-12-28 03:29:59 +00:00
runtime-demo Space Quarks
This commit is contained in:
parent
abc018da30
commit
7e873edb74
Binary file not shown.
Binary file not shown.
@ -152,8 +152,7 @@ SNEAKERS=Type(06),AuxType(0800),Access(C3)
|
||||
SNEAKERS.1=Type(F1),AuxType(0000),Access(C3)
|
||||
SPACE.EGGS=Type(06),AuxType(0300),Access(C3)
|
||||
SPACE.EGGS.1=Type(F1),AuxType(0000),Access(C3)
|
||||
SPACE.QUARKS=Type(06),AuxType(0300),Access(C3)
|
||||
SPACE.QUARKS.1=Type(F1),AuxType(0000),Access(C3)
|
||||
SPACE.QUARKS=Type(06),AuxType(B000),Access(C3)
|
||||
SPARE.CHANGE=Type(06),AuxType(2700),Access(C3)
|
||||
SPARE.CHANGE.A=Type(F1),AuxType(8E00),Access(C3)
|
||||
SPARE.CHANGE.G=Type(F1),AuxType(9600),Access(C3)
|
||||
|
46
res/demosrc/space.quarks.a
Normal file
46
res/demosrc/space.quarks.a
Normal file
@ -0,0 +1,46 @@
|
||||
;license:MIT
|
||||
;(c) 2021 by qkumba
|
||||
|
||||
!cpu 6502
|
||||
!to "res/DEMO/SPACE.QUARKS",plain
|
||||
*=$B000
|
||||
|
||||
!source "src/prelaunch/common.a"
|
||||
|
||||
+READ_RAM2_WRITE_RAM2
|
||||
jsr EnableAccelerator
|
||||
+LOAD_FILE_AT space_quarks, $00
|
||||
lda #$4C
|
||||
sta $3EC9
|
||||
jsr $3E65 ; decompress/set reset vector
|
||||
+RESET_VECTOR $100
|
||||
lda #$EA
|
||||
sta $1C38
|
||||
sta $1C39
|
||||
sta $1C3A
|
||||
sta $0D6F
|
||||
sta $0D70
|
||||
sta $0D71
|
||||
lda #$4C
|
||||
sta $1C3F
|
||||
sta $0D76
|
||||
ldx #0
|
||||
stx $1C40
|
||||
stx $0D77
|
||||
inx
|
||||
stx $1C41
|
||||
stx $0D78
|
||||
ldx #16
|
||||
- lda patch, x
|
||||
sta $72BD, x
|
||||
dex
|
||||
bpl -
|
||||
jsr DisableAccelerator
|
||||
+READ_ROM_NO_WRITE
|
||||
jmp $20A
|
||||
|
||||
space_quarks
|
||||
!byte 27
|
||||
!text "X/SPACE.QUARKS/SPACE.QUARKS"
|
||||
|
||||
patch !byte $F0,$08,$AD,$00,$C0,$10,$0D,$4C,$00,$01,$CE,$05,$03,$F0,$F8,$68,$68
|
Loading…
Reference in New Issue
Block a user