Added fixes for sprite demo

This commit is contained in:
Rob McMullen 2018-07-24 10:07:10 -07:00
parent 6186c1e639
commit 40d588c56e
2 changed files with 6 additions and 7 deletions

View File

@ -28,14 +28,14 @@ colortest.dsk: $(ASMGEN_SRC) colortest.s bwsprite.s
atasm -ocolortest.xex colortest.s -Lcolortest.var -gcolortest.lst
atrcopy colortest.dsk boot -b colortest.xex --brun 6000 -f
cpbg-asmgen-driver.s: $(ASMGEN_SRC) $(BWSPRITE)
cpbg-asmgen-driver.s: $(ASMGEN_SRC) $(BWSPRITE) fatfont.s
$(ASMGEN) -s hgrbw -m -k -d -g -f ../../fonts/fatfont128.dat -o cpbg $(BWSPRITE) $(COLORSPRITE)
cpbg.xex: cpbg.s cpbg-asmgen-driver.s
atasm -mae -ocpbg.xex cpbg.s -Lcpbg.var -gcpbg.lst
cpbg.dsk: $(ASMGEN_SRC) cpbg.xex
atrcopy cpbg.dsk boot -b cpbg.xex --brun 6000 -f
cpbg.dsk: $(ASMGEN_SRC) cpbg.s cpbg-asmgen-driver.s
atrcopy cpbg.dsk boot -f -s cpbg.s -r 0x6000
fonttest-asmgen-driver.s: $(ASMGEN_SRC) ../../fonts/fatfont128.dat
$(ASMGEN) -s hgrbw -f ../../fonts/fatfont128.dat -r -o fonttest
@ -44,8 +44,7 @@ fatfont.s:
$(ASMGEN) --src ../../fonts/fatfont128.dat > fatfont.s
fonttest.dsk: fonttest.s fatfont.s fonttest-asmgen-driver.s slowfont.s
atasm -ofonttest.xex fonttest.s -Lfonttest.var -gfonttest.lst
atrcopy fonttest.dsk boot -b fonttest.xex --brun 6000 -f
atrcopy fonttest.dsk boot -s fonttest.s --brun 6000 -f
clean:
rm -f rowlookup.s collookupbw.s collookupcolor.s

View File

@ -669,10 +669,10 @@ sprite_active
.byte 1, 1, 1, 1, 1, 1, 1, 1 ; 1 = active, 0 = skip
sprite_l
.byte <APPLE_SPRITE9X11, <APPLE_SPRITE9X11, <APPLE_SPRITE9X11, <APPLE_SPRITE9X11, <APPLE_SPRITE9X11, <APPLE_SPRITE9X11, <MOLDY_BURGER, <MOLDY_BURGER
.byte <SPRITES_APPLE_SPRITE9X11, <SPRITES_APPLE_SPRITE9X11, <SPRITES_APPLE_SPRITE9X11, <SPRITES_APPLE_SPRITE9X11, <SPRITES_APPLE_SPRITE9X11, <SPRITES_APPLE_SPRITE9X11, <SPRITES_MOLDY_BURGER, <SPRITES_MOLDY_BURGER
sprite_h
.byte >APPLE_SPRITE9X11, >APPLE_SPRITE9X11, >APPLE_SPRITE9X11, >APPLE_SPRITE9X11, >APPLE_SPRITE9X11, >APPLE_SPRITE9X11, >MOLDY_BURGER, >MOLDY_BURGER
.byte >SPRITES_APPLE_SPRITE9X11, >SPRITES_APPLE_SPRITE9X11, >SPRITES_APPLE_SPRITE9X11, >SPRITES_APPLE_SPRITE9X11, >SPRITES_APPLE_SPRITE9X11, >SPRITES_APPLE_SPRITE9X11, >SPRITES_MOLDY_BURGER, >SPRITES_MOLDY_BURGER
sprite_x
.byte 80, 164, 33, 45, 4, 9, 180, 18