Omnimaga
Calculator Community => TI Calculators => TI-BASIC => Topic started by: meishe91 on May 24, 2010, 02:57:02 am
-
What displays faster when displaying something? The graph or homescreen? Or does it all depend on the code and circumstances? Just a little curious.
-
in BASIC, homescreen text will show up about twice faster than large fonts on graph screen (Idk for OS 2.53MP) and small fonts slower than large ones. Line( will be much faster than drawing an entire line of pixel
large fonts being fast on graph screen is why people tend to go with text sprites or dual-layer ASCII nowadays
(http://www.omnimaga.org/index.php?action=dlattach;topic=3301.0;attach=1351;image)
-
So large font on homescreen (not that you can use little, that I know of haha) will display about twice as fast as on the graphscreen, and large font on the graphscreen will display faster than the small font? Is that right?
-
yeah I always noticed homescreen stuff displays that much faster. Keep in mind I last tried on a 83+/83+SE running OS 1.14, though.. But yeah you are right. I think the small font issue is because they're variable width (such as spaces being 1 pixel wide, lowercase m and w taking 6 pixels width, i and ! being two pixels wide and other stuff. I am not sure but I wouldn't be surprised if this took much processing power by TI's text routine.
-
Ah ok, gotcha, thanks.
Side Question:
I didn't want to make another topic since I just created this one so I'm just gonna ask another question here real fast. Is there any way to check what token is being displayed at a certain position on the homescreen, in BASIC?
Ex: Say "!" is being displayed at (3,5), is there any way to check that position and see what is there? (In this case a "!.")
I thought I remembered seeing a way how to do it somewhere but I can't remember to save my life right now where, or even if, I saw it.
-
In BASIC, you can't.
-
Keep in mind I last tried on a 83+/83+SE running OS 1.14, though..
DJ, the same thing's true on my 83+se 1.19 and 84+se 2.43, so I think it's that way on all the calcs. :D
-
Ah ok, gotcha, thanks.
Side Question:
I didn't want to make another topic since I just created this one so I'm just gonna ask another question here real fast. Is there any way to check what token is being displayed at a certain position on the homescreen, in BASIC?
Ex: Say "!" is being displayed at (3,5), is there any way to check that position and see what is there? (In this case a "!.")
I thought I remembered seeing a way how to do it somewhere but I can't remember to save my life right now where, or even if, I saw it.
Well, it's not exactly 'checking the position on the homescreen' it's 'checking a matrix or string' depending on which way you choose to store the map. I personally prefer matrices since they're easier but they will take up more space than strings. (and might be slower too... I forget)
But yeah, depending on how you handle maps, there's different methods for checking what's at what position on the screen.
-
matrices are faster but they're considerably larger, especially when stored
-
In BASIC, you can't.
Damn it, must've been imagining it then.
Ah ok, gotcha, thanks.
Side Question:
I didn't want to make another topic since I just created this one so I'm just gonna ask another question here real fast. Is there any way to check what token is being displayed at a certain position on the homescreen, in BASIC?
Ex: Say "!" is being displayed at (3,5), is there any way to check that position and see what is there? (In this case a "!.")
I thought I remembered seeing a way how to do it somewhere but I can't remember to save my life right now where, or even if, I saw it.
Well, it's not exactly 'checking the position on the homescreen' it's 'checking a matrix or string' depending on which way you choose to store the map. I personally prefer matrices since they're easier but they will take up more space than strings. (and might be slower too... I forget)
But yeah, depending on how you handle maps, there's different methods for checking what's at what position on the screen.
Well I actually meant to check what token is actually there without knowing what it is. Not having a matrix or something with a predetermined set of tokens used and such.
Thanks though guys :)
-
On graph screen, it might be possible, using pixel check, although the program that checks this will be pretty big and slow...
On homescreen, I can't think of any ways that would achieve this :(
-
Hmmm, ok. Thanks.
-
I can think of a really easy way to do this in asm (or Axe), but it's impossible in basic. =/
-
Well dang. Oh well. I think I figured out what I need to do for what I was asking this for anyways, but thanks O0