Omnimaga

Calculator Community => Other Calculators => Topic started by: NeoCrisis on November 13, 2010, 07:06:46 am

Title: Patching a calculator???????????
Post by: NeoCrisis on November 13, 2010, 07:06:46 am
Hi!

I've seen on this forum many people talking about patched TIOS. What's this and how do we do this :D?

Thanks to anyone answering rapidly!

Salut!

J'ai vu sur le forum beaucoup de membres parlant de OS patchés sur les calculettes. Qu'est-ce que c'est et comment on le fait :D?

Merci à quiconque pourra me répondre rapidement!
Title: Re: Patching a calculator???????????
Post by: Lionel Debroux on November 13, 2010, 07:51:57 am
Patching TI's OS means modifying it to fix bugs (both TI-Z80 and TI-68k series - for example, 84+(SE) OS 2.53MP _needs_ an unofficial bugfix to become much more stable), remove protections (mostly TI-68k series), use the OS on other calculator models (see Brandon Wilson's Chameleon), and things like that :)
TI's OS can be patched either with a program that you need to run yourself (sometimes after compiling it), or pre-made binary patches that you need to apply yourself to pristine versions of the OS.

Je suis français aussi, mais sur ce forum, on parle plutôt anglais, même s'il y a une section francophone qu'assez peu de membres, finalement, fréquentent ;)
Title: Re: Patching a calculator???????????
Post by: NeoCrisis on November 13, 2010, 07:54:20 am
yahoo! Another French!!! Je suis bilingue français/anglais, ça fait plaisir!!! tu sais où est-ce que je peux en trouver ou s'il en existe pour la TI-83+.FR??
Title: Re: Patching a calculator???????????
Post by: Lionel Debroux on November 13, 2010, 08:07:37 am
Well, I'm mostly a TI-68k guy, so I'm not very knowledgeable about TI-Z80 OS patches :)

I've read about a patch which enables running recent 84+ OS on a 83+ (maybe only a 83+SE ?), but like most TI-Z80 patches, I don't know where to get it.
Title: Re: Patching a calculator???????????
Post by: NeoCrisis on November 13, 2010, 08:10:41 am
ok, but what could this patch add? i do not see the point of installing a TI-84+ OS on a 83+, though they are quite similar....
Title: Re: Patching a calculator???????????
Post by: Munchor on November 13, 2010, 09:14:32 am
ok, but what could this patch add? i do not see the point of installing a TI-84+ OS on a 83+, though they are quite similar....

There are no important third-party patches for Z80 calculators, if you have some bug, tell us someone could make a patch, but you don't really need one.

Title: Re: Patching a calculator???????????
Post by: TC01 on November 13, 2010, 09:30:57 am
Installing an 84+ OS on an 83+ would be kind of pointless, because the 83+ does not have an RTC and so timing functions wouldn't work.

You'd get OpenLib and ExecLib, but I don't think any libraries actually use them.

ok, but what could this patch add? i do not see the point of installing a TI-84+ OS on a 83+, though they are quite similar....

There are no important third-party patches for Z80 calculators, if you have some bug, tell us someone could make a patch, but you don't really need one.

That is not totally true. As Lionel said, you need patches to run 2.53 MP and have it be stable.

But yeah, if you're not running 2.53 MP you don't really need any patches.
Title: Re: Patching a calculator???????????
Post by: qazz42 on November 13, 2010, 09:40:31 am
Well, I'm mostly a TI-68k guy, so I'm not very knowledgeable about TI-Z80 OS patches :)

I've read about a patch which enables running recent 84+ OS on a 83+ (maybe only a 83+SE ?), but like most TI-Z80 patches, I don't know where to get it.

Actually, it is the opposite, it lets you put a 83+ OS on a 84+
Title: Re: Patching a calculator???????????
Post by: NeoCrisis on November 13, 2010, 11:09:27 am
oh so that's not for me: I've got a TI-83+.FR (it's a blue one, so I think the 83+SE because my girlfriend has an ungly old one :-X)

[edit]don't think I like French calculators, I deleted the little app which translated the calculator from English to French, much better to program because I understand a bit better English than French (though I'm French  ;D ;D...)
Title: Re: Patching a calculator???????????
Post by: Deep Toaster on November 13, 2010, 11:12:32 am
oh so that's not for me: I've got a TI-83+.FR (it's a blue one, so I think the 83+SE because my girlfriend has an ungly old one :-X)

Wow, never even heard of that one :o

Most of the patches are to fix bugs, such as the ones in this thread (http://ourl.ca/3687/67152).
Title: Re: Patching a calculator???????????
Post by: NeoCrisis on November 13, 2010, 11:15:04 am
oh so that's not for me: I've got a TI-83+.FR (it's a blue one, so I think the 83+SE because my girlfriend has an ungly old one :-X)

Wow, never even heard of that one :o

Most of the patches are to fix bugs, such as the ones in this thread (http://ourl.ca/3687/67152).

it's normal because, as the product ID says, it is a FR version. As written in my profile I'm French (you know the little guy with a hat and a piece of bread in his hand?) and I didn't find English calculators in my FRench supermarket :/
Title: Re: Patching a calculator???????????
Post by: ztrumpet on November 13, 2010, 11:17:48 am
I've read about a patch which enables running recent 84+ OS on a 83+ (maybe only a 83+SE ?), but like most TI-Z80 patches, I don't know where to get it.
BrandonW made a patch to run OS 2.53 MP on the 83+SE calcs. ;)

Here's a patch that I use: http://ourl.ca/6542
Title: Re: Patching a calculator???????????
Post by: Munchor on November 13, 2010, 12:30:37 pm
Hi!

I've seen on this forum many people talking about patched TIOS. What's this and how do we do this :D?

Thanks to anyone answering rapidly!

Salut!

J'ai vu sur le forum beaucoup de membres parlant de OS patchés sur les calculettes. Qu'est-ce que c'est et comment on le fait :D?

Merci à quiconque pourra me répondre rapidement!

Rayquaza, are you still looking for a patch?

I think ticalc has a few in only one page, or maybe I'm wrong

Scout David wonders if what he saw is really what he saw =O
Title: Re: Patching a calculator???????????
Post by: DJ Omnimaga on November 13, 2010, 12:38:58 pm
So far, I think there is a patch that fixes xLIB problems on OS 2.53MP, a patch that fixes MirageOS problems on 2.54MP (although you need to reinstall it every RAM clear) and a patch that fixes the For() loop glitch mentionned in the glitch thread mentionned above. BrandonW also wanted to make one that allows you to run archived programs, but I don't know what happened to it.
Title: Re: Patching a calculator???????????
Post by: critor on November 13, 2010, 12:40:18 pm
oh so that's not for me: I've got a TI-83+.FR (it's a blue one, so I think the 83+SE because my girlfriend has an ungly old one :-X)

Wow, never even heard of that one :o

Most of the patches are to fix bugs, such as the ones in this thread (http://ourl.ca/3687/67152).


The TI-83+.fr is nothing interesting.
It's just a basic TI-83+, with a blue case and a keyboard with french labels.

2.53MP OS doesn't work on basic TI-83+ because they only have 32Kb RAM, and the OS needs at least 48Kb RAM.
So, 2.53MP can only work on TI-84+/84+SE and on TI-83+SE with the patch.

You can install the patched OS on your basic TI-83+. It will boot correctly, but the calculator is going to crash if you ask it for "1+1", because of the missing RAM page...


The patch was mentionned and linked in that french news:
http://ti.bank.free.fr/index.php?mod=news&ac=commentaires&id=810
Title: Re: Patching a calculator???????????
Post by: TC01 on November 13, 2010, 12:41:17 pm
Wasn't he making something that would rewrite the TIOS Basic parser to let it run code out of ROM?

Noshell can run archived programs by copying them to RAM first (in addition to running assembly programs without Asm(, and Ion/MOS programs without a shell).
Title: Re: Patching a calculator???????????
Post by: DJ Omnimaga on November 13, 2010, 12:42:51 pm
Does the TI-83+.FR enables Français by default on the first boot, by the way? Or do you need to manually enable it?

Also I think I remember now about the 83+SE. I wonder how stable was it...
Title: Re: Patching a calculator???????????
Post by: mapar007 on November 13, 2010, 01:06:25 pm
A while ago, I made a patch to (completely) disable the Push-to-test in OS 2.43 and 2.53MP. It's complementary with the brandonw patch.

Technical banter: Brandon's patch renders _SetAppRestrictions useless, along with some Testgrd2 related stuff, if I recall correctly. My patch messes with the PTT code itself, to disable the hook kill and the group/pic reset. (bcall _PTTReset iirc).

http://www.ticalc.org/archives/files/fileinfo/425/42591.html
http://www.ticalc.org/archives/files/fileinfo/418/41803.html
Title: Re: Patching a calculator???????????
Post by: Munchor on November 13, 2010, 01:11:46 pm
A while ago, I made a patch to (completely) disable the Push-to-test in OS 2.43 and 2.53MP. It's complementary with the brandonw patch.

Technical banter: Brandon's patch renders _SetAppRestrictions useless, along with some Testgrd2 related stuff, if I recall correctly. My patch messes with the PTT code itself, to disable the hook kill and the group/pic reset. (bcall _PTTReset iirc).

http://www.ticalc.org/archives/files/fileinfo/425/42591.html
http://www.ticalc.org/archives/files/fileinfo/418/41803.html

Nice, but what is the push to test?
Title: Re: Patching a calculator???????????
Post by: TC01 on November 13, 2010, 01:20:37 pm
A while ago, I made a patch to (completely) disable the Push-to-test in OS 2.43 and 2.53MP. It's complementary with the brandonw patch.

Technical banter: Brandon's patch renders _SetAppRestrictions useless, along with some Testgrd2 related stuff, if I recall correctly. My patch messes with the PTT code itself, to disable the hook kill and the group/pic reset. (bcall _PTTReset iirc).

http://www.ticalc.org/archives/files/fileinfo/425/42591.html
http://www.ticalc.org/archives/files/fileinfo/418/41803.html

Nice, but what is the push to test?

There's a good explanation of it in the review for the second file mapar linked.

It's something TI added to TIOS 2.40. When a key combination is held down when the calculator is off, it brings up a PTT menu that lets you disable the running of applications and programs until a file is sent to it from another calculator.

It's for teachers.
Title: Re: Patching a calculator???????????
Post by: Deep Toaster on November 13, 2010, 01:30:55 pm
A while ago, I made a patch to (completely) disable the Push-to-test in OS 2.43 and 2.53MP. It's complementary with the brandonw patch.

Technical banter: Brandon's patch renders _SetAppRestrictions useless, along with some Testgrd2 related stuff, if I recall correctly. My patch messes with the PTT code itself, to disable the hook kill and the group/pic reset. (bcall _PTTReset iirc).

http://www.ticalc.org/archives/files/fileinfo/425/42591.html
http://www.ticalc.org/archives/files/fileinfo/418/41803.html

Nice, but what is the push to test?

There's a good explanation of it in the review for the second file mapar linked.

It's something TI added to TIOS 2.40. When a key combination is held down when the calculator is off, it brings up a PTT menu that lets you disable the running of applications and programs until a file is sent to it from another calculator.

It's for teachers.

And for some reason it deletes all your groups, which is really annoying. TI could have just disabled the group menu for the same results :P

Just wondering, does anyone here have teachers who actually use P2T? I've never actually seen it used, except when I play around with people's calcs ;D
Title: Re: Patching a calculator???????????
Post by: TC01 on November 13, 2010, 01:31:46 pm
Nope.

My math teacher (of two years ago, and now this year again) taught me calculator programming, so...
Title: Re: Patching a calculator???????????
Post by: DJ Omnimaga on November 13, 2010, 01:40:53 pm
I heard in the past there are a lot of teachers who use it and they forget to disable it on people calc after exams. In the case an user has no friend with a link cable or a computer at home, they're screwed and lose their entire calc RAM.

By the way, do patches simply find/replace code in the OS or do they just modify/insert code at a specific memory address? If it's the former, I assume multiple patches can be installed at once without much risks of conflicts, right?

Maybe there should be a topic listing every existing OS patches  for calculators, since most of them are not on ticalc.org. :P
Title: Re: Patching a calculator???????????
Post by: Deep Toaster on November 13, 2010, 01:42:27 pm
I heard in the past there are a lot of teachers who use it and they forget to disable it on people calc after exams. In the case an user has no friend with a link cable or a computer at home, they're screwed and lose their entire calc RAM.

By the way, do patches simply find/replace code in the OS or do they just modify/insert code at a specific memory address? If it's the former, I assume multiple patches can be installed at once without much risks of conflicts, right?

Maybe there should be a topic listing every existing OS patches  for calculators, since most of them are not on ticalc.org. :P

Someone should make a category on WikiTI! It would be really convenient there.
Title: Re: Patching a calculator???????????
Post by: DJ Omnimaga on November 13, 2010, 01:44:04 pm
Yeah that would be handy too. :)
Title: Re: Patching a calculator???????????
Post by: Munchor on November 13, 2010, 01:49:13 pm
Now there will be a period where we need everything on WikiTI :D
Title: Re: Patching a calculator???????????
Post by: DJ Omnimaga on November 13, 2010, 11:45:28 pm
Well the purpose of the ASM Wiki is to have everything ASM or calc hardware/system related into one place. That way, it is easier on forums to redirect people to more info when they need more as people don't have to Google for 2 hours for one simple ASM info. It can also be useful for Axe programmers.