mirror of
https://github.com/robmcmullen/asmgen.git
synced 2024-09-27 15:55:09 +00:00
Added fixes for sprite demo
This commit is contained in:
parent
6186c1e639
commit
40d588c56e
@ -28,14 +28,14 @@ colortest.dsk: $(ASMGEN_SRC) colortest.s bwsprite.s
|
|||||||
atasm -ocolortest.xex colortest.s -Lcolortest.var -gcolortest.lst
|
atasm -ocolortest.xex colortest.s -Lcolortest.var -gcolortest.lst
|
||||||
atrcopy colortest.dsk boot -b colortest.xex --brun 6000 -f
|
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)
|
$(ASMGEN) -s hgrbw -m -k -d -g -f ../../fonts/fatfont128.dat -o cpbg $(BWSPRITE) $(COLORSPRITE)
|
||||||
|
|
||||||
cpbg.xex: cpbg.s cpbg-asmgen-driver.s
|
cpbg.xex: cpbg.s cpbg-asmgen-driver.s
|
||||||
atasm -mae -ocpbg.xex cpbg.s -Lcpbg.var -gcpbg.lst
|
atasm -mae -ocpbg.xex cpbg.s -Lcpbg.var -gcpbg.lst
|
||||||
|
|
||||||
cpbg.dsk: $(ASMGEN_SRC) cpbg.xex
|
cpbg.dsk: $(ASMGEN_SRC) cpbg.s cpbg-asmgen-driver.s
|
||||||
atrcopy cpbg.dsk boot -b cpbg.xex --brun 6000 -f
|
atrcopy cpbg.dsk boot -f -s cpbg.s -r 0x6000
|
||||||
|
|
||||||
fonttest-asmgen-driver.s: $(ASMGEN_SRC) ../../fonts/fatfont128.dat
|
fonttest-asmgen-driver.s: $(ASMGEN_SRC) ../../fonts/fatfont128.dat
|
||||||
$(ASMGEN) -s hgrbw -f ../../fonts/fatfont128.dat -r -o fonttest
|
$(ASMGEN) -s hgrbw -f ../../fonts/fatfont128.dat -r -o fonttest
|
||||||
@ -44,8 +44,7 @@ fatfont.s:
|
|||||||
$(ASMGEN) --src ../../fonts/fatfont128.dat > fatfont.s
|
$(ASMGEN) --src ../../fonts/fatfont128.dat > fatfont.s
|
||||||
|
|
||||||
fonttest.dsk: fonttest.s fatfont.s fonttest-asmgen-driver.s slowfont.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 -s fonttest.s --brun 6000 -f
|
||||||
atrcopy fonttest.dsk boot -b fonttest.xex --brun 6000 -f
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f rowlookup.s collookupbw.s collookupcolor.s
|
rm -f rowlookup.s collookupbw.s collookupcolor.s
|
||||||
|
@ -669,10 +669,10 @@ sprite_active
|
|||||||
.byte 1, 1, 1, 1, 1, 1, 1, 1 ; 1 = active, 0 = skip
|
.byte 1, 1, 1, 1, 1, 1, 1, 1 ; 1 = active, 0 = skip
|
||||||
|
|
||||||
sprite_l
|
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
|
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
|
sprite_x
|
||||||
.byte 80, 164, 33, 45, 4, 9, 180, 18
|
.byte 80, 164, 33, 45, 4, 9, 180, 18
|
||||||
|
Loading…
Reference in New Issue
Block a user