A86: Sprites


[Prev][Next][Index][Thread]

A86: Sprites



Does anyone have a sprite routine that works?  I've tried all of the
following routines and none of them seem to work:
  Jimmy Mardell's (Or whoever wrote that spritedemo that's on ticalc)
  The one that Trent Lillehaugen posted
  One that I wrote myself
     -AND-
  One that I copied out of Sqrxz...


Is it my source?
I used something basic like:

Start:
 ld bc,0000
 ld de,0000
 ld hl,Sprite  ;Or whatever register needs to point to the sprite
 call PutSprite   ;Or whatever the name was
 ret

Sprite:
 .db 8,8 ;Or maybe just one or no 8's, depending on the routine's
requirements.
 .db %00000000
 .db %01111110
 .db %01000010
 .db %01000010
 .db %01000010
 .db %01000010
 .db %01111110
 .db %00000000


All this ever seems to do is go on to the next line on the homescreen...

Any suggestions?

~Steve