mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-06-02 19:42:23 +00:00
sb: add sbzone files
This commit is contained in:
parent
2468c859ac
commit
b29f0334ae
|
@ -12,7 +12,7 @@ all: sb.dsk
|
||||||
|
|
||||||
####
|
####
|
||||||
|
|
||||||
sb.dsk: QBOOT QLOAD TITLE DUCK_POND ROOF TARGET CLIFF RAT
|
sb.dsk: QBOOT QLOAD TITLE DUCK_POND ROOF ASPLODE TARGET CLIFF RAT
|
||||||
cp $(EMPTY_DISK) sb.dsk
|
cp $(EMPTY_DISK) sb.dsk
|
||||||
$(DOS33_RAW) sb.dsk 0 0 QBOOT 0 1
|
$(DOS33_RAW) sb.dsk 0 0 QBOOT 0 1
|
||||||
$(DOS33_RAW) sb.dsk 0 2 QBOOT 1 1
|
$(DOS33_RAW) sb.dsk 0 2 QBOOT 1 1
|
||||||
|
@ -21,10 +21,10 @@ sb.dsk: QBOOT QLOAD TITLE DUCK_POND ROOF TARGET CLIFF RAT
|
||||||
$(DOS33_RAW) sb.dsk 2 0 TITLE 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 5 0 DUCK_POND 0 0
|
||||||
$(DOS33_RAW) sb.dsk 10 0 ROOF 0 0
|
$(DOS33_RAW) sb.dsk 10 0 ROOF 0 0
|
||||||
# $(DOS33_RAW) sb.dsk 15 0 ASPLODE 0 0
|
$(DOS33_RAW) sb.dsk 15 0 ASPLODE 0 0
|
||||||
$(DOS33_RAW) sb.dsk 20 0 TARGET 0 0
|
$(DOS33_RAW) sb.dsk 20 0 TARGET 0 0
|
||||||
$(DOS33_RAW) sb.dsk 25 0 CLIFF 0 0
|
$(DOS33_RAW) sb.dsk 25 0 CLIFF 0 0
|
||||||
$(DOS33_RAW) sb.dsk 30 0 RAT 0 0
|
$(DOS33_RAW) sb.dsk 30 0 RAT 0 0
|
||||||
|
|
||||||
####
|
####
|
||||||
|
|
||||||
|
@ -52,6 +52,19 @@ roof.o: roof.s zx02_optim.s \
|
||||||
ca65 -o roof.o roof.s -l roof.lst
|
ca65 -o roof.o roof.s -l roof.lst
|
||||||
|
|
||||||
|
|
||||||
|
####
|
||||||
|
|
||||||
|
ASPLODE: asplode.o
|
||||||
|
ld65 -o ASPLODE asplode.o -C $(LINKER_SCRIPTS)/apple2_6000.inc
|
||||||
|
|
||||||
|
asplode.o: asplode.s zx02_optim.s \
|
||||||
|
asplode_graphics/sb_title.hgr.zx02 \
|
||||||
|
asplode_graphics/sb_zone.hgr.zx02 \
|
||||||
|
zp.inc hardware.inc
|
||||||
|
ca65 -o asplode.o asplode.s -l asplode.lst
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
####
|
####
|
||||||
|
|
||||||
CLIFF: cliff.o
|
CLIFF: cliff.o
|
||||||
|
@ -131,4 +144,4 @@ HELLO: hello.bas
|
||||||
####
|
####
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.lst *.o QBOOT QLOAD TITLE DUCK_POND ROOF TARGET CLIFF RAT *~
|
rm -f *.lst *.o QBOOT QLOAD TITLE DUCK_POND ROOF ASPLODE TARGET CLIFF RAT *~
|
||||||
|
|
92
games/sb/asplode.s
Normal file
92
games/sb/asplode.s
Normal file
|
@ -0,0 +1,92 @@
|
||||||
|
; Yet Another HR project
|
||||||
|
;
|
||||||
|
; by deater (Vince Weaver) <vince@deater.net>
|
||||||
|
|
||||||
|
|
||||||
|
.include "zp.inc"
|
||||||
|
.include "hardware.inc"
|
||||||
|
|
||||||
|
|
||||||
|
hires_start:
|
||||||
|
|
||||||
|
;===================
|
||||||
|
; set graphics mode
|
||||||
|
;===================
|
||||||
|
jsr HOME
|
||||||
|
|
||||||
|
bit HIRES
|
||||||
|
bit FULLGR
|
||||||
|
bit SET_GR
|
||||||
|
bit PAGE1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
;==========================
|
||||||
|
; Load Title
|
||||||
|
;===========================
|
||||||
|
|
||||||
|
load_title:
|
||||||
|
lda #<title_data
|
||||||
|
sta ZX0_src
|
||||||
|
lda #>title_data
|
||||||
|
sta ZX0_src+1
|
||||||
|
|
||||||
|
lda #$20
|
||||||
|
|
||||||
|
jsr full_decomp
|
||||||
|
|
||||||
|
jsr wait_until_keypress
|
||||||
|
|
||||||
|
;===================
|
||||||
|
; Load graphics
|
||||||
|
;===================
|
||||||
|
load_loop:
|
||||||
|
|
||||||
|
;=============================
|
||||||
|
|
||||||
|
|
||||||
|
;==========================
|
||||||
|
; Load Image
|
||||||
|
;===========================
|
||||||
|
|
||||||
|
load_image:
|
||||||
|
|
||||||
|
; size in ldsizeh:ldsizel (f1/f0)
|
||||||
|
|
||||||
|
lda #<comp_data
|
||||||
|
sta ZX0_src
|
||||||
|
lda #>comp_data
|
||||||
|
sta ZX0_src+1
|
||||||
|
|
||||||
|
|
||||||
|
lda #$20
|
||||||
|
|
||||||
|
|
||||||
|
jsr full_decomp
|
||||||
|
|
||||||
|
jsr wait_until_keypress
|
||||||
|
|
||||||
|
which_ok:
|
||||||
|
lda #0
|
||||||
|
sta WHICH_LOAD
|
||||||
|
rts
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
wait_until_keypress:
|
||||||
|
lda KEYPRESS ; 4
|
||||||
|
bpl wait_until_keypress ; 3
|
||||||
|
bit KEYRESET ; clear the keyboard buffer
|
||||||
|
rts
|
||||||
|
|
||||||
|
|
||||||
|
.include "zx02_optim.s"
|
||||||
|
|
||||||
|
title_data:
|
||||||
|
.incbin "asplode_graphics/sb_title.hgr.zx02"
|
||||||
|
|
||||||
|
comp_data:
|
||||||
|
.incbin "asplode_graphics/sb_zone.hgr.zx02"
|
||||||
|
|
||||||
|
|
36
games/sb/asplode_graphics/Makefile
Normal file
36
games/sb/asplode_graphics/Makefile
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
include ../../../Makefile.inc
|
||||||
|
|
||||||
|
ZX02 = ~/research/6502_compression/zx02.git/build/zx02 -f
|
||||||
|
PNG_TO_HGR = ../../../utils/hgr-utils/png2hgr
|
||||||
|
LINKER_SCRIPTS = ../../../linker_scripts
|
||||||
|
DOS33 = ../../../utils/dos33fs-utils/dos33
|
||||||
|
EMPTY_DISK = ../../../empty_disk/empty.dsk
|
||||||
|
TOKENIZE = ../../../utils/asoft_basic-utils/tokenize_asoft
|
||||||
|
PNG2GR = ../../../utils/gr-utils/png2gr
|
||||||
|
PNG2SPRITES = ../../../utils/gr-utils/png2sprites
|
||||||
|
HGR_SPRITE = ../../../utils/hgr-utils/hgr_make_sprite
|
||||||
|
|
||||||
|
all: sb_zone.hgr.zx02 sb_title.hgr.zx02
|
||||||
|
|
||||||
|
####
|
||||||
|
|
||||||
|
sb_zone.hgr.zx02: sb_zone.hgr
|
||||||
|
$(ZX02) sb_zone.hgr sb_zone.hgr.zx02
|
||||||
|
|
||||||
|
sb_zone.hgr: sb_zone.png
|
||||||
|
$(PNG_TO_HGR) sb_zone.png > sb_zone.hgr
|
||||||
|
|
||||||
|
####
|
||||||
|
|
||||||
|
sb_title.hgr.zx02: sb_title.hgr
|
||||||
|
$(ZX02) sb_title.hgr sb_title.hgr.zx02
|
||||||
|
|
||||||
|
sb_title.hgr: sb_title.png
|
||||||
|
$(PNG_TO_HGR) sb_title.png > sb_title.hgr
|
||||||
|
|
||||||
|
|
||||||
|
####
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f *~ *.o *.lst
|
||||||
|
|
BIN
games/sb/asplode_graphics/sb_title.png
Normal file
BIN
games/sb/asplode_graphics/sb_title.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
BIN
games/sb/asplode_graphics/sb_zone.png
Normal file
BIN
games/sb/asplode_graphics/sb_zone.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
33
games/sb/asplode_sound/music
Normal file
33
games/sb/asplode_sound/music
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
Videlectrix
|
||||||
|
|
||||||
|
E 4
|
||||||
|
D 4
|
||||||
|
F 2
|
||||||
|
C 2
|
||||||
|
rest 8
|
||||||
|
>C 8
|
||||||
|
>C 4
|
||||||
|
|
||||||
|
Strongbad Zone
|
||||||
|
|
||||||
|
(Bass)
|
||||||
|
F 2
|
||||||
|
B 8
|
||||||
|
C 8
|
||||||
|
C 4
|
||||||
|
|
||||||
|
F 2
|
||||||
|
B 8
|
||||||
|
C 8
|
||||||
|
D 4
|
||||||
|
|
||||||
|
F 2
|
||||||
|
B 8
|
||||||
|
C 8
|
||||||
|
C 4
|
||||||
|
|
||||||
|
F 2
|
||||||
|
B 8
|
||||||
|
C 8
|
||||||
|
D 4
|
||||||
|
|
Loading…
Reference in New Issue
Block a user