Author Topic: TI-OS Command addition  (Read 8633 times)

0 Members and 1 Guest are viewing this topic.

Offline lookitsan00b

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 173
  • Rating: +37/-3
    • View Profile
TI-OS Command addition
« on: November 23, 2010, 10:54:31 pm »
I'm sure we all can think of a few commands TIOS could really use.

For example, I was thinking of a 'With' command. Something that can change the 'Ans' automatically pasted at the beginning of a blank line when you push an op key to 'A', 'sin(180', or even '(-B+sqrt(BB-4AC))/(2A)'. Something that allows us to pass arguments to programs (using lowercase letters, of course) would be nice too.

Oh and while I'm at it, an app that'll allow us to make our custom-made quadratic solvers into token commands would be nice ;)

If it's not possible, consider it a KOS math program suggestion, or even a suggestion for future OSes.

It doesn't have to be an OS patch/mod/whatchamacallit, an app that'll temporarily install these would be nice too.
My TI-94+SE is broken.  I used some flawed existential conditioning on it, and it crashed. :(

Activity level:
{====______}

Spoiler For Securite:
{=========_}

A couple security flaws
Need a good backdoor short of reinstalling the OS
Completely immobilized and invalidated by Zstart. And rendered incompatible.
Spoiler For FFTATIA:
{====______}

framework: mostly done
graphics engine: undergoing complete rewrite
still need character and enemy sprites!!! :P

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: TI-OS Command addition
« Reply #1 on: November 23, 2010, 11:11:32 pm »
I wish it allowed an MD5 hash. There are Bcalls designed to do exactly that, so it shouldn't be much of a problem.
« Last Edit: November 23, 2010, 11:12:00 pm by Qwerty.55 »
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline lookitsan00b

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 173
  • Rating: +37/-3
    • View Profile
Re: TI-OS Command addition
« Reply #2 on: November 23, 2010, 11:19:09 pm »
Really? Theres soo many B-calls and far too many have almost cryptic names that I never probably would've known...

Btw this was supposed to be an I-suggest-something-awesome-and-somebody-else-takes-it-and-makes-it situation, but I do suppose I could give it a shot, given links to the documentation...

Hooray for Mimas! :D

EDIT: whats an MD5 hash? And what do oversized tater-tots have to do with anything?
« Last Edit: November 23, 2010, 11:22:00 pm by lookitsan00b »
My TI-94+SE is broken.  I used some flawed existential conditioning on it, and it crashed. :(

Activity level:
{====______}

Spoiler For Securite:
{=========_}

A couple security flaws
Need a good backdoor short of reinstalling the OS
Completely immobilized and invalidated by Zstart. And rendered incompatible.
Spoiler For FFTATIA:
{====______}

framework: mostly done
graphics engine: undergoing complete rewrite
still need character and enemy sprites!!! :P

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: TI-OS Command addition
« Reply #3 on: November 23, 2010, 11:25:49 pm »
A hash is a (hopefully unique) representation of an arbitrarily sized string of data in another fixed length string. The MD5 part just describes what algorithm was used to compute the hash. This would be very useful in RPGs, because it would allow you to check if the user has tampered with the save data or not. It would also allow you to check for the existence of files if their data is known.

If you want documentation, BrandonW published it at WikiTI
« Last Edit: November 23, 2010, 11:27:54 pm by Qwerty.55 »
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline lookitsan00b

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 173
  • Rating: +37/-3
    • View Profile
Re: TI-OS Command addition
« Reply #4 on: November 23, 2010, 11:46:47 pm »
Ooooohhhhhhhh...
You're saying that'd be a useful feature?
*slaps self
I was wondering how it'd help me create and assign functions to tokens... :P
My TI-94+SE is broken.  I used some flawed existential conditioning on it, and it crashed. :(

Activity level:
{====______}

Spoiler For Securite:
{=========_}

A couple security flaws
Need a good backdoor short of reinstalling the OS
Completely immobilized and invalidated by Zstart. And rendered incompatible.
Spoiler For FFTATIA:
{====______}

framework: mostly done
graphics engine: undergoing complete rewrite
still need character and enemy sprites!!! :P

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: TI-OS Command addition
« Reply #5 on: November 23, 2010, 11:54:01 pm »
Could new commands be implemented through parser hooks? (Kinda like Omnicalc, xLIB, Doors CS, Celtic and Symbolic?)

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: TI-OS Command addition
« Reply #6 on: November 24, 2010, 12:47:51 am »
Could new commands be implemented through parser hooks? (Kinda like Omnicalc, xLIB, Doors CS, Celtic and Symbolic?)

In the same manner as those hooks, yes. If you're talking about installing new tokens, no. It screws up the OS if you make new tokens and those tokens would be deleted every time you boot the calculator or use certain OS functions. I imagine it's why Axe only renames the tokens.
« Last Edit: November 24, 2010, 12:48:22 am by Qwerty.55 »
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

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: TI-OS Command addition
« Reply #7 on: November 24, 2010, 01:58:48 am »
Nah, not new tokens. I have very bad memories from Omnicalc 1.0 and 1.1, which used new tokens instead of real(20. Those programs can't be sent from a calc to another unless they have Omnicalc installed or that the files are grouped. Opening such file without Omnicalc installed could cause crashes. I don't think they could be sent to a computer without grouping them first either.

Axe only renames tokens, like language localization apps. It doesn't re-order them in the CATALOG, though.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: TI-OS Command addition
« Reply #8 on: November 24, 2010, 02:01:04 am »
Well symbolic does something like adding new tokens. I wonder if there would be a way to patch new tokens into the OS
« Last Edit: November 24, 2010, 02:02:23 am by Eeems »
/e

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: TI-OS Command addition
« Reply #9 on: November 24, 2010, 02:03:40 am »
Oh wait I forgot that one was not updated. Omnicalc 1.0/1.1 (2002) worked similarly. I guess that's why Kerm/Iambian/tr1p1ea couldn't chain their apps with it...

Also Eeems what do you mean by "if rare would be a way"? ???

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: TI-OS Command addition
« Reply #10 on: November 24, 2010, 02:12:55 am »
Well symbolic does something like adding new tokens. I wonder if there would be a way to patch new tokens into the OS

I'm not sure how Symbolic does it (possibly by directing you to the app), but according to the TI-OS documentation, the OS expects the same number of tokens. It will eliminate any other ones it finds.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: TI-OS Command addition
« Reply #11 on: November 24, 2010, 02:20:33 am »
I believe Symbolic temporarily renames unused tokens like the ... token, and it also installs a hook that makes it able to run a function.  This is apparent if you try to use the function, and then press 2nd enter and the token changes into something else.

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: TI-OS Command addition
« Reply #12 on: November 24, 2010, 02:31:05 am »
I'M not sure either.

Btw does Symbolic works on OS 1.15 or higher? I know Omnicalc 1.0 and 1.1 didn't. You needed OS 1.12 through 1.14 to run it. Now it works on 1.13 or higher.

This is how Omnicalc shows illegal tokens in version 1.00. Note, the first time I chose to not rename illegal tokens when uninstalling it. The second time I did and it froze (it always did when I used it).
« Last Edit: November 24, 2010, 02:31:53 am by DJ Omnimaga »

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: TI-OS Command addition
« Reply #13 on: November 24, 2010, 11:30:54 am »
I'M not sure either.

Btw does Symbolic works on OS 1.15 or higher? I know Omnicalc 1.0 and 1.1 didn't. You needed OS 1.12 through 1.14 to run it. Now it works on 1.13 or higher.

This is how Omnicalc shows illegal tokens in version 1.00. Note, the first time I chose to not rename illegal tokens when uninstalling it. The second time I did and it froze (it always did when I used it).

Yeah, they both work on 1.19 now. Also, Omnicalc now apparently deletes variables containing illegal tokens instead of modifying them, now. Symbolic was changed so that it could chain with Omnicalc's real( syntax.




Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: TI-OS Command addition
« Reply #14 on: November 24, 2010, 12:18:08 pm »
I'm sure we all can think of a few commands TIOS could really use.

For example, I was thinking of a 'With' command. Something that can change the 'Ans' automatically pasted at the beginning of a blank line when you push an op key to 'A', 'sin(180', or even '(-B+sqrt(BB-4AC))/(2A)'. Something that allows us to pass arguments to programs (using lowercase letters, of course) would be nice too.

Oh and while I'm at it, an app that'll allow us to make our custom-made quadratic solvers into token commands would be nice ;)

If it's not possible, consider it a KOS math program suggestion, or even a suggestion for future OSes.

It doesn't have to be an OS patch/mod/whatchamacallit, an app that'll temporarily install these would be nice too.

Who created Omnicalc, he could feature those :D