[A83] Re: Faster way of displying text?


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

[A83] Re: Faster way of displying text?




The small font is in different locations depending on rom version, and looks 
very different on older versions then newer versions.  (look at the accented 
characters!)

I just need to display the score at the top left corner of the screen (white 
text, black background), and display peridoc number popups (like a floating 
500 when eating cherries).

The screen is redrawn every frame, and the score display will flicker every 
other frame.

Where can I find a fast, unclipped, AND sprite routine?


>From: "David Phillips" <david@acz.org>
>Reply-To: assembly-83@lists.ticalc.org
>To: <assembly-83@lists.ticalc.org>
>Subject: [A83] Re: Faster way of displying text?
>Date: Mon, 26 Mar 2001 11:36:12 -0700
>
>
>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?
>
>
>
>

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com





Follow-Ups: