second: intro, add title cards

This commit is contained in:
Vince Weaver 2023-10-29 01:55:20 -04:00
parent 090a4b9c7c
commit 51ea424c74
4 changed files with 57 additions and 1 deletions

View File

@ -4,7 +4,8 @@ ZX02 = ~/research/6502_compression/zx02.git/build/zx02
PNG_TO_HGR = ../../../../utils/hgr-utils/png2hgr
PNG2GR = ../../../../utils/gr-utils/png2gr
all: igl.hgr.zx02 igr.hgr.zx02 fc_sr_logo.hgr.zx02
all: igl.hgr.zx02 igr.hgr.zx02 fc_sr_logo.hgr.zx02 \
demosplash.hgr.zx02 mockingboard.hgr.zx02
####
@ -22,6 +23,24 @@ igl.hgr.zx02: igl.hgr
igl.hgr: igl.png
$(PNG_TO_HGR) igl.png > igl.hgr
####
mockingboard.hgr.zx02: mockingboard.hgr
$(ZX02) mockingboard.hgr mockingboard.hgr.zx02
mockingboard.hgr: mockingboard.png
$(PNG_TO_HGR) mockingboard.png > mockingboard.hgr
####
demosplash.hgr.zx02: demosplash.hgr
$(ZX02) demosplash.hgr demosplash.hgr.zx02
demosplash.hgr: demosplash.png
$(PNG_TO_HGR) demosplash.png > demosplash.hgr
####
igr.hgr.zx02: igr.hgr

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

View File

@ -30,6 +30,38 @@ intro_start:
jsr hgr_page1_clearscreen
; demosplash
lda #<demosplash_data
sta zx_src_l+1
lda #>demosplash_data
sta zx_src_h+1
lda #$20
jsr zx02_full_decomp
jsr wait_until_keypress
; mockingboard
lda #<mockingboard_data
sta zx_src_l+1
lda #>mockingboard_data
sta zx_src_h+1
lda #$20
jsr zx02_full_decomp
jsr wait_until_keypress
; for pan
; code at $6000
; left page for $2000 at top, we can overwrite
@ -93,6 +125,11 @@ done_intro:
.include "../hgr_table.s"
.include "../hgr_clear_screen.s"
demosplash_data:
.incbin "graphics/demosplash.hgr.zx02"
mockingboard_data:
.incbin "graphics/mockingboard.hgr.zx02"
intro_left_data:
.incbin "graphics/igl.hgr.zx02"
intro_right_data: