Author Topic: Extra tokens and token picker (with grayscale)  (Read 11014 times)

0 Members and 2 Guests are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Extra tokens and token picker (with grayscale)
« Reply #15 on: June 10, 2010, 06:06:58 pm »
I'm really tempted to mess with that stuff on Casio FX-9860G/Graph 85 at one point. The homescreen text display on that thing is so friggin fast

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Extra tokens and token picker (with grayscale)
« Reply #16 on: June 10, 2010, 06:11:25 pm »
That's pretty cool.  I like how it's four level, gradient style. ;D

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Extra tokens and token picker (with grayscale)
« Reply #17 on: June 10, 2010, 06:13:54 pm »
Ya, I was trying to do it on the homescreen at first with Output( but then remembered that the Text( is faster.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Extra tokens and token picker (with grayscale)
« Reply #18 on: June 10, 2010, 06:15:28 pm »
It is?
There's only one problem: Hardcoding is faster than Ans.
As in Text(-1,0,0,"Hi is faster than 0:Text(-1,Ans,Ans,"Hi

Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: Extra tokens and token picker (with grayscale)
« Reply #19 on: June 10, 2010, 06:18:36 pm »
isn't Ans faster only for mathematical operations?
like ans2 is faster than 22 albeit by a very small fraction of a second, but not when displaying things?


Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Extra tokens and token picker (with grayscale)
« Reply #20 on: June 10, 2010, 06:33:06 pm »
I've heard somewhere (I don't remember where, but it might be on TI|BD) that pxl-Test(X,Y:If Ans is faster than If pxl-Test(X,Y. Is there a way to predict whether using Ans in some expression is faster or slower than using the original expression itself?




Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Extra tokens and token picker (with grayscale)
« Reply #21 on: June 10, 2010, 06:52:51 pm »
Oh ya. I forgot that. Oh well, doesn't make much of a difference :P I think nemo is right though (I just got in the habit from seeing Weregoose's code :P).
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Extra tokens and token picker (with grayscale)
« Reply #22 on: June 10, 2010, 06:57:50 pm »
I didn't knew Text was faster than Output? In my old tests, Output always seemed faster...

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Extra tokens and token picker (with grayscale)
« Reply #23 on: June 10, 2010, 07:54:22 pm »
I didn't knew Text was faster than Output? In my old tests, Output always seemed faster...
I think I've gotten the same test results.  Output seems faster.  Huh... :)
« Last Edit: June 10, 2010, 07:54:37 pm by ztrumpet »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Extra tokens and token picker (with grayscale)
« Reply #24 on: June 10, 2010, 07:55:15 pm »
Yeah, I only tried in OS 1.12 through 1.14, though. Maybe it changed on the 84?

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Extra tokens and token picker (with grayscale)
« Reply #25 on: June 10, 2010, 10:43:56 pm »
Oh, I could have sworn that you said Text( was faster, but I guess I remember it wrong or misread. Why does my little test program work on the graphscreen and not the homescreen then?
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Extra tokens and token picker (with grayscale)
« Reply #26 on: June 10, 2010, 10:48:33 pm »
Idk what you mean x.x

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Extra tokens and token picker (with grayscale)
« Reply #27 on: June 10, 2010, 10:55:04 pm »
If you swap the Text(s with Output(s it doesn't work. Or are you talking about a different thing?
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Extra tokens and token picker (with grayscale)
« Reply #28 on: June 10, 2010, 11:03:54 pm »
oh it's because on home screen output is aligned on a grid. To display a char at row 16 column 0 you would use Output(3,1,"HI" instead of Text(-1,16,0,"HI"

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Extra tokens and token picker (with grayscale)
« Reply #29 on: June 10, 2010, 11:41:04 pm »
Well I just mean it is really flickery when you use Output( as opposed to Text when it seems almost flickerless.

By the way, what was your old test to see which is faster?

@ztrumpet
What test did you do?
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)