hgr_viewer: add another image

This commit is contained in:
Vince Weaver 2022-08-09 23:39:06 -04:00
parent a22670169d
commit 086aaa47cd
4 changed files with 35 additions and 5 deletions

View File

@ -45,6 +45,7 @@ hires_jiskey.dsk: HELLO HIRES_JISKEY \
$(DOS33) -y hires_jiskey.dsk BSAVE -a 0xa000 ./jiskey/witch.hgr.zx02 WITCH.ZX02
$(DOS33) -y hires_jiskey.dsk BSAVE -a 0xa000 ./jiskey/mona.hgr.zx02 MONA.ZX02
$(DOS33) -y hires_jiskey.dsk BSAVE -a 0xa000 ./jiskey/gw.hgr.zx02 GW.ZX02
$(DOS33) -y hires_jiskey.dsk BSAVE -a 0xa000 ./jiskey/skull.hgr.zx02 SKULL.ZX02
####

View File

@ -77,6 +77,22 @@ load_loop:
jsr wait_until_keypress
;=============================
;=============================
lda #<skull_filename
sta OUTL
lda #>skull_filename
sta OUTH
jsr load_image
jsr wait_until_keypress
;=============================
@ -126,3 +142,7 @@ gw_filename: ; .byte "GW.ZX02",0
.byte 'G'|$80,'W'|$80
.byte '.'|$80,'Z'|$80,'X'|$80,'0'|$80,'2'|$80,$00
skull_filename: ; .byte "SKULL.ZX02",0
.byte 'S'|$80,'K'|$80,'U'|$80,'L'|$80,'L'|$80
.byte '.'|$80,'Z'|$80,'X'|$80,'0'|$80,'2'|$80,$00

View File

@ -3,18 +3,18 @@ include ../../../Makefile.inc
ZX02 = ~/research/6502_compression/zx02.git/build/zx02
PNG_TO_HGR = ../../../utils/hgr-utils/png2hgr
all: grl.hgr.zx02 witch.hgr.zx02 mona.hgr.zx02 gw.hgr.zx02
all: grl.hgr.zx02 witch.hgr.zx02 mona.hgr.zx02 gw.hgr.zx02 skull.hgr.zx02
####
witch.hgr.zx02: witch.hgr
$(ZX02) witch.hgr witch.hgr.zx02
$(ZX02) -f witch.hgr witch.hgr.zx02
###
grl.hgr.zx02: grl.hgr
$(ZX02) grl.hgr grl.hgr.zx02
$(ZX02) -f grl.hgr grl.hgr.zx02
###
@ -22,7 +22,7 @@ mona.hgr: mona.png
$(PNG_TO_HGR) mona.png > mona.hgr
mona.hgr.zx02: mona.hgr
$(ZX02) mona.hgr mona.hgr.zx02
$(ZX02) -f mona.hgr mona.hgr.zx02
###
@ -30,7 +30,16 @@ mona.hgr.zx02: mona.hgr
# $(PNG_TO_HGR) gw.png > gw.hgr
gw.hgr.zx02: gw.hgr
$(ZX02) gw.hgr gw.hgr.zx02
$(ZX02) -f gw.hgr gw.hgr.zx02
###
skull.hgr: skull.png
$(PNG_TO_HGR) skull.png > skull.hgr
skull.hgr.zx02: skull.hgr
$(ZX02) -f skull.hgr skull.hgr.zx02
###

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB