diff --git a/games/sb/fish/Makefile b/games/sb/fish/Makefile index 1d61735f..21acc32c 100644 --- a/games/sb/fish/Makefile +++ b/games/sb/fish/Makefile @@ -19,6 +19,8 @@ fish.o: fish.s zx02_optim.s \ graphics/fish_sprites.inc \ sounds/fish.btc.zx02 \ sounds/get_in_boat.btc.zx02 \ + hgr_sprite.s \ + hgr_sprite_mask.s \ hgr_sprite_big.s \ audio.s play_sounds.s \ zp.inc hardware.inc diff --git a/games/sb/fish/fish.s b/games/sb/fish/fish.s index 08e66627..86c58ec2 100644 --- a/games/sb/fish/fish.s +++ b/games/sb/fish/fish.s @@ -216,6 +216,12 @@ load_background: sta HGR_PAGE jsr hgr_make_tables + ; testing + lda #$12 + sta SCORE_L + lda #$78 + sta SCORE_H + ; start at least 8k in? @@ -229,24 +235,16 @@ main_loop: jsr flip_page -.if 0 ;======================== - ; copy over background ;======================== -reset_loop: + ; draw the scene + ;======================== + ;======================== - lda FRAME - and #$2 - beq odd_bg -even_bg: - lda #$A0 - bne do_bg -odd_bg: - lda #$80 -do_bg: - jsr hgr_copy -.endif + + ;================================== + ; copy over (erase) old background lda #sb_sprite,>sb_fish1_sprite .byte >sb_sprite +numbers_h: + .byte >zero_sprite,>one_sprite,>two_sprite + .byte >three_sprite,>four_sprite,>five_sprite + .byte >six_sprite,>seven_sprite,>eight_sprite + .byte >nine_sprite + +numbers_l: + .byte