diff --git a/demos/second/part01_intropan/graphics/Makefile b/demos/second/part01_intropan/graphics/Makefile index f3c74ea3..660351df 100644 --- a/demos/second/part01_intropan/graphics/Makefile +++ b/demos/second/part01_intropan/graphics/Makefile @@ -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 diff --git a/demos/second/part01_intropan/graphics/demosplash.png b/demos/second/part01_intropan/graphics/demosplash.png new file mode 100644 index 00000000..48a888af Binary files /dev/null and b/demos/second/part01_intropan/graphics/demosplash.png differ diff --git a/demos/second/part01_intropan/graphics/mockingboard.png b/demos/second/part01_intropan/graphics/mockingboard.png new file mode 100644 index 00000000..2f0092e1 Binary files /dev/null and b/demos/second/part01_intropan/graphics/mockingboard.png differ diff --git a/demos/second/part01_intropan/intro.s b/demos/second/part01_intropan/intro.s index 6f325e58..5dd323ff 100644 --- a/demos/second/part01_intropan/intro.s +++ b/demos/second/part01_intropan/intro.s @@ -30,6 +30,38 @@ intro_start: jsr hgr_page1_clearscreen + ; demosplash + + 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_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: