Author Topic: Undocumented BASIC tricks (TI83/84 series)  (Read 19147 times)

0 Members and 1 Guest 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
Undocumented BASIC tricks (TI83/84 series)
« Reply #45 on: December 09, 2006, 01:38:00 pm »
that too, altough on home screen it take 3 chars slots :(sad.gif

elfprince13

  • Guest
Undocumented BASIC tricks (TI83/84 series)
« Reply #46 on: December 09, 2006, 01:42:00 pm »
o.oblink.gif where did my reply go.....you can use the % to actually perform % operations in TI-Basic (assuming Symbolic ISNT installed)

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
Undocumented BASIC tricks (TI83/84 series)
« Reply #47 on: December 09, 2006, 01:54:00 pm »
hmm idk you prbly forgot to click submit or it didnt reached the database, forum was slow earlier.

EDIT: hmm kalan trick doesnt seems to work anymore :(sad.gif

i remember how on the TI-80 the

Offline tifreak

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2708
  • Rating: +82/-3
  • My Kung Fu IS strong...
    • View Profile
    • TI-Freakware
Undocumented BASIC tricks (TI83/84 series)
« Reply #48 on: December 09, 2006, 02:53:00 pm »
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%

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
Undocumented BASIC tricks (TI83/84 series)
« Reply #49 on: December 09, 2006, 02:57:00 pm »
yeah that too

Offline dinhotheone

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 410
  • Rating: +2/-1
    • View Profile
Undocumented BASIC tricks (TI83/84 series)
« Reply #50 on: February 01, 2007, 03:03:00 pm »
this may be late but...

when/if you use the homescreen for a graphical game without "smooth" scrolling. you can convert what you would output into a string and then use that as an almost screen buffer. if you do this it actually will shorten your code. all you do it redraw the string before you update the position. Well im not sure if it will shorten everyone's code but it defenitely shortened my perhaps unoptimized code a few bytes. plus you can use sub(str,(a-1)*16+B) as hit detection, i think its faster than matrix hit detection.

Edit by Netham45: part of your code was showing up as a smiley.

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
Undocumented BASIC tricks (TI83/84 series)
« Reply #51 on: February 01, 2007, 03:51:00 pm »
there is no post time limit on this topic, as it's a trick topic and its pinned :)smile.gif

Offline Speler

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 857
  • Rating: +6/-2
    • View Profile
Undocumented BASIC tricks (TI83/84 series)
« Reply #52 on: February 01, 2007, 04:41:00 pm »
I use that in my Harrierfalcon Contest entry (sort of).

Offline Radical Pi

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1143
  • Rating: +5/-2
    • View Profile
    • RealityRevolution
Undocumented BASIC tricks (TI83/84 series)
« Reply #53 on: February 01, 2007, 11:46:00 pm »
That was used in tifreak's RPGSK and I'm using it in WoM.
I didn't think it was a 'trick' more than common knowledge... :Ptongue.gif

Here's a trick I'd like to see done efficiently:
Using IS>() or DS<() to exit some kind of loop
One of these days I'll get a sig I'm really proud of.

Offline Speler

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 857
  • Rating: +6/-2
    • View Profile
Undocumented BASIC tricks (TI83/84 series)
« Reply #54 on: February 02, 2007, 09:19:00 am »
Yeah, but that causes memory leaks.

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
Undocumented BASIC tricks (TI83/84 series)
« Reply #55 on: July 19, 2007, 11:13:00 am »
I did not know this until today

QuoteBegin-kalan_vod+18 Jul, 2007, 12:09-->
QUOTE (kalan_vod @ 18 Jul, 2007, 12:09)
If you make something like the other basic game, you can now draw circles faster!

Circle(X,Y,R,{i

R=radius, X=x coord. Y= y coord..


Thanks kalan for posting this. This draws circles 3 times faster

Offline Radical Pi

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1143
  • Rating: +5/-2
    • View Profile
    • RealityRevolution
Undocumented BASIC tricks (TI83/84 series)
« Reply #56 on: July 19, 2007, 12:09:00 pm »
I want to find the writer of the TI-OS and personally tell him how random of a feature that Fast Circle routine is.
It's been there all this time and no one ever knew... We knew there was a routine deep in the OS to do it, but no way to call it outside ASM...
That find really inspires me. There's so much to calcs that we still don't know...
One of these days I'll get a sig I'm really proud of.

Offline dinhotheone

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 410
  • Rating: +2/-1
    • View Profile
Undocumented BASIC tricks (TI83/84 series)
« Reply #57 on: July 19, 2007, 04:26:00 pm »
there doesnt happen to be a way to draw white circles is there? also, fast circle seems...not dumb but why wouldnt you want to draw circles 3x as fast everytime? is it crappyer resolution or something?

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
Undocumented BASIC tricks (TI83/84 series)
« Reply #58 on: July 19, 2007, 04:59:00 pm »
i barely see any difference in them. I think its slightly lower quality and they wanted the people in math to view the circle build slowly so they made them slower

Offline kalan_vod

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2715
  • Rating: +10/-0
    • View Profile
    • kalanrock.us
Undocumented BASIC tricks (TI83/84 series)
« Reply #59 on: July 19, 2007, 05:15:00 pm »
QuoteBegin-DJ Omnimaga+19 Jul, 2007, 17:13-->
QUOTE (DJ Omnimaga @ 19 Jul, 2007, 17:13)
I did not know this until today

QuoteBegin-kalan_vod+18 Jul, 2007, 12:09-->
QUOTE (kalan_vod @ 18 Jul, 2007, 12:09)
If you make something like the other basic game, you can now draw circles faster!

Circle(X,Y,R,{i

R=radius, X=x coord. Y= y coord..


Thanks kalan for posting this. This draws circles 3 times faster  

 I saw it on UTI, and it is amazing! But that faster way would be to calculate the circle points and draw...