From 02e36c7980a2a5627b5d3b825951ac4f290fa0ec Mon Sep 17 00:00:00 2001 From: Vince Weaver Date: Tue, 3 Jan 2023 23:59:57 -0500 Subject: [PATCH] zero_wing: some more graphics --- music/zero_wing/graphics/Makefile | 10 +++- music/zero_wing/graphics/ship.png | Bin 0 -> 1051 bytes music/zero_wing/zw.s | 94 +++++++++++++++++++++++++++--- 3 files changed, 94 insertions(+), 10 deletions(-) create mode 100644 music/zero_wing/graphics/ship.png diff --git a/music/zero_wing/graphics/Makefile b/music/zero_wing/graphics/Makefile index cfb9485f..e012331e 100644 --- a/music/zero_wing/graphics/Makefile +++ b/music/zero_wing/graphics/Makefile @@ -3,7 +3,7 @@ include ../../../Makefile.inc ZX02 = ~/research/6502_compression/zx02.git/build/zx02 PNG_TO_HGR = ../../../utils/hgr-utils/png2hgr -all: cats.hgr.zx02 captain.hgr.zx02 operator.hgr.zx02 +all: cats.hgr.zx02 captain.hgr.zx02 operator.hgr.zx02 ship.hgr.zx02 #### @@ -29,6 +29,14 @@ operator.hgr.zx02: operator.hgr operator.hgr: operator.png $(PNG_TO_HGR) operator.png > operator.hgr +#### + +ship.hgr.zx02: ship.hgr + $(ZX02) ship.hgr ship.hgr.zx02 + +ship.hgr: ship.png + $(PNG_TO_HGR) ship.png > ship.hgr + #### diff --git a/music/zero_wing/graphics/ship.png b/music/zero_wing/graphics/ship.png new file mode 100644 index 0000000000000000000000000000000000000000..a5f76a699b631e915d11c8f435d45af5d06606b5 GIT binary patch literal 1051 zcmV+$1mydPP)EX>4Tx04R}tkv&MmP!xqvQ>7vmhjtJV$xxjvh>AFB6^c+H)C#RSn7s54nlvOS zE{=k0!NH%!s)LKOt`4q(Aov5~>f)s6A|>9J6k5c1!y_N(-E(;FK0s(xm}Yg21DbA| z>10C8=2pefD+2UIFpRLwEMrcRQt+*>d+MdSi}Ni1zCWu^&07ozh{UtZFm2)u;^|G> z;Ji;9WhGf9J|`YC>43zKTvt4P<6LxE;F(b~lb$Dz5{tzSRyvrKOpSPoIHqbkH~2kUt1vm?C500}_lx6vi~ylspjmgE?_eSad^g zZEa<4bO1wgWnpw>WFU8GbZ8()Nlj2!fese{00HMoL_t(|+U=UzalZ#6AjbVcsDs$p}A8j zHYPQDTmE)8DWw8ysxzgWd(`8yU`;k^p2jL2dEMg{mBn6NdcM{Owe{+*+6k^UYU?yN zCmoHvL`|cbJHn;f9N&?lu~Q^mo@a05I@y>yd!~4U7)Do$%RL(EMJK-6Sh2b0Jn2=@ zsx(bnIvtga$tzfnjd^BxYlt(&M`oKhb()9toONou+!~A1CNm+I_j)ph2@Op-`zX1X zHV1b##fSBT$V|PdDYBGfNVN=}>rL`v` Vo686kfv5lg002ovPDHLkV1g4k(inad_text + sta OUTH + + jsr move_and_print + + jsr wait_until_keypress + + ;============================= + ; War was beginning + ;============================= + + + jsr HOME + + lda #ship_data + sta zx_src_h+1 + + lda #$20 + + jsr zx02_full_decomp + + jsr move_and_print + + jsr wait_until_keypress + ;============================= ; OPERATOR ;============================= @@ -111,21 +149,59 @@ load_loop: .include "text_print.s" .include "gr_offsets.s" -cats_data: - .incbin "graphics/cats.hgr.zx02" +inad_text: + .byte 14,21,"IN A.D. 2101",0 +war_text: + .byte 11,21,"WAR WAS BEGINNING.",0 +what_text: + .byte 0,21,"CAPTAIN: WHAT HAPPEN ?",0 ; scroll +bomb_text: + .byte 0,21,"MECHANIC: SOMEBODY SET UP US",0 + .byte 10,21, "THE BOMB.",0 +operator_text: + .byte 0,20,"OPERATOR: WE GET SIGNAL.",0 + .byte 1,22, "CAPTAIN: WHAT !",0 +main_text: + .byte 0,20,"OPERATOR: MAIN SCREEN TURN ON.",0 +you_text: + .byte 0,20,"CAPTAIN: IT'S YOU !!",0 cats_text: .byte 0,21,"CATS: HOW ARE YOU GENTLEMEN !!",0 +base_text: + .byte 0,21,"CATS: ALL YOUR BASE ARE BELONG",0 + .byte 6,22, "TO US.",0 +destruction_text: + .byte 0,21,"CATS: YOU ARE ON THE WAY TO",0 + .byte 6,22, "DESTRUCTION.",0 +captain_text: + .byte 0,21,"CAPTAIN: WHAT YOU SAY !!",0 +survive_text: + .byte 0,21,"CATS: YOU HAVE NO CHANCE TO",0 + .byte 6,22, "SURVIVE MAKE YOUR TIME.",0 +ha_text: + .byte 0,21,"CATS: HA HA HA HA ....",0 +op_cap_text: + .byte 0,21,"OPERATOR: CAPTAIN !!",0 +zig_text: + .byte 0,21,"CAPTAIN: TAKE OFF EVERY 'ZIG'!!",0 +doing_text: + .byte 0,21,"CAPTAIN: YOU KNOW WHAT YOU DOING.",0 +move_zig_text: + .byte 0,21,"CAPTAIN: MOVE 'ZIG'.",0 +justice_text: + .byte 0,21,"CAPTAIN: FOR GREAT JUSTICE.",0 + +cats_data: + .incbin "graphics/cats.hgr.zx02" captain_data: .incbin "graphics/captain.hgr.zx02" -captain_text: - .byte 0,21,"CAPTAIN: WHAT YOU SAY !!",0 - operator_data: .incbin "graphics/operator.hgr.zx02" -operator_text: - .byte 0,20,"OPERATOR: WE GET SIGNAL.",0 - .byte 1,22,"CAPTAIN: WHAT !",0 +ship_data: + .incbin "graphics/ship.hgr.zx02" + +