2017-06-22 18:17:31 +00:00
|
|
|
COLORSPRITE = moldy_burger.png
|
|
|
|
#COLORSPRITE = boxw_mag.png
|
|
|
|
#COLORSPRITE = apple.png
|
2017-06-25 15:29:10 +00:00
|
|
|
BWSPRITE = apple-sprite9x11.png
|
2017-06-22 16:39:40 +00:00
|
|
|
|
2017-07-04 20:36:36 +00:00
|
|
|
all: cpbg.dsk fonttest.dsk
|
2017-06-22 13:24:39 +00:00
|
|
|
|
2017-06-25 15:29:10 +00:00
|
|
|
rowlookup.s: HiSprite.py
|
|
|
|
python HiSprite.py -a mac65 -p 6502 -r > rowlookup.s
|
|
|
|
|
2017-06-26 19:32:13 +00:00
|
|
|
collookupbw.s: HiSprite.py
|
2017-06-25 15:29:10 +00:00
|
|
|
python HiSprite.py -a mac65 -p 6502 -s hgrbw -c > collookupbw.s
|
|
|
|
|
|
|
|
collookupcolor.s: HiSprite.py
|
|
|
|
python HiSprite.py -a mac65 -p 6502 -c > collookupcolor.s
|
|
|
|
|
2017-06-26 19:32:13 +00:00
|
|
|
bwsprite.s: HiSprite.py collookupbw.s rowlookup.s $(BWSPRITE)
|
2017-06-29 18:48:25 +00:00
|
|
|
python HiSprite.py -a mac65 -p 6502 -s hgrbw $(BWSPRITE) -n bwsprite -m -b > bwsprite.s
|
2017-06-25 15:29:10 +00:00
|
|
|
|
|
|
|
colorsprite.s: HiSprite.py collookupcolor.s rowlookup.s $(COLORSPRITE)
|
|
|
|
python HiSprite.py -a mac65 -p 6502 -s hgrcolor $(COLORSPRITE) -n colorsprite -m > colorsprite.s
|
|
|
|
|
|
|
|
bwtest.dsk: HiSprite.py bwtest.s bwsprite.s
|
2017-06-22 13:24:39 +00:00
|
|
|
atasm -obwtest.xex bwtest.s -Lbwtest.var -gbwtest.lst
|
|
|
|
atrcopy bwtest.dsk boot -b bwtest.xex --brun 6000 -f
|
|
|
|
|
2017-06-25 15:29:10 +00:00
|
|
|
colortest.dsk: HiSprite.py colortest.s bwsprite.s
|
2017-06-22 13:24:39 +00:00
|
|
|
atasm -ocolortest.xex colortest.s -Lcolortest.var -gcolortest.lst
|
|
|
|
atrcopy colortest.dsk boot -b colortest.xex --brun 6000 -f
|
|
|
|
|
2017-06-30 06:14:39 +00:00
|
|
|
multitest-sprite-driver.s: HiSprite.py $(BWSPRITE)
|
2017-07-03 04:38:32 +00:00
|
|
|
python HiSprite.py -a mac65 -p 6502 -s hgrbw -m -b -k -d -o multitest $(BWSPRITE) $(COLORSPRITE)
|
2017-06-30 06:14:39 +00:00
|
|
|
|
|
|
|
multitest.dsk: HiSprite.py multitest.s multitest-sprite-driver.s
|
2017-06-25 15:29:10 +00:00
|
|
|
atasm -omultitest.xex multitest.s -Lmultitest.var -gmultitest.lst
|
|
|
|
atrcopy multitest.dsk boot -b multitest.xex --brun 6000 -f
|
|
|
|
|
2017-07-04 20:36:36 +00:00
|
|
|
multitestbg.dsk: HiSprite.py multitestbg.s
|
|
|
|
atasm -omultitest.xex multitestbg.s -Lmultitestbg.var -gmultitestbg.lst
|
|
|
|
atrcopy multitest.dsk boot -b multitest.xex --brun 6000 -f
|
|
|
|
|
|
|
|
cpbg-sprite-driver.s: HiSprite.py $(BWSPRITE)
|
|
|
|
python HiSprite.py -a mac65 -p 6502 -s hgrbw -m -k -d -g -f fatfont128.dat -o cpbg $(BWSPRITE) $(COLORSPRITE)
|
|
|
|
|
|
|
|
cpbg.dsk: HiSprite.py cpbg.s cpbg-sprite-driver.s
|
2017-07-06 05:18:35 +00:00
|
|
|
atasm -mae -ocpbg.xex cpbg.s -Lcpbg.var -gcpbg.lst
|
2017-07-04 20:36:36 +00:00
|
|
|
#atrcopy cpbg.dsk boot -d partycrasher-software.hgr@2000 player-missile.hgr@4000 -b cpbg.xex --brun 6000 -f
|
|
|
|
atrcopy cpbg.dsk boot -b cpbg.xex --brun 6000 -f
|
|
|
|
|
|
|
|
fonttest.dsk: fonttest.s fatfont.s
|
|
|
|
atasm -ofonttest.xex fonttest.s -Lfonttest.var -gfonttest.lst
|
|
|
|
atrcopy fonttest.dsk boot -b fonttest.xex --brun 6000 -f
|
|
|
|
|
2017-06-22 13:24:39 +00:00
|
|
|
clean:
|
2017-06-26 19:32:13 +00:00
|
|
|
rm -f rowlookup.s collookupbw.s collookupcolor.s
|
2017-06-22 13:24:39 +00:00
|
|
|
rm -f bwtest.dsk bwtest.xex bwtest.var bwtest.lst
|
|
|
|
rm -f colortest.dsk colortest.xex colortest.var colortest.lst
|
2017-06-30 06:14:39 +00:00
|
|
|
rm -f multitest.dsk multitest.xex multitest.var multitest.lst multitest-sprite-driver.s multitest-bwsprite.s multitest-hgrcols-7x1.s multitest-hgrrows.s
|
2017-07-04 20:36:36 +00:00
|
|
|
rm -f cpbg.dsk cpbg.xex cpbg.var cpbg.lst cpbg-sprite-driver.s cpbg-bwsprite.s cpbg-hgrcols-7x1.s cpbg-hgrrows.s
|