fn: add final screen

This commit is contained in:
Vince Weaver 2023-05-03 18:49:11 -04:00
parent 034b22db48
commit 3bc06db7ba
4 changed files with 20 additions and 6 deletions

View File

@ -42,6 +42,7 @@ fn.o: fn.s zx02_optim.s duet.s hgr_sprite_mask.s hgr_sprite.s hgr_tables.s \
fn_graphics/a2_fortnight_100.hgr.zx02 \
fn_graphics/a2_fortnight_rat1.hgr.zx02 \
fn_graphics/a2_fortnight_rat2.hgr.zx02 \
fn_graphics/a2_break.hgr.zx02 \
fn_graphics/disk_sprites.inc
ca65 -o fn.o fn.s -l fn.lst

View File

@ -303,17 +303,19 @@ play_music:
jsr play_ed
rat_loop:
; bit PAGE1
; jsr wait_until_keypress
lda #<break_image
sta ZX0_src
lda #>break_image
sta ZX0_src+1
lda #$20
jsr full_decomp
bit PAGE1
; bit PAGE2
jsr wait_until_keypress
; jmp rat_loop
jmp fortnight_start
@ -363,6 +365,8 @@ rat1_image:
.incbin "fn_graphics/a2_fortnight_rat1.hgr.zx02"
rat2_image:
.incbin "fn_graphics/a2_fortnight_rat2.hgr.zx02"
break_image:
.incbin "fn_graphics/a2_break.hgr.zx02"
.include "fn_graphics/disk_sprites.inc"

View File

@ -15,6 +15,7 @@ all: a2_fortnight.hgr.zx02 \
a2_fortnight_100.hgr.zx02 \
a2_fortnight_rat1.hgr.zx02 \
a2_fortnight_rat2.hgr.zx02 \
a2_break.hgr.zx02 \
disk_sprites.inc
@ -40,6 +41,14 @@ disk_sprites.inc: a2_fortnight_sprites.png
####
a2_break.hgr.zx02: a2_break.hgr
$(ZX02) a2_break.hgr a2_break.hgr.zx02
a2_break.hgr: a2_break.png
$(PNG_TO_HGR) a2_break.png > a2_break.hgr
####

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB