riven_hgr: hook up disk change message

This commit is contained in:
Vince Weaver 2024-05-28 19:40:16 -04:00
parent 5936f4d921
commit ba62a274da
5 changed files with 51 additions and 2 deletions

View File

@ -160,6 +160,7 @@ MOVIE2: movie2.o
movie2.o: movie2.s \
zp.inc hardware.inc \
end_message/end_message.gr.zx02 \
movie2/movie2.inc
ca65 -o movie2.o movie2.s -l movie2.lst

View File

@ -0,0 +1,20 @@
include ../../../Makefile.inc
ZX02 = ~/research/6502_compression/zx02.git/build/zx02
PNG2GR = ../../../utils/gr-utils/png2gr
all: end_message.gr.zx02
####
%.gr: %.png
$(PNG2GR) $< $@
%.gr.zx02: %.gr
$(ZX02) -f $< $@
####
clean:
rm -f *~ *.o *.lst *.zx02 *.gr

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

View File

@ -0,0 +1,12 @@
012345678901234567890123456789012345789
PLEASE INSERT DISK 40
**************************
* Please Insert Disk 40. *
* _________ *
* | | | | *
* | | |\ /| *
* --------- *
* *
**************************

View File

@ -180,10 +180,25 @@ done_play_movie2:
jsr wait_50xms
lda #<end_message
sta ZX0_src
lda #>end_message
sta ZX0_src+1
lda #$04
jsr full_decomp
bit PAGE1
bit SET_TEXT
done_movie2:
bit KEYRESET
jmp movie2_start
forever_and_ever:
jmp forever_and_ever
; jmp movie2_start
rts
@ -571,4 +586,5 @@ overlays_combined_zx02:
.incbin "movie2/overlays/overlay_combined.zx02"
end_message:
.incbin "end_message/end_message.gr.zx02"