ootw: start adding intro

This commit is contained in:
Vince Weaver 2019-01-26 21:27:20 -05:00
parent 13260851d6
commit 5989cf085f
3 changed files with 28 additions and 1 deletions

View File

@ -6,7 +6,7 @@ PNG2RLE = ../gr-utils/png2rle
all: ootw.dsk all: ootw.dsk
ootw.dsk: HELLO OOTW ootw.dsk: HELLO OOTW INTRO
$(DOS33) -y ootw.dsk SAVE A HELLO $(DOS33) -y ootw.dsk SAVE A HELLO
$(DOS33) -y ootw.dsk BSAVE -a 0x2000 OOTW $(DOS33) -y ootw.dsk BSAVE -a 0x2000 OOTW
@ -29,6 +29,17 @@ ootw.o: ootw.s \
ca65 -o ootw.o ootw.s -l ootw.lst ca65 -o ootw.o ootw.s -l ootw.lst
#### ####
INTRO: intro.o
ld65 -o INTRO intro.o -C ../linker_scripts/apple2_2000.inc
intro.o: intro.s \
gr_copy.s gr_fast_clear.s gr_pageflip.s gr_unrle.s gr_putsprite.s \
keyboard.s random16.s \
intro_building.inc
ca65 -o intro.o intro.s -l intro.lst
####
HELLO: hello.bas HELLO: hello.bas
../asoft_basic-utils/tokenize_asoft < hello.bas > HELLO ../asoft_basic-utils/tokenize_asoft < hello.bas > HELLO
@ -53,6 +64,12 @@ ootw_rope.inc: $(PNG2RLE) another_rope.png
ootw_underwater.inc: $(PNG2RLE) another_uboot.png ootw_underwater.inc: $(PNG2RLE) another_uboot.png
$(PNG2RLE) asm another_uboot.png underwater_rle > ootw_underwater.inc $(PNG2RLE) asm another_uboot.png underwater_rle > ootw_underwater.inc
#####
intro_building.inc: $(PNG2RLE) intro1_building.png
$(PNG2RLE) asm intro1_building.png building_rle > intro_building.inc
##### #####
clean: clean:

10
ootw/intro.s Normal file
View File

@ -0,0 +1,10 @@
;=====================================
; Intro
intro:
rts
.include "intro_building.inc"

BIN
ootw/intro1_building.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 473 B