sb: re-arrange files into subdirectories

This commit is contained in:
Vince Weaver 2024-11-28 00:14:18 -05:00
parent b6eefda675
commit 97daa74ae9
29 changed files with 107 additions and 118 deletions

View File

@ -12,20 +12,20 @@ all: sb.dsk
####
sb.dsk: QBOOT QLOAD TITLE DUCK_POND ROOF ASPLODE BACK_OFF \
./fish/FISH RAT ./dating/DATING_XR
sb.dsk: QBOOT QLOAD TITLE ./duck_pond/DUCK_POND ROOF ASPLODE BACK_OFF \
./fish/FISH ./rat/RAT ./dating/DATING_XR
cp $(EMPTY_DISK) sb.dsk
$(DOS33_RAW) sb.dsk 0 0 QBOOT 0 1
$(DOS33_RAW) sb.dsk 0 2 QBOOT 1 1
$(DOS33_RAW) sb.dsk 0 4 QBOOT 2 1
$(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 5 0 ./duck_pond/DUCK_POND 0 0
$(DOS33_RAW) sb.dsk 8 0 ROOF 0 0
$(DOS33_RAW) sb.dsk 9 0 ASPLODE 0 0
# $(DOS33_RAW) sb.dsk 20 0 TARGET 0 0
$(DOS33_RAW) sb.dsk 14 0 ./fish/FISH 0 0
$(DOS33_RAW) sb.dsk 20 0 RAT 0 0
$(DOS33_RAW) sb.dsk 20 0 ./rat/RAT 0 0
$(DOS33_RAW) sb.dsk 22 0 BACK_OFF 0 0
$(DOS33_RAW) sb.dsk 24 0 ../peasant_mini/cliff/CLIMB 0 0
$(DOS33_RAW) sb.dsk 28 0 ./dating/DATING_XR 0 0
@ -114,17 +114,6 @@ back_off.o: back_off.s zx02_optim.s \
cd dating && make
#CLIFF: cliff.o
# ld65 -o CLIFF cliff.o -C $(LINKER_SCRIPTS)/apple2_6000.inc
#cliff.o: cliff.s zx02_optim.s \
# cliff_graphics/cliff_base.hgr.zx02 \
# zp.inc hardware.inc
# ca65 -o cliff.o cliff.s -l cliff.lst
#cliff_graphics/cliff_base.hgr.zx02:
# cd cliff_graphics && make
####
TARGET: target.o
@ -141,26 +130,8 @@ target_graphics/target.hgr.zx02:
####
RAT: rat.o
ld65 -o RAT rat.o -C $(LINKER_SCRIPTS)/apple2_6000.inc
rat.o: rat.s zx02_optim.s duet.s hgr_sprite_mask.s hgr_sprite.s hgr_tables.s \
zp.inc hardware.inc \
rat_sound/fortnight.ed \
rat_graphics/a2_fortnight.hgr.zx02 \
rat_graphics/a2_fortnight_99.hgr.zx02 \
rat_graphics/a2_fortnight_100.hgr.zx02 \
rat_graphics/a2_fortnight_rat1.hgr.zx02 \
rat_graphics/a2_fortnight_rat2.hgr.zx02 \
rat_graphics/a2_break.hgr.zx02 \
rat_graphics/disk_sprites.inc
ca65 -o rat.o rat.s -l rat.lst
rat_sound/fortnight.ed:
cd rat_sound && make
rat_graphics/a2_fortnight.hgr.zx02:
cd rat_graphics && make
./rat/RAT:
cd rat && make
####
@ -187,19 +158,8 @@ title_graphics/czmg4ap_title.hgr.zx02:
####
DUCK_POND: duck_pond.o
ld65 -o DUCK_POND duck_pond.o -C $(LINKER_SCRIPTS)/apple2_6000.inc
duck_pond.o: duck_pond.s zx02_optim.s \
zp.inc hardware.inc \
gr_copy.s duck_score.s gr_putsprite_mask.s \
draw_ducks.s move_ducks.s \
duck_graphics/duck_sprites.inc duck_graphics/num_sprites.inc
ca65 -o duck_pond.o duck_pond.s -l duck_pond.lst
duck_graphics/duck_sprites.inc:
cd duck_graphics && make
./duck_pond/DUCK_POND:
cd duck_pond && make
####
@ -209,15 +169,18 @@ HELLO: hello.bas
####
clean:
rm -f *.lst *.o QBOOT QLOAD TITLE DUCK_POND ROOF ASPLODE TARGET CLIFF RAT *~
rm -f *.lst *.o *~ QBOOT QLOAD TITLE ROOF ASPLODE
cd duck_pond && make clean
cd rat && make clean
cd asplode_sound && make clean
cd dating && make clean
cd rat_sound && make clean
cd title_sound && make clean
cd asplode_graphics && make clean
cd cliff_graphics && make clean
cd duck_graphics && make clean
cd rat_graphics && make clean
cd roof_graphics && make clean
cd target_graphics && make clean
cd title_graphics && make clean
distclean:
rm -f *.lst *.o *~ QBOOT QLOAD TITLE ROOF ASPLODE
cd duck_pond && make distclean
cd rat && make distclean

View File

@ -0,0 +1,36 @@
include ../../../Makefile.inc
ZX02 = ~/research/6502_compression/zx02.git/build/zx02
PNG_TO_HGR = ../../../utils/hgr-utils/png2hgr
LINKER_SCRIPTS = ../../../linker_scripts
DOS33 = ../../../utils/dos33fs-utils/dos33
DOS33_RAW = ../../../utils/dos33fs-utils/dos33_raw
EMPTY_DISK = ../../../empty_disk/empty.dsk
TOKENIZE = ../../../utils/asoft_basic-utils/tokenize_asoft
all: DUCK_POND
####
DUCK_POND: duck_pond.o
ld65 -o DUCK_POND duck_pond.o -C $(LINKER_SCRIPTS)/apple2_6000.inc
duck_pond.o: duck_pond.s ../zx02_optim.s \
../zp.inc ../hardware.inc \
../gr_copy.s duck_score.s ../gr_putsprite_mask.s \
draw_ducks.s move_ducks.s \
graphics/duck_sprites.inc graphics/num_sprites.inc
ca65 -o duck_pond.o duck_pond.s -l duck_pond.lst
graphics/duck_sprites.inc:
cd graphics && make
####
clean:
rm -f *.lst *.o *~ DUCK_POND
distclean:
rm -f *.lst *.o *~ DUCK_POND
cd graphics && make clean

View File

@ -24,8 +24,8 @@
; PRESS "F" TO THROW BREAD
; PRESS SPACEBAR TO START
.include "zp.inc"
.include "hardware.inc"
.include "../zp.inc"
.include "../hardware.inc"
duck_pond:
@ -207,22 +207,22 @@ done_loop:
jmp main_loop
.include "zx02_optim.s"
.include "gr_copy.s"
.include "gr_offsets.s"
.include "../zx02_optim.s"
.include "../gr_copy.s"
.include "../gr_offsets.s"
.include "gr_putsprite_mask.s"
.include "gr_pageflip.s"
.include "../gr_putsprite_mask.s"
.include "../gr_pageflip.s"
.include "duck_score.s"
.include "draw_ducks.s"
.include "move_ducks.s"
title_data:
.incbin "duck_graphics/a2_duckpond_title.gr.zx02"
.incbin "graphics/a2_duckpond_title.gr.zx02"
main_data:
.incbin "duck_graphics/a2_duckpond.gr.zx02"
.incbin "graphics/a2_duckpond.gr.zx02"
.include "duck_graphics/num_sprites.inc"
.include "duck_graphics/duck_sprites.inc"
.include "graphics/num_sprites.inc"
.include "graphics/duck_sprites.inc"

View File

@ -1,14 +1,8 @@
include ../../../Makefile.inc
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
PNG2GR = ../../../../utils/gr-utils/png2gr
PNG2SPRITES = ../../../../utils/gr-utils/png2sprites
all: a2_duckpond_title.gr.zx02 \
a2_duckpond.gr.zx02 \
@ -115,5 +109,5 @@ a2_duckpond_night.gr: a2_duckpond_night.png
####
clean:
rm -f *~ *.o *.lst
rm -f *~ *.o *.lst *.zx02 *.gr

View File

Before

Width:  |  Height:  |  Size: 7.9 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB

View File

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

Before

Width:  |  Height:  |  Size: 8.0 KiB

After

Width:  |  Height:  |  Size: 8.0 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 816 B

After

Width:  |  Height:  |  Size: 816 B

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 807 B

After

Width:  |  Height:  |  Size: 807 B

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -1,14 +1,10 @@
include ../../../Makefile.inc
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
PNG_TO_HGR = ../../../../utils/hgr-utils/png2hgr
PNG2GR = ../../../../utils/gr-utils/png2gr
PNG2SPRITES = ../../../../utils/gr-utils/png2sprites
HGR_SPRITE = ../../../../utils/hgr-utils/hgr_make_sprite
all: a2_fortnight.hgr.zx02 \
a2_fortnight_99.hgr.zx02 \

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -7,8 +7,8 @@
; by deater (Vince Weaver) <vince@deater.net>
.include "zp.inc"
.include "hardware.inc"
.include "../zp.inc"
.include "../hardware.inc"
div7_table = $9C00
mod7_table = $9D00
@ -359,34 +359,34 @@ long_wait_loop:
bne long_wait_loop
rts
.include "zx02_optim.s"
.include "../zx02_optim.s"
.include "hgr_sprite.s"
.include "hgr_sprite_mask.s"
.include "hgr_tables.s"
.include "../hgr_sprite.s"
.include "../hgr_sprite_mask.s"
.include "../hgr_tables.s"
.align $100
.include "duet.s"
.include "../duet.s"
music:
.incbin "rat_sound/fortnight.ed"
.incbin "sound/fortnight.ed"
fn_image:
.incbin "rat_graphics/a2_fortnight.hgr.zx02"
.incbin "graphics/a2_fortnight.hgr.zx02"
fn_99_image:
.incbin "rat_graphics/a2_fortnight_99.hgr.zx02"
.incbin "graphics/a2_fortnight_99.hgr.zx02"
fn_100_image:
.incbin "rat_graphics/a2_fortnight_100.hgr.zx02"
.incbin "graphics/a2_fortnight_100.hgr.zx02"
rat1_image:
.incbin "rat_graphics/a2_fortnight_rat1.hgr.zx02"
.incbin "graphics/a2_fortnight_rat1.hgr.zx02"
rat2_image:
.incbin "rat_graphics/a2_fortnight_rat2.hgr.zx02"
.incbin "graphics/a2_fortnight_rat2.hgr.zx02"
break_image:
.incbin "rat_graphics/a2_break.hgr.zx02"
.incbin "graphics/a2_break.hgr.zx02"
.include "rat_graphics/disk_sprites.inc"
.include "graphics/disk_sprites.inc"
floppy_x:
.byte 10,12,14,16

View File

@ -0,0 +1,20 @@
include ../../../../Makefile.inc
TOKENIZE = ../../../utils/asoft_basic-utils/tokenize_asoft
DOS33 = ../../../utils/dos33fs-utils/dos33
TEXT_TO_ED = ../../../../utils/music/text_to_ed
EMPTY_DISK = ../../../empty_disk/empty.dsk
all: fortnight.ed
###
fortnight.ed: $(TEXT_TO_ED) fortnight.txt
$(TEXT_TO_ED) -o 1 fortnight.txt fortnight
###
clean:
rm -f *~ *.o *.lst fortnight.ed

View File

@ -1,20 +0,0 @@
include ../../../Makefile.inc
TOKENIZE = ../../utils/asoft_basic-utils/tokenize_asoft
DOS33 = ../../utils/dos33fs-utils/dos33
TEXT_TO_ED = ../../../utils/music/text_to_ed
EMPTY_DISK = ../../empty_disk/empty.dsk
all: fortnight.ed
###
fortnight.ed: $(TEXT_TO_ED) fortnight.txt
$(TEXT_TO_ED) -o 1 fortnight.txt fortnight
###
clean:
rm -f *~ *.o *.lst fortnight.ed