Re: A86: fastsprite and putsprite.


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

Re: A86: fastsprite and putsprite.




Drawing a sprite isn't the easiest task to do.  Maybe you could come up
with your own short routine?  ;-)

You can draw a sprite with a very small amount of code if it is aligned,
meaning that the pixels don't span two bytes of memory.  If not, they must
be shifted into position.  Secondly, the starting address of the sprite
must be calculated.  This also takes some code because it is calculated
using only adds and shifts.  Matt Johnson commented a putsprite routine at
his site.  After reading and understanding the routine, you'll see why they
seem so long.

http://www.dogtech.com/cybop/ti86/

At 09:35 PM 9/12/98 EDT, you wrote:
>
>I have compares source for both put and fastsprite.  why is it that they are
>soooo long?  isn't there a shorter easier way to disp a sprite?  
>
>BlAsTo1414
>

--
David Phillips
mailto:electrum@tfs.net
ICQ: 13811951
AOL/AIM: Electrum32


References: