mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-01-15 20:30:11 +00:00
a8ab24004d
need to change a bunch to make this work Now load at $4000 as was too big to fit between $1000 and $2000 also turns out our lz4 code was writing past the end, which you notice when you have important code right after the end of HGR1
54 lines
1.1 KiB
Makefile
54 lines
1.1 KiB
Makefile
include ../Makefile.inc
|
|
|
|
DOS33 = ../dos33fs-utils/dos33
|
|
B2D = ../bmp2dhr/b2d
|
|
PNG_TO_40x96 = ../gr-utils/png_to_40x96
|
|
|
|
|
|
all: megademo.dsk
|
|
|
|
megademo.dsk: MEGADEMO
|
|
$(DOS33) -y megademo.dsk BSAVE -a 0x4000 MEGADEMO
|
|
# $(DOS33) -y megademo.dsk BSAVE -a 0x2000 C64C.BIN
|
|
# $(DOS33) -y megademo.dsk BSAVE -a 0x2000 C64.BIN
|
|
# $(DOS33) -y megademo.dsk BSAVE -a 0x2000 C64_BW.BIN
|
|
# $(DOS33) -y megademo.dsk BSAVE -a 0x4000 C64_UPDATE.BIN
|
|
|
|
####
|
|
|
|
MEGADEMO: megademo.o
|
|
ld65 -o MEGADEMO megademo.o -C ../linker_scripts/apple2_4000.inc
|
|
|
|
megademo.o: megademo.s \
|
|
zp.inc hardware.inc \
|
|
gr_hline.s gr_offsets.s vapor_lock.s delay_a.s wait_keypress.s \
|
|
c64_opener.s c64.img.lz4 \
|
|
falling_apple.s apple_40_96.inc \
|
|
fireworks.s fw_background.inc fw_state_machine.s fw.s \
|
|
hgr.s random16.s move_letters.s
|
|
ca65 -o megademo.o megademo.s -l megademo.lst
|
|
|
|
|
|
####
|
|
|
|
apple_40_96.inc: ./images/apple_40_96.png
|
|
$(PNG_TO_40x96) asm ./images/apple_40_96.png apple > apple_40_96.inc
|
|
|
|
####
|
|
|
|
c64.img.lz4: c64.img
|
|
lz4 -f -16 c64.img
|
|
|
|
####
|
|
|
|
c64.img: c64_updated.png
|
|
../hgr-utils/png2hgr c64_updated.png > c64.img
|
|
|
|
####
|
|
|
|
C64C.BIN: c64.bmp
|
|
$(B2D) c64.bmp HGR
|
|
|
|
clean:
|
|
rm -f *~ *.o *.lst MEGADEMO c64.img
|