2018-08-25 19:58:07 +00:00
|
|
|
include ../Makefile.inc
|
|
|
|
|
|
|
|
DOS33 = ../dos33fs-utils/dos33
|
|
|
|
B2D = ../bmp2dhr/b2d
|
2018-09-17 04:44:32 +00:00
|
|
|
PNG_TO_40x96 = ../gr-utils/png_to_40x96
|
|
|
|
|
2018-08-25 19:58:07 +00:00
|
|
|
|
|
|
|
all: megademo.dsk
|
|
|
|
|
2018-08-29 15:46:25 +00:00
|
|
|
megademo.dsk: MEGADEMO
|
2018-09-26 18:01:14 +00:00
|
|
|
$(DOS33) -y megademo.dsk BSAVE -a 0x4000 MEGADEMO
|
2018-08-29 15:46:25 +00:00
|
|
|
# $(DOS33) -y megademo.dsk BSAVE -a 0x2000 C64C.BIN
|
2018-08-25 19:58:07 +00:00
|
|
|
# $(DOS33) -y megademo.dsk BSAVE -a 0x2000 C64.BIN
|
|
|
|
# $(DOS33) -y megademo.dsk BSAVE -a 0x2000 C64_BW.BIN
|
2018-08-29 15:46:25 +00:00
|
|
|
# $(DOS33) -y megademo.dsk BSAVE -a 0x4000 C64_UPDATE.BIN
|
|
|
|
|
|
|
|
####
|
|
|
|
|
|
|
|
MEGADEMO: megademo.o
|
2018-09-26 18:01:14 +00:00
|
|
|
ld65 -o MEGADEMO megademo.o -C ../linker_scripts/apple2_4000.inc
|
2018-08-29 15:46:25 +00:00
|
|
|
|
2018-08-29 15:57:54 +00:00
|
|
|
megademo.o: megademo.s \
|
2018-08-29 21:14:43 +00:00
|
|
|
zp.inc hardware.inc \
|
2018-09-23 03:07:59 +00:00
|
|
|
gr_hline.s gr_offsets.s vapor_lock.s delay_a.s wait_keypress.s \
|
2018-09-17 04:44:32 +00:00
|
|
|
c64_opener.s c64.img.lz4 \
|
2018-09-26 18:01:14 +00:00
|
|
|
falling_apple.s apple_40_96.inc \
|
2018-09-27 03:52:36 +00:00
|
|
|
bird_mountain.s \
|
2018-09-26 18:01:14 +00:00
|
|
|
fireworks.s fw_background.inc fw_state_machine.s fw.s \
|
|
|
|
hgr.s random16.s move_letters.s
|
2018-08-29 15:46:25 +00:00
|
|
|
ca65 -o megademo.o megademo.s -l megademo.lst
|
2018-08-25 19:58:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
####
|
|
|
|
|
2018-09-17 04:44:32 +00:00
|
|
|
apple_40_96.inc: ./images/apple_40_96.png
|
|
|
|
$(PNG_TO_40x96) asm ./images/apple_40_96.png apple > apple_40_96.inc
|
|
|
|
|
|
|
|
####
|
|
|
|
|
2018-08-29 21:14:43 +00:00
|
|
|
c64.img.lz4: c64.img
|
|
|
|
lz4 -f -16 c64.img
|
|
|
|
|
|
|
|
####
|
|
|
|
|
2018-08-29 15:57:54 +00:00
|
|
|
c64.img: c64_updated.png
|
|
|
|
../hgr-utils/png2hgr c64_updated.png > c64.img
|
|
|
|
|
|
|
|
####
|
|
|
|
|
2018-08-25 19:58:07 +00:00
|
|
|
C64C.BIN: c64.bmp
|
|
|
|
$(B2D) c64.bmp HGR
|
|
|
|
|
|
|
|
clean:
|
2018-09-17 03:48:00 +00:00
|
|
|
rm -f *~ *.o *.lst MEGADEMO c64.img
|