intro: add powerup sequence

This commit is contained in:
Vince Weaver 2019-02-16 14:11:50 -05:00
parent 9203134ad8
commit f7a7214bdd
7 changed files with 197 additions and 29 deletions

View File

@ -727,12 +727,12 @@ uz_loop:
; Display rises up
;=================================
; lda #<powerup_sequence
; sta INTRO_LOOPL
; lda #>powerup_sequence
; sta INTRO_LOOPH
lda #<powerup_sequence
sta INTRO_LOOPL
lda #>powerup_sequence
sta INTRO_LOOPH
; jsr run_sequence
jsr run_sequence
;=================================
@ -758,11 +758,6 @@ uz_loop:
jsr run_sequence
unzapped_loop:
lda KEYPRESS
bpl unzapped_loop
bit KEYRESET
;===============================
; Peanut OS
;===============================
@ -1547,6 +1542,20 @@ static_pattern:
.word static02_rle ; 6
.word static01_rle ; 8
; Power-up sequence
powerup_sequence:
.byte 30
.word powerup01_rle
.byte 20
.word powerup02_rle
.byte 20
.word powerup03_rle
.byte 60
.word powerup03_rle
.byte 0
; Cursor sequence
cursor_sequence:
@ -1564,9 +1573,9 @@ cursor_sequence:
.word cursor06_rle
.byte 20
.word cursor07_rle
.byte 20
.byte 60
.word cursor08_rle
.byte 20
.byte 0
.word cursor08_rle
.byte 0

View File

@ -7,8 +7,12 @@ all: intro_desktop.inc intro_cursor.inc
#####
intro_desktop.inc: $(PNG2RLE) intro_desktop.png
intro_desktop.inc: $(PNG2RLE) intro_desktop.png \
powerup01.png powerup02.png powerup03.png
$(PNG2RLE) asm intro_desktop.png desktop_rle > intro_desktop.inc
$(PNG2RLE) asm powerup01.png powerup01_rle >> intro_desktop.inc
$(PNG2RLE) asm powerup02.png powerup02_rle >> intro_desktop.inc
$(PNG2RLE) asm powerup03.png powerup03_rle >> intro_desktop.inc
#####

View File

@ -28,25 +28,180 @@ desktop_rle: .byte $28 ; ysize=48
.byte $02, $20, $00, $22,$22, $A3,$00, $25,$25, $66
.byte $00, $02, $22, $26, $60, $A4,$00, $02
.byte $A3,$00, $A6,$22, $00, $A3,$55, $22,$22, $02, $22
.byte $A3,$00, $02, $20, $A5,$00, $22,$22, $56, $00,$00
.byte $A3,$22, $A3,$00, $20, $A4,$00, $A6,$22, $00,$00, $55,$55
.byte $65, $22,$22, $00,$00, $20, $02, $00, $02
.byte $90, $99, $90, $40,$40, $42,$42, $05, $00,$00
.byte $02, $20, $02, $00,$00, $20, $02, $A4,$00
.byte $A6,$22, $00,$00, $55,$55, $66, $22, $02, $00,$00
.byte $22, $A3,$00, $99,$99, $66, $44,$44, $40, $C4
.byte $A7,$00, $20, $02, $A5,$00, $A6,$22, $00,$00, $55
.byte $05, $A5,$00, $10, $00, $01, $00, $03
.byte $06, $00, $A3,$40, $CC, $00, $10, $06
.byte $60, $66, $00, $60, $A7,$00, $A6,$22, $A8,$00
.byte $06, $00, $06, $A5,$00, $30, $36, $03
.byte $00, $06, $00,$00, $04, $00, $55, $66
.byte $A7,$00, $A4,$22, $02, $AD,$00, $03, $22, $25
.byte $55, $A9,$00, $52, $66, $A7,$00, $22,$22, $02
.byte $A3,$00, $02, $20, $90, $99, $90, $00,$00
.byte $22,$22, $56, $00,$00, $A3,$22, $A3,$00, $20, $A4,$00
.byte $A6,$22, $00,$00, $55,$55, $65, $22,$22, $00,$00, $20
.byte $02, $00, $02, $99,$99, $66, $00,$00, $02,$02
.byte $05, $00,$00, $02, $20, $02, $00,$00, $20
.byte $02, $A4,$00, $A6,$22, $00,$00, $55,$55, $66, $22
.byte $02, $00,$00, $22, $A3,$00, $39, $69, $06
.byte $AB,$00, $20, $02, $A5,$00, $A6,$22, $00,$00, $55
.byte $05, $A5,$00, $10, $00, $01, $A4,$00, $A3,$44
.byte $C4, $00, $10, $06, $60, $66, $00
.byte $60, $A7,$00, $A6,$22, $A8,$00, $06, $00, $06
.byte $A5,$00, $30, $36, $03, $00, $06, $00,$00
.byte $04, $50, $55, $66, $A7,$00, $A4,$22, $02
.byte $AD,$00, $03, $22, $25, $55, $A8,$00, $55
.byte $52, $66, $A7,$00, $22,$22, $02, $AF,$00, $02
.byte $22, $00, $25, $A3,$00, $01, $A4,$00, $55,$55
.byte $66, $A7,$00, $02, $A0,$11,$00, $22, $50, $00
.byte $50,$50, $05, $A7,$00, $55, $66, $A0,$15,$00, $20
.byte $A3,$00, $02,$02, $22, $AA,$00, $55, $66, $A0,$16,$00
.byte $02, $A4,$00, $22,$22, $20, $A8,$00, $06, $A0,$A8,$00
.byte $A1
powerup01_rle: .byte $28 ; ysize=48
.byte $A5,$22, $20, $22, $00, $02, $A5,$22, $02
.byte $A3,$00, $22, $A3,$00, $25, $22, $00, $A3,$22
.byte $00, $20, $50, $A3,$00, $62, $A5,$00, $A8,$22
.byte $20, $00, $02, $22, $02, $00, $20
.byte $00,$00, $22, $00, $20, $00,$00, $02,$02, $00
.byte $22, $20, $22, $00, $22,$22, $A3,$00, $06
.byte $60, $A4,$00, $22,$22, $02, $00, $02, $A5,$22
.byte $20, $00, $20, $22,$22, $00, $22, $00,$00
.byte $62, $22, $20, $00, $20, $02, $00
.byte $22, $00, $02, $20, $A5,$00, $06, $60
.byte $A3,$00, $A3,$22, $20,$20, $AA,$22, $00,$00, $20, $00
.byte $A4,$22, $20, $00,$00, $22, $A3,$00, $02, $20
.byte $22,$22, $00,$00, $26, $A3,$00, $AB,$22, $02, $52
.byte $22,$22, $20, $00, $22, $00, $02, $A5,$22
.byte $50, $52, $20,$20, $22,$22, $02, $A3,$22, $A5,$00
.byte $AA,$22, $20, $05, $55, $25, $22, $00,$00
.byte $22, $A6,$00, $02, $56, $55, $22, $A7,$02
.byte $00, $62, $A3,$00, $A6,$22, $00, $A3,$56, $22,$22
.byte $20, $22,$22, $00,$00, $22, $A5,$00, $20, $02
.byte $00, $22, $20, $A8,$00, $66, $A3,$00, $A6,$22
.byte $00, $A3,$55, $22,$22, $A3,$02, $00,$00, $22, $00,$00
.byte $20, $22,$22, $02, $00, $22, $00, $22
.byte $20, $A7,$00, $66, $A3,$00, $A6,$22, $00, $55
.byte $52, $55, $00,$00, $A3,$60, $00, $20, $00
.byte $20, $A3,$22, $02, $A5,$00, $22,$22, $A6,$00, $66
.byte $A3,$00, $A6,$22, $00, $A3,$55, $26,$26, $A3,$22, $00
.byte $02, $20, $00, $22,$22, $A3,$00, $25,$25, $66
.byte $00, $02, $22, $26, $60, $A4,$00, $02
.byte $A3,$00, $A6,$22, $00, $A3,$55, $22,$22, $02, $22
.byte $A3,$00, $02, $20, $90, $99, $90, $00,$00
.byte $22,$22, $56, $00,$00, $A3,$22, $A3,$00, $20, $A4,$00
.byte $A6,$22, $00,$00, $55,$55, $65, $22,$22, $00,$00, $20
.byte $02, $00, $02, $99,$99, $66, $00,$00, $02,$02
.byte $05, $00,$00, $02, $20, $02, $00,$00, $20
.byte $02, $A4,$00, $A6,$22, $00,$00, $55,$55, $66, $22
.byte $02, $00,$00, $22, $A3,$00, $39, $69, $06
.byte $A4,$04, $A7,$00, $20, $02, $A5,$00, $A6,$22, $00,$00
.byte $55, $05, $A5,$00, $10, $00, $01, $A4,$00
.byte $A3,$44, $CC, $04, $10, $06, $60, $66
.byte $00, $60, $A7,$00, $A6,$22, $A8,$00, $06, $00
.byte $06, $A5,$00, $30, $36, $03, $00, $06
.byte $00,$00, $04, $50, $55, $66, $A7,$00, $A4,$22
.byte $02, $AD,$00, $03, $22, $25, $55, $A8,$00
.byte $55, $52, $66, $A7,$00, $22,$22, $02, $AF,$00
.byte $02, $22, $00, $25, $A3,$00, $01, $A4,$00
.byte $55,$55, $66, $A7,$00, $02, $A0,$11,$00, $22, $50
.byte $00, $50,$50, $05, $A7,$00, $55, $66, $A0,$15,$00
.byte $20, $A3,$00, $02,$02, $22, $AA,$00, $55, $66
.byte $A0,$16,$00, $02, $A4,$00, $22,$22, $20, $A8,$00, $06
.byte $A0,$A8,$00
.byte $A1
powerup02_rle: .byte $28 ; ysize=48
.byte $A5,$22, $20, $22, $00, $02, $A5,$22, $02
.byte $A3,$00, $22, $A3,$00, $25, $22, $00, $A3,$22
.byte $00, $20, $50, $A3,$00, $62, $A5,$00, $A8,$22
.byte $20, $00, $02, $22, $02, $00, $20
.byte $00,$00, $22, $00, $20, $00,$00, $02,$02, $00
.byte $22, $20, $22, $00, $22,$22, $A3,$00, $06
.byte $60, $A4,$00, $22,$22, $02, $00, $02, $A5,$22
.byte $20, $00, $20, $22,$22, $00, $22, $00,$00
.byte $62, $22, $20, $00, $20, $02, $00
.byte $22, $00, $02, $20, $A5,$00, $06, $60
.byte $A3,$00, $A3,$22, $20,$20, $AA,$22, $00,$00, $20, $00
.byte $A4,$22, $20, $00,$00, $22, $A3,$00, $02, $20
.byte $22,$22, $00,$00, $26, $A3,$00, $AB,$22, $02, $52
.byte $22,$22, $20, $00, $22, $00, $02, $A5,$22
.byte $50, $52, $20,$20, $22,$22, $02, $A3,$22, $A5,$00
.byte $AA,$22, $20, $05, $55, $25, $22, $00,$00
.byte $22, $A6,$00, $02, $56, $55, $22, $A7,$02
.byte $00, $62, $A3,$00, $A6,$22, $00, $A3,$56, $22,$22
.byte $20, $22,$22, $00,$00, $22, $A5,$00, $20, $02
.byte $00, $22, $20, $A8,$00, $66, $A3,$00, $A6,$22
.byte $00, $A3,$55, $22,$22, $A3,$02, $00,$00, $22, $00,$00
.byte $20, $22,$22, $02, $00, $22, $00, $22
.byte $20, $A7,$00, $66, $A3,$00, $A6,$22, $00, $55
.byte $52, $55, $00,$00, $A3,$60, $00, $20, $00
.byte $20, $A3,$22, $02, $A5,$00, $22,$22, $A6,$00, $66
.byte $A3,$00, $A6,$22, $00, $A3,$55, $26,$26, $A3,$22, $00
.byte $02, $20, $00, $22,$22, $A3,$00, $25,$25, $66
.byte $00, $02, $22, $26, $60, $A4,$00, $02
.byte $A3,$00, $A6,$22, $00, $A3,$55, $22,$22, $02, $22
.byte $A3,$00, $02, $20, $90, $99, $90, $00,$00
.byte $22,$22, $56, $00,$00, $A3,$22, $A3,$00, $20, $A4,$00
.byte $A6,$22, $00,$00, $55,$55, $65, $22,$22, $00,$00, $20
.byte $02, $00, $02, $99,$99, $66, $40,$40, $42
.byte $02, $45, $00,$00, $02, $20, $02, $00,$00
.byte $20, $02, $A4,$00, $A6,$22, $00,$00, $55,$55, $66
.byte $22, $02, $00,$00, $22, $A3,$00, $39, $69
.byte $06, $A5,$04, $A6,$00, $20, $02, $A5,$00, $A6,$22
.byte $00,$00, $55, $05, $A5,$00, $10, $00, $01
.byte $A4,$00, $A3,$44, $CC, $04, $10, $06, $60
.byte $66, $00, $60, $A7,$00, $A6,$22, $A8,$00, $06
.byte $00, $06, $A5,$00, $30, $36, $03, $00
.byte $06, $00,$00, $04, $50, $55, $66, $A7,$00
.byte $A4,$22, $02, $AD,$00, $03, $22, $25, $55
.byte $A8,$00, $55, $52, $66, $A7,$00, $22,$22, $02
.byte $AF,$00, $02, $22, $00, $25, $A3,$00, $01
.byte $A5,$00, $55, $66, $A7,$00, $02, $A0,$11,$00, $22
.byte $A4,$00, $55,$55, $66, $A7,$00, $02, $A0,$11,$00, $22
.byte $50, $00, $50,$50, $05, $A7,$00, $55, $66
.byte $A0,$15,$00, $20, $A3,$00, $02,$02, $22, $AA,$00, $55
.byte $66, $A0,$16,$00, $02, $A4,$00, $22,$22, $20, $A8,$00
.byte $06, $A0,$A8,$00
.byte $A1
powerup03_rle: .byte $28 ; ysize=48
.byte $A5,$22, $20, $22, $00, $02, $A5,$22, $02
.byte $A3,$00, $22, $A3,$00, $25, $22, $00, $A3,$22
.byte $00, $20, $50, $A3,$00, $62, $A5,$00, $A8,$22
.byte $20, $00, $02, $22, $02, $00, $20
.byte $00,$00, $22, $00, $20, $00,$00, $02,$02, $00
.byte $22, $20, $22, $00, $22,$22, $A3,$00, $06
.byte $60, $A4,$00, $22,$22, $02, $00, $02, $A5,$22
.byte $20, $00, $20, $22,$22, $00, $22, $00,$00
.byte $62, $22, $20, $00, $20, $02, $00
.byte $22, $00, $02, $20, $A5,$00, $06, $60
.byte $A3,$00, $A3,$22, $20,$20, $AA,$22, $00,$00, $20, $00
.byte $A4,$22, $20, $00,$00, $22, $A3,$00, $02, $20
.byte $22,$22, $00,$00, $26, $A3,$00, $AB,$22, $02, $52
.byte $22,$22, $20, $00, $22, $00, $02, $A5,$22
.byte $50, $52, $20,$20, $22,$22, $02, $A3,$22, $A5,$00
.byte $AA,$22, $20, $05, $55, $25, $22, $00,$00
.byte $22, $A6,$00, $02, $56, $55, $22, $A7,$02
.byte $00, $62, $A3,$00, $A6,$22, $00, $A3,$56, $22,$22
.byte $20, $22,$22, $00,$00, $22, $A5,$00, $20, $02
.byte $00, $22, $20, $A8,$00, $66, $A3,$00, $A6,$22
.byte $00, $A3,$55, $22,$22, $A3,$02, $00,$00, $22, $00,$00
.byte $20, $22,$22, $02, $00, $22, $00, $22
.byte $20, $A7,$00, $66, $A3,$00, $A6,$22, $00, $55
.byte $52, $55, $00,$00, $A3,$60, $00, $20, $00
.byte $20, $A3,$22, $02, $A5,$00, $22,$22, $A6,$00, $66
.byte $A3,$00, $A6,$22, $00, $A3,$55, $26,$26, $A3,$22, $00
.byte $02, $20, $00, $22,$22, $A3,$00, $25,$25, $66
.byte $00, $02, $22, $26, $60, $A4,$00, $02
.byte $A3,$00, $A6,$22, $00, $A3,$55, $22,$22, $02, $22
.byte $A3,$00, $02, $20, $90, $99, $90, $00,$00
.byte $22,$22, $56, $00,$00, $A3,$22, $A3,$00, $20, $A4,$00
.byte $A6,$22, $00,$00, $55,$55, $65, $22,$22, $00,$00, $20
.byte $02, $00, $02, $99,$99, $66, $40, $44,$44
.byte $04, $44, $04, $00, $02, $20, $02
.byte $00,$00, $20, $02, $A4,$00, $A6,$22, $00,$00, $55,$55
.byte $66, $22, $02, $00,$00, $22, $A3,$00, $39
.byte $69, $06, $A3,$04, $C4, $04, $A6,$00, $20
.byte $02, $A5,$00, $A6,$22, $00,$00, $55, $05, $A5,$00
.byte $10, $00, $01, $A4,$00, $A3,$44, $CC, $04
.byte $10, $06, $60, $66, $00, $60, $A7,$00
.byte $A6,$22, $A8,$00, $06, $00, $06, $A5,$00, $30
.byte $36, $03, $00, $06, $00,$00, $04, $50
.byte $55, $66, $A7,$00, $A4,$22, $02, $AD,$00, $03
.byte $22, $25, $55, $A8,$00, $55, $52, $66
.byte $A7,$00, $22,$22, $02, $AF,$00, $02, $22, $00
.byte $25, $A3,$00, $01, $A4,$00, $55,$55, $66, $A7,$00
.byte $02, $A0,$11,$00, $22, $50, $00, $50,$50, $05
.byte $A7,$00, $55, $66, $A0,$15,$00, $20, $A3,$00, $02,$02
.byte $22, $AA,$00, $55, $66, $A0,$16,$00, $02, $A4,$00
.byte $22,$22, $20, $A8,$00, $06, $A0,$A8,$00
.byte $A1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB