sb: update title screen

This commit is contained in:
Vince Weaver 2023-06-01 23:46:07 -04:00
parent ec60687498
commit 3e0a94861f
4 changed files with 19 additions and 9 deletions

View File

@ -20,11 +20,8 @@ sb.dsk: QBOOT QLOAD TITLE DUCK_POND ROOF RAT
$(DOS33_RAW) sb.dsk 1 0 QLOAD 0 0
$(DOS33_RAW) sb.dsk 2 0 TITLE 0 0
$(DOS33_RAW) sb.dsk 5 0 DUCK_POND 0 0
$(DOS33_RAW) sb.dsk 8 0 ROOF 0 0
$(DOS33_RAW) sb.dsk 11 0 RAT 0 0
# $(DOS33) -y sb.dsk BSAVE -a 0x1000 DUCK_POND
# $(DOS33) -y sb.dsk BSAVE -a 0x0c00 SB
# $(DOS33) -y sb.dsk BSAVE -a 0x6000 RAT
$(DOS33_RAW) sb.dsk 8 0 ROOF 0 0
$(DOS33_RAW) sb.dsk 11 0 RAT 0 0
####
@ -83,6 +80,7 @@ title.o: title.s zx02_optim.s \
title_sound/purple.btc.zx02 \
title_graphics/czmg4ap_title.hgr.zx02 \
title_graphics/videlectrix_top.hgr.zx02 \
title_graphics/the_cheat_loading.hgr.zx02 \
title_graphics/title_sprites.inc
ca65 -o title.o title.s -l title.lst

View File

@ -183,7 +183,7 @@ sector_array:
length_array:
.byte 32, 16, 16, 32 ; TITLE, DUCK, ROOF, ASPLODE
.byte 36, 16, 16, 32 ; TITLE, DUCK, ROOF, ASPLODE
.byte 32, 32, 32, 32 ; TARGET, CLIFF, RAT

View File

@ -131,6 +131,9 @@ load_title_image:
jsr full_decomp
lda #0
sta MENU_ITEM
;==========================
; Play sound
;===========================
@ -156,9 +159,6 @@ skip_purple:
sta SPRITE_Y
jsr hgr_draw_sprite
lda #0
sta MENU_ITEM
lda #1
sta NOT_FIRST_TIME
main_loop:
@ -256,6 +256,16 @@ load_from_arrow:
inc MENU_ITEM ; it's zero indexed
load_new_program:
lda #<loading_data
sta ZX0_src
lda #>loading_data
sta ZX0_src+1
lda #$20 ; decompress to hgr page1
jsr full_decomp
lda MENU_ITEM
sta WHICH_LOAD
rts
@ -273,6 +283,8 @@ title_data:
.incbin "title_graphics/czmg4ap_title.hgr.zx02"
vid_top:
.incbin "title_graphics/videlectrix_top.hgr.zx02"
loading_data:
.incbin "title_graphics/the_cheat_loading.hgr.zx02"
purple_data:
.incbin "title_sound/purple.btc.zx02"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 22 KiB