2023-08-14 01:40:08 -04:00
|
|
|
include ../../../Makefile.inc
|
|
|
|
|
|
|
|
ZX02 = ~/research/6502_compression/zx02.git/build/zx02
|
2024-08-22 14:39:24 -04:00
|
|
|
PNG_TO_HGR = ../../..utils/hgr-utils/png2hgr
|
2023-08-14 01:40:08 -04:00
|
|
|
LINKER_SCRIPTS = ../../../linker_scripts
|
2024-08-22 14:39:24 -04:00
|
|
|
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
|
2023-08-14 01:40:08 -04:00
|
|
|
|
2024-08-22 14:39:24 -04:00
|
|
|
all: cliff.dsk
|
|
|
|
|
|
|
|
####
|
|
|
|
|
2024-09-03 23:15:18 -04:00
|
|
|
cliff.dsk: HELLO CLIFF CLIMB
|
2024-08-22 14:39:24 -04:00
|
|
|
cp $(EMPTY_DISK) cliff.dsk
|
|
|
|
$(DOS33) -y cliff.dsk SAVE A HELLO
|
|
|
|
$(DOS33) -y cliff.dsk BSAVE -a 0x6000 CLIFF
|
2024-09-03 23:15:18 -04:00
|
|
|
$(DOS33) -y cliff.dsk BSAVE -a 0x6000 CLIMB
|
2024-08-22 14:39:24 -04:00
|
|
|
|
|
|
|
###
|
|
|
|
|
|
|
|
HELLO: hello.bas
|
|
|
|
$(TOKENIZE) < hello.bas > HELLO
|
2023-08-14 01:40:08 -04:00
|
|
|
|
2024-09-03 01:04:44 -04:00
|
|
|
|
2023-08-14 01:40:08 -04:00
|
|
|
####
|
|
|
|
|
|
|
|
CLIFF: cliff.o
|
|
|
|
ld65 -o CLIFF cliff.o -C $(LINKER_SCRIPTS)/apple2_6000.inc
|
|
|
|
|
2024-08-22 14:39:24 -04:00
|
|
|
cliff.o: cliff.s zx02_optim.s \
|
2024-08-30 02:21:26 -04:00
|
|
|
move_peasant.s draw_peasant.s \
|
2024-08-27 16:40:51 -04:00
|
|
|
hgr_copy.s hgr_partial_restore.s \
|
2024-08-30 02:21:26 -04:00
|
|
|
hgr_sprite.s hgr_sprite_bg_mask.s \
|
2024-09-02 00:31:17 -04:00
|
|
|
random16.s \
|
2023-08-14 01:40:08 -04:00
|
|
|
cliff_graphics/cliff_base.hgr.zx02 \
|
2024-08-27 14:34:36 -04:00
|
|
|
sprites/enemy_sprites.inc \
|
2024-09-03 01:04:44 -04:00
|
|
|
zp.inc hardware.inc \
|
|
|
|
walking_sprites.zx02
|
2023-08-14 01:40:08 -04:00
|
|
|
ca65 -o cliff.o cliff.s -l cliff.lst
|
2024-09-03 23:15:18 -04:00
|
|
|
|
|
|
|
####
|
|
|
|
|
|
|
|
CLIMB: climb.o
|
|
|
|
ld65 -o CLIMB climb.o -C $(LINKER_SCRIPTS)/apple2_6000.inc
|
|
|
|
|
|
|
|
climb.o: climb.s zx02_optim.s \
|
2024-09-05 01:27:23 -04:00
|
|
|
move_peasant_climb.s draw_peasant_climb.s \
|
2024-09-08 00:15:55 -04:00
|
|
|
keyboard_climb.s \
|
2024-09-03 23:15:18 -04:00
|
|
|
hgr_copy.s hgr_partial_restore.s \
|
|
|
|
hgr_sprite.s hgr_sprite_bg_mask.s \
|
|
|
|
random16.s \
|
|
|
|
cliff_graphics/cliff_base.hgr.zx02 \
|
2024-09-08 00:15:55 -04:00
|
|
|
cliff_graphics/cliff2.hgr.zx02 \
|
|
|
|
cliff_graphics/cliff3.hgr.zx02 \
|
|
|
|
cliff_graphics/cliff_base_priority.zx02 \
|
|
|
|
cliff_graphics/cliff2_priority.zx02 \
|
|
|
|
cliff_graphics/cliff3_priority.zx02 \
|
2024-09-03 23:15:18 -04:00
|
|
|
sprites/enemy_sprites.inc \
|
|
|
|
zp.inc hardware.inc \
|
2024-09-04 01:06:08 -04:00
|
|
|
climbing_sprites.zx02
|
2024-09-03 23:15:18 -04:00
|
|
|
ca65 -o climb.o climb.s -l climb.lst
|
|
|
|
|
2024-09-03 01:04:44 -04:00
|
|
|
####
|
|
|
|
|
|
|
|
walking_sprites.zx02: walking_sprites
|
|
|
|
$(ZX02) -f walking_sprites walking_sprites.zx02
|
|
|
|
|
|
|
|
walking_sprites: walking_sprites.o
|
|
|
|
ld65 -o walking_sprites walking_sprites.o -C $(LINKER_SCRIPTS)/apple2_a000.inc
|
|
|
|
|
2024-09-03 12:42:45 -04:00
|
|
|
walking_sprites.o: walking_sprites.s \
|
|
|
|
sprites/flame_sprites.inc \
|
|
|
|
sprites/walk_sprites.inc
|
2024-09-03 01:04:44 -04:00
|
|
|
ca65 -o walking_sprites.o walking_sprites.s -l walking_sprites.lst
|
|
|
|
|
2023-08-14 01:40:08 -04:00
|
|
|
|
2024-09-04 01:06:08 -04:00
|
|
|
####
|
|
|
|
|
|
|
|
climbing_sprites.zx02: climbing_sprites
|
|
|
|
$(ZX02) -f climbing_sprites climbing_sprites.zx02
|
|
|
|
|
|
|
|
climbing_sprites: climbing_sprites.o
|
|
|
|
ld65 -o climbing_sprites climbing_sprites.o -C $(LINKER_SCRIPTS)/apple2_a000.inc
|
|
|
|
|
|
|
|
climbing_sprites.o: climbing_sprites.s \
|
2024-09-10 00:06:47 -04:00
|
|
|
sprites/climb_flame_sprites.inc \
|
2024-09-04 23:30:59 -04:00
|
|
|
sprites/climb_sprites.inc
|
2024-09-04 01:06:08 -04:00
|
|
|
ca65 -o climbing_sprites.o climbing_sprites.s -l climbing_sprites.lst
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-08-27 14:34:36 -04:00
|
|
|
####
|
|
|
|
|
2023-08-14 01:40:08 -04:00
|
|
|
cliff_graphics/cliff_base.hgr.zx02:
|
|
|
|
cd cliff_graphics && make
|
|
|
|
|
2024-08-27 14:34:36 -04:00
|
|
|
sprites/enemy_sprites.inc:
|
|
|
|
cd sprites && make
|
|
|
|
|
|
|
|
|
2023-08-14 01:40:08 -04:00
|
|
|
####
|
|
|
|
|
|
|
|
clean:
|
2024-09-05 01:27:23 -04:00
|
|
|
rm -f *.lst *.o *~ CLIFF CLIMB HELLO \
|
2024-09-04 01:06:08 -04:00
|
|
|
walking_sprites climbing_sprites *.zx02
|
2023-08-14 01:40:08 -04:00
|
|
|
cd cliff_graphics && make clean
|
2024-08-27 14:34:36 -04:00
|
|
|
cd sprites && make clean
|