mirror of
https://github.com/a2-4am/4cade.git
synced 2024-08-31 18:29:31 +00:00
add Pollywog demo
This commit is contained in:
parent
342181ccdf
commit
3c6b432cfd
@ -5,3 +5,4 @@
|
||||
|
||||
POLLYWOG=C
|
||||
POLLYWOG=D
|
||||
POLLYWOG=0
|
||||
|
34
src/demo/pollywog.a
Normal file
34
src/demo/pollywog.a
Normal file
@ -0,0 +1,34 @@
|
||||
;license:MIT
|
||||
;(c) 2024 by qkumba
|
||||
|
||||
!cpu 6502
|
||||
!to "build/DEMO/POLLYWOG#060300",plain
|
||||
*=$300
|
||||
|
||||
!source "src/constants.a" ; no code in these
|
||||
!source "src/macros.a"
|
||||
|
||||
+ENABLE_ACCEL_LC
|
||||
+LOAD_XSINGLE title
|
||||
|
||||
+USES_TEXT_PAGE_2
|
||||
+ENABLE_ACCEL
|
||||
lda #$60
|
||||
sta $5A0D
|
||||
jsr $800 ; decompress
|
||||
jsr $BE06
|
||||
ldx #4
|
||||
- lda patch,x
|
||||
sta $7981,x
|
||||
dex
|
||||
bpl -
|
||||
+DISABLE_ACCEL
|
||||
jmp $792E
|
||||
|
||||
patch !byte $83, $79, $4c, 0, 1
|
||||
|
||||
title +PSTRING "POLLYWOG"
|
||||
|
||||
!if * > $3F0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
Loading…
Reference in New Issue
Block a user