[A83] Re: Faster way of displying text?


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

[A83] Re: Faster way of displying text?




Honestly, I don't see how _vputs can be that slow.  I don't remember the
format of the table, but I thought that if the height is the same for all
characters (which it is), then they will be at set increments, and therefore
can be looked up efficiently.  If _vputs is really that slow, then you can
probably just write your own using the font data from the ROM.  Josh Seagoe
wrote some nice code for the 86 that does this, or is quite similiar.  I
suggest checking that out.

I said to use an aligned font routine, not a clipped sprite routine.  I
think that a clipped sprite routine would be slower than a variable width
font drawing routine.  Plus, you don't have to have all that space for the
font characters.  And really, just how fast do you need to draw text,
anyway?  I can't see it being so slow that it's going to actually matter.

> How much faster would displaying a variable width font with sprclip be
than
> _vputs?






Follow-Ups: References: