Author Topic: xLIB on OS 2.54MP now possible  (Read 6429 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
xLIB on OS 2.54MP now possible
« on: May 22, 2010, 11:50:05 pm »
BrandonW has just released a patch to get xLIB commands to work on OS 2.54MP, TI-84 Plus OS version that the TI-Nspire OS 2.0 and 2.0.1 emulates. Until now, those commands would do nothing, even when xLIB was enabled. It should come very handy for people who want to run games and programs that won't run fine under Celtic III.

It was added to our archives here.

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: xLIB on OS 2.54MP now possible
« Reply #1 on: May 23, 2010, 10:28:59 am »
Again, BrandonW's proven how much he can do to fix TI's errors.  Thanks Brandon! ;D
Do you mind telling us what you had to change?

Offline TsukasaZX

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 415
  • Rating: +46/-3
  • Never Gonna Give You Up!
    • View Profile
Re: xLIB on OS 2.54MP now possible
« Reply #2 on: May 23, 2010, 12:12:58 pm »
That's good! Now I don't have to worry so much when I make games. Speaking of which, one of these days I'll get off my lazy rear and get back to work on LNBL and my other games `-`
IRC EFNet | Nick Su-Hime | Chan #omnimaga, #unss, #cemetech
Yumé - 100% Complete!
Yumé 2: Rika's Story - 10%
 - Hiatus until summertime
Yumé: The Eternal Dreams - 50%
 - World and events
TIBiC/GO C Library - N%

"Alenda lux ubi orta libertas" - Let learning be cherished where liberty has arisen.

  ▲
▲ ▲ Triforce!

Offline Silver Shadow

  • Beta Tester
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +27/-7
    • View Profile
Re: xLIB on OS 2.54MP now possible
« Reply #3 on: May 23, 2010, 12:37:59 pm »
Yay! I tested it on Age of Culture II and it worked great! Thanks a lot!

And also, does this also fix the Omnicalc problems? I didn't dare try it on my calc...
Former Coder of Tomorrow


Offline BrandonW

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 115
  • Rating: +38/-1
    • View Profile
Re: xLIB on OS 2.54MP now possible
« Reply #4 on: May 23, 2010, 06:26:17 pm »
Again, BrandonW's proven how much he can do to fix TI's errors.  Thanks Brandon! ;D
Do you mind telling us what you had to change?

It's on brandonw.net. They basically re-arranged a lot of code in the parser and broke what happens when canceling from the parser hook (which is what xLIB does when it handles a real( token). They set numOP1,(iy+ParsFlags2) when they really shouldn't be, which confuses the parser because it's looking for a result in Ans/OP1 when xLIB didn't return one (or returned garbage).

It's highly dependent on how parser hook-using programs are coded -- this is why Celtic III (coincidentally) doesn't have the problem.

I sent an e-mail to TI explaining the bug and how to fix it, but they'll probably either ignore it or it won't make it to someone who can actually fix it.

Yay! I tested it on Age of Culture II and it worked great! Thanks a lot!

And also, does this also fix the Omnicalc problems? I didn't dare try it on my calc...

I don't know specifically what the Omnicalc problems are, but I doubt it.
« Last Edit: May 23, 2010, 06:27:17 pm by BrandonW »

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: xLIB on OS 2.54MP now possible
« Reply #5 on: May 23, 2010, 06:29:56 pm »
I think there is an Omnicalc version that works on 2.53 MP, right? I wouldn't be surprised if it worked on 2.54 too