Let's animate

This commit is contained in:
Pecusx
2025-02-11 19:21:39 +01:00
parent 954d89c861
commit a058c238ac
16 changed files with 71 additions and 14 deletions
-1
View File
@@ -1 +0,0 @@
 !"#$%&6789;<= !"#$%&
-1
View File
@@ -1 +0,0 @@
 !"#$%&6789;<= !"#$%&
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+68 -9
View File
@@ -45,9 +45,11 @@ dl_level
.by $44
.wo gamescreen_upper
:17 .by $04
.by $44+$80
.wo gamescreen_lower1
:9 .by $04
.by $84
.by $44
animation_addr
.wo gamescreen_lower1r
:8 .by $04
.by $41
.wo dl_level
;---------------------------------------------------
@@ -107,10 +109,10 @@ l18
.by $01, $04, $01, $01, $01, $01, $01, $04, $01, $01, $01, $1D, $2E, $1F, $20, $21
.by $22, $23, $32, $25, $26, $01, $04, $01, $01, $01, $01, $01, $01, $01, $05, $05
l19
gamescreen_lower1
.by $01, $04, $01, $01, $01, $01, $01, $04, $01, $01, $01, $1D, $32, $1F, $20, $21
.by $22, $23, $24, $25, $26, $01, $04, $01, $01, $01, $01, $01, $01, $01, $05, $05
l20
gamescreen_lower1r
.by $02, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $1D, $1E, $1F, $20, $21
.by $22, $23, $24, $25, $26, $01, $01, $01, $01, $01, $01, $07, $88, $01, $01, $01
l21
@@ -137,6 +139,46 @@ l27
l28
.by $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $27, $28, $28, $28, $28, $28
.by $28, $28, $28, $28, $28, $29, $01, $7C, $7D, $01, $01, $7E, $7F, $01, $01, $01
gamescreen_lower2r
.by $82, $01, $01, $01, $01, $01, $01, $01, $01, $02, $01, $1D, $1E, $1F, $20, $21
.by $22, $23, $24, $25, $26, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01
.by $01, $01, $01, $01, $01, $01, $01, $03, $01, $83, $01, $1D, $1E, $1F, $20, $21
.by $22, $23, $24, $25, $26, $03, $03, $01, $01, $06, $0B, $01, $01, $01, $01, $01
.by $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $1D, $1E, $1F, $20, $21
.by $22, $23, $24, $25, $26, $01, $03, $01, $04, $0C, $0D, $01, $01, $01, $01, $01
.by $01, $01, $01, $01, $01, $01, $01, $02, $01, $1D, $1E, $1F, $20, $21, $22, $23
.by $24, $25, $26, $01, $01, $03, $01, $8E, $8F, $10, $11, $92, $93, $01, $01, $01
.by $01, $01, $01, $01, $01, $01, $01, $03, $01, $1D, $1E, $1F, $20, $21, $22, $23
.by $24, $25, $26, $01, $01, $01, $01, $94, $95, $96, $97, $98, $99, $1A, $1B, $01
.by $01, $01, $01, $01, $02, $01, $01, $02, $01, $1D, $1E, $1F, $20, $21, $22, $23
.by $24, $25, $26, $01, $01, $01, $01, $D0, $1C, $2C, $2D, $2E, $AF, $30, $31, $01
.by $01, $01, $01, $01, $01, $01, $01, $01, $01, $1D, $1E, $1F, $20, $21, $22, $23
.by $24, $25, $26, $01, $01, $01, $01, $F3, $F4, $F4, $F4, $F4, $F5, $01, $01, $01
.by $02, $01, $01, $01, $01, $01, $01, $01, $01, $1D, $1E, $1F, $20, $21, $22, $23
.by $24, $25, $26, $01, $01, $01, $01, $76, $77, $78, $79, $7A, $7B, $03, $02, $03
.by $01, $01, $01, $01, $01, $01, $03, $01, $01, $01, $27, $28, $28, $28, $28, $28
.by $28, $28, $28, $28, $28, $29, $01, $7C, $7D, $01, $01, $7E, $7F, $01, $01, $01
gamescreen_lower3r
.by $82, $01, $01, $01, $01, $01, $01, $01, $01, $02, $01, $1D, $1E, $1F, $20, $21
.by $22, $23, $24, $25, $26, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01
.by $01, $01, $01, $01, $01, $01, $01, $03, $01, $83, $01, $1D, $1E, $1F, $20, $21
.by $22, $23, $24, $25, $26, $03, $03, $01, $01, $5A, $5B, $01, $01, $01, $01, $01
.by $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $1D, $1E, $1F, $20, $21
.by $22, $23, $24, $25, $26, $01, $03, $01, $01, $5E, $5F, $01, $01, $01, $01, $01
.by $01, $1D, $1E, $1F, $20, $21, $22, $23, $24, $25, $26, $01, $01, $01, $01, $01
.by $01, $01, $01, $01, $01, $03, $01, $E0, $E1, $62, $63, $E6, $B2, $01, $01, $01
.by $01, $1D, $1E, $1F, $20, $21, $22, $23, $24, $25, $26, $01, $01, $01, $01, $01
.by $01, $01, $01, $33, $34, $36, $37, $B8, $B9, $3A, $3B, $BC, $BD, $01, $01, $01
.by $01, $1D, $1E, $1F, $20, $21, $22, $23, $24, $25, $26, $01, $01, $01, $01, $01
.by $01, $01, $01, $3E, $3F, $41, $42, $C3, $44, $45, $46, $CE, $CF, $01, $01, $01
.by $01, $1D, $1E, $1F, $20, $21, $22, $23, $24, $25, $26, $01, $01, $01, $01, $01
.by $01, $01, $01, $01, $01, $01, $01, $F3, $F4, $F4, $F4, $F4, $F5, $01, $01, $01
.by $02, $1D, $1E, $1F, $20, $21, $22, $23, $24, $25, $26, $01, $01, $01, $01, $01
.by $01, $01, $01, $01, $01, $01, $01, $76, $77, $78, $79, $7A, $7B, $03, $02, $03
.by $01, $01, $01, $01, $01, $01, $03, $01, $01, $01, $27, $28, $28, $28, $28, $28
.by $28, $28, $28, $28, $28, $29, $01, $7C, $7D, $01, $01, $7E, $7F, $01, $01, $01
;--------------------------------------------------
;icl 'lib/fileio.asm'
;--------------------------------------------------
@@ -287,12 +329,18 @@ EndOfStartScreen */
loop
; PUT GAME HERE
jsr wait_for_press
jsr wait_for_depress
mwa #gamescreen_lower1r animation_addr
jsr wait_for_press
jsr wait_for_depress
mwa #gamescreen_lower2r animation_addr
jsr wait_for_press
jsr wait_for_depress
mwa #gamescreen_lower3r animation_addr
NoAuto
jne loop
jmp loop
LevelOver
; level over
jsr wait_for_depress
@@ -342,7 +390,7 @@ LevelOver
lda #0 ;starting song line 0-255 to A reg
jsr RASTERMUSICTRACKER ;Init
*/
mwa #gamescreen_lower1r animation_addr
lda #@dmactl(standard|dma)
sta dmactls
mwa #dl_level dlptrs
@@ -374,6 +422,17 @@ noingame
*/ rts
.endp
;--------------------------------------------------
.proc wait_for_press ; ion
;--------------------------------------------------
lda TRIG0
beq press_ok
lda CONSOL
and:cmp #%00000111
beq wait_for_press
press_ok
rts
.endp
;--------------------------------------------------
.proc wait_for_depress ; ion
;--------------------------------------------------
lda CONSOL
BIN
View File
Binary file not shown.