mirror of
https://github.com/a2-4am/4cade.git
synced 2024-12-23 16:29:34 +00:00
runtime-demo Sneakers
This commit is contained in:
parent
c8ff4b352b
commit
44e5c346ab
Binary file not shown.
Binary file not shown.
@ -145,8 +145,7 @@ SERPENTINE=Type(06),AuxType(0300),Access(C3)
|
||||
SERPENTINE.1=Type(F1),AuxType(0000),Access(C3)
|
||||
SNAKE.BYTE=Type(06),AuxType(0300),Access(C3)
|
||||
SNAKE.BYTE.1=Type(F1),AuxType(0000),Access(C3)
|
||||
SNEAKERS=Type(06),AuxType(0800),Access(C3)
|
||||
SNEAKERS.1=Type(F1),AuxType(0000),Access(C3)
|
||||
SNEAKERS=Type(06),AuxType(0300),Access(C3)
|
||||
SPACE.EGGS=Type(06),AuxType(0300),Access(C3)
|
||||
SPACE.EGGS.1=Type(F1),AuxType(0000),Access(C3)
|
||||
SPACE.QUARKS=Type(06),AuxType(B000),Access(C3)
|
||||
|
38
res/demosrc/sneakers.a
Normal file
38
res/demosrc/sneakers.a
Normal file
@ -0,0 +1,38 @@
|
||||
;license:MIT
|
||||
;(c) 2021 by qkumba
|
||||
|
||||
!cpu 6502
|
||||
!to "res/DEMO/SNEAKERS",plain
|
||||
*=$300
|
||||
|
||||
!source "src/prelaunch/common.a"
|
||||
|
||||
+READ_RAM2_WRITE_RAM2
|
||||
jsr EnableAccelerator
|
||||
+LOAD_FILE_AT sneakers, $00
|
||||
lda #$60
|
||||
sta $84c7
|
||||
jsr $3ffa ; decompress
|
||||
ldx #0
|
||||
stx $54AB
|
||||
inx
|
||||
stx $54AC
|
||||
stx $9E2F ; reset vector patch
|
||||
ldx #8
|
||||
- lda patch, x
|
||||
sta $4068, x
|
||||
dex
|
||||
bpl -
|
||||
jsr DisableAccelerator
|
||||
+READ_ROM_NO_WRITE
|
||||
jmp $9e00
|
||||
|
||||
sneakers
|
||||
!byte 19
|
||||
!text "X/SNEAKERS/SNEAKERS"
|
||||
|
||||
patch !byte $10,$03,$4C,$00,$01,$EA,$EA,$A9,$00
|
||||
|
||||
!if * > $3F0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
Loading…
Reference in New Issue
Block a user