2018-08-25 19:58:07 +00:00
|
|
|
include ../Makefile.inc
|
|
|
|
|
|
|
|
DOS33 = ../dos33fs-utils/dos33
|
|
|
|
B2D = ../bmp2dhr/b2d
|
|
|
|
|
|
|
|
all: megademo.dsk
|
|
|
|
|
2018-08-29 15:46:25 +00:00
|
|
|
megademo.dsk: MEGADEMO
|
|
|
|
$(DOS33) -y megademo.dsk BSAVE -a 0x1000 MEGADEMO
|
|
|
|
# $(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
|
|
|
|
ld65 -o MEGADEMO megademo.o -C ../linker_scripts/apple2_1000.inc
|
|
|
|
|
2018-08-29 15:57:54 +00:00
|
|
|
megademo.o: megademo.s \
|
|
|
|
c64.img
|
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-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-08-29 15:57:54 +00:00
|
|
|
rm -f *~ *.o *.lst *.inc MEGADEMO c64.img
|