Omnimaga

Calculator Community => Other Calculators => Topic started by: calcdude84se on November 15, 2010, 09:30:38 pm

Title: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: calcdude84se on November 15, 2010, 09:30:38 pm
Note: I am not in this scenario. There is no urgency about this. I am just curious.
The topic says it all. If I've accidentally put my 84+(SE) in push-to-test mode, and I don't have a link cable, is there any way to take it out of this mode?
(Removing the OS doesn't count, because there isn't a link cable to send a new one with.)
Edit: I meant to say Push-To-Test. Oops :-[
Title: Re: How can one remove a TI-84+(SE) from test mode with no link cable?
Post by: Happybobjr on November 15, 2010, 09:31:21 pm
there is test mode on the 84?
Title: Re: How can one remove a TI-84+(SE) from test mode with no link cable?
Post by: Ancient Power on November 15, 2010, 09:32:56 pm
Go through test mode normally by going through the hardware tests. You could also remove a battery and wait several seconds. If that doesn't work, just remove all batteries including the backup and wait a few seconds.
Title: Re: How can one remove a TI-84+(SE) from test mode with no link cable?
Post by: calcdude84se on November 15, 2010, 09:33:28 pm
Oh, sorry, I meant push-to-test mode :/
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: Darl181 on November 15, 2010, 09:36:57 pm
Do you mean the ←+→+ ON/8+5+ON combination?
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: calcdude84se on November 15, 2010, 09:38:31 pm
Indeed, good sir. More specifically the left+right+ON one, but if 8+5+ON does the same thing, that's a concern too.
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: Builderboy on November 15, 2010, 09:39:16 pm
Hmmmm maybe you could write an asm program using Hex or Mimas?  Haha i'm not an expert in test mode.
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: calcdude84se on November 15, 2010, 09:40:07 pm
But you're in push-to-test mode ;). You cannot create, edit, or run programs, nor can you run apps.
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: BrandonW on November 15, 2010, 09:41:22 pm
You can't. Your only option is to prevent being put in that mode in the first place, of which there are several solutions, one of which is patching the OS.

Technically speaking, what does it is the OS calling _SetAppRestrictions. If you are able to call _RemoveAppRestrictions, you can disable it.
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: Builderboy on November 15, 2010, 09:42:27 pm
Ooooh, hm.  does clearing ram fix it?  Is that an acceptable answer lol?
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: Xeda112358 on November 15, 2010, 09:44:11 pm
No, it does not fix it, to my knowledge. And it cleared all my groups when I was playing with it, by the way.
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: calcdude84se on November 15, 2010, 09:45:41 pm
Yeah, RAM clears do not work.
BrandonW, well I guess that answers the question then :(. I probably should install a PTT patch one of these days...
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: DrDnar on November 15, 2010, 09:46:57 pm
Does PTT force a garbage collect?
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: Builderboy on November 15, 2010, 09:47:08 pm
Yuk that sounds ugly.  :(
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: calcdude84se on November 15, 2010, 09:47:54 pm
Hm, I don't know. Given that I don't notice any wait upon enabling PTT, I'd assume not.
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: DrDnar on November 15, 2010, 09:48:50 pm
Perhaps I should write a group undeleter then?
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: calcdude84se on November 15, 2010, 09:51:01 pm
There's a patch against PTT deleting groups (on this forum, in fact, by thepenguin77), but I think a separate tool would be useful.
It would also complement your Archive Utility/Undeleter programs for programs and appvars. :D
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: FloppusMaximus on November 15, 2010, 09:54:31 pm
Yeah, it's pretty sneaky.

It's been a while since I looked at Push-To-Test.  I seem to remember that entering PTT mode deletes a lot of your variables, but perhaps not all of them.  So now I'm wondering if there's anything (other than modifying the OS) that you could do beforehand to guard yourself.  Does it disable hooks in RAM?  Does it disable ONSCRPT and OFFSCRPT?  What about creatively-corrupted VAT entries?
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: BrandonW on November 15, 2010, 09:55:02 pm
_SetAppRestrictions modifies the certificate to enable Press-to-Test, which is why RAM clears (or OS re-sends) have no effect.
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: calcdude84se on November 15, 2010, 09:56:54 pm
Hm... Hooks are definitely gone. Going to the PTT menu and quitting without entering PTT mode kills all hooks anyway.
I'm not sure about your corrupted VAT entries, nor ONSCRPT and OFFSCRPT. ;D
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: Michael_Lee on November 15, 2010, 09:59:58 pm
So basically, you press left, right, and on to start test mode?
I'm afraid to try this on my calc - what does this do, precisely?
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: calcdude84se on November 15, 2010, 10:03:36 pm
It brings up a menu from which you can start PTT mode.
It disable all apps and programs and prevents you from creating new ones. It also deletes all groups.
You end it by receiving a variable.
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: Michael_Lee on November 15, 2010, 10:04:12 pm
o.o
Any way to circumvent it?
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: calcdude84se on November 15, 2010, 10:06:10 pm
Install a patch. Several are on ticalc.org :)
We're discussing the scenario of if you don't have a link cable and how to possible work around it. (So far, no luck. :()
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: Michael_Lee on November 15, 2010, 10:08:51 pm
Interesting - just tried it, and nothing is happening.  Do I have to press the keys in a particular order?
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: calcdude84se on November 15, 2010, 10:09:57 pm
Turn the calc off. Hold down left and right while pressing ON.
If it doesn't work, your OS version is too old or a patch is already installed somehow.
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: Michael_Lee on November 15, 2010, 10:11:18 pm
o.o  Cool.
I will stop asking n00b questions now.
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: thepenguin77 on November 15, 2010, 10:28:37 pm
I made a program that installs a counter push to test sequence. Up Down ON uninstalls it.

Umm... I'm not sure that this is the best of ideas, but here are all the programs that I have made that patch the OS:

-AboutFix: OS 2.43 Puts your name in the about screen. Re assemble it unless you want it to say "Owner: Brian Coventry"
-Addr series: OS 1.19, 2.43, 2.53fixes ERR:Bad address when grouping and ungrouping
-ChkSmFix: OS 2.43 Fixes the OS checksum (only necessary for 2.43 fixes)
-Mod253: OS 2.53, my pride and joy, Un PTT (UP DOWN ON), PTT deletes require [stat] also, about screen (be sure to recompile with your name), give back classic ram clear screen, fixes ERR:Bad Address, and PTT doesn't delete groups
-NoDel series: OS 2.43, 2.53, PTT doesn't delete groups
-UnPtt 1 and 2: OS 2.43, Run both to allow Un PTT with (UP DOWN ON)
-Versn series: OS 2.43, 2.53, Fixes error version on groups.

-Write flash templates: I'm feeling generous, don't make me regret it.

Some of these don't have OS version checks, so be sure you are doing it on the right OS.
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: DJ Omnimaga on November 15, 2010, 10:32:40 pm
Wow I was sure a RAM clear exited PTT mode. Does ON+DEL exit it?

Also Mapar007 was the one who wrote one of the PTT patches on ticalc.org.
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: thepenguin77 on November 15, 2010, 10:38:54 pm
Nothing you can possibly do will fix it because it is stored in the certificate. A full mem clear won't do it. Even a delete OS, run flash test, reinstall operating system won't fix it. I guess the only thing aside from properly fixing it would be to delete the certificate.

However, PTT does have one fatal flaw, it doesn't disable OFFSCRPT. Which means, put bcall(_removeAppRestrictions) in OFFSCRPT and never worry again.
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: DJ Omnimaga on November 15, 2010, 10:54:07 pm
Ah I see. Well I guess it's best to have it disabled by a patch (or add a secret backdoor to disable it in case the teacher notices) in case teachers won't bother turning it off after tests. I wish TI found a different way to disable it...
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: BrandonW on November 15, 2010, 10:58:42 pm
The USB activity hook persists as well. They're very clumsy and just wipe out iy+34h/35h/36h (or whichever the 3 hook flags are, I forget), but not iy+3Ah which is where the USB activity hook's active flag is.

So you could carry around a USB adapter and jam it into the port whenever you want to re-enable it (after installing a USB activity hook that calls _RemoveAppRestrictions and uninstalls itself).
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: FloppusMaximus on November 15, 2010, 11:10:29 pm
Interesting.  Although of course, neither that, nor OFFSCRPT, would work after a RAM clear.
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: calcdude84se on November 16, 2010, 05:28:37 pm
PTT does not clear RAM, though ;)
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: Deep Toaster on November 16, 2010, 07:06:06 pm
Do you mean the ←+→+ ON/8+5+ON combination?

Didn't even know about the 8+5 one. Is it basically a reset all?
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: DJ Omnimaga on November 16, 2010, 07:08:35 pm
It lets you reset apps/programs.

8+2+ON shows the same message, but says FOR SINGAPORE as well.
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: MRide on November 16, 2010, 07:10:42 pm
Really?  I knew about the left-right-ON one, but not the others.  This would be a good prank to pull on a calc programmer.  (Not that I would ever do such a thing)
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: thepenguin77 on November 16, 2010, 07:15:11 pm
Actually, it's quite horrible considering it deletes the groups. But assuming that person doesn't use groups, then sure. You could also hold clear on a ram clear, that will scare them.
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: Deep Toaster on November 16, 2010, 07:20:42 pm
It lets you reset apps/programs.

8+2+ON shows the same message, but says FOR SINGAPORE as well.

Is there any difference, or is it still about the same clear? Why does TI add this Singapore stuff, anyway?

And thanks for all those fixes, thepenguin77! Is Mod253 basically most of them combined?
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: thepenguin77 on November 16, 2010, 07:34:05 pm
It doesn't delete the Singapore localization app, and perhaps a few others. This was probably added because some teachers in Singapore complained.

Mod253 is basically my calc modding program. I made it for me to use so that I could undo all of it with one program. But, I figure, why keep it all to myself. I haven't seen the standard ram clear screen for about 3 months now.
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: DJ Omnimaga on November 16, 2010, 10:40:44 pm
I wonder if teachers complains would be the same reason as why OS 2.43 is still available on the Singapore TI page (as well as 2.53MP) but not anywhere else?
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: Darl181 on November 17, 2010, 01:22:22 am
It lets you reset apps/programs.

8+2+ON shows the same message, but says FOR SINGAPORE as well.
Yeah, that.
But they spelled singapore wrong, they spell it Signapore.  Another example of TI's brilliance.
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: DJ Omnimaga on November 17, 2010, 04:32:04 am
Lol nice, that reminds me how in the Français APP, they swapped Int( with iPart(...
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: Xeda112358 on November 17, 2010, 06:46:42 pm
Nice :D
Actually, are int( and iPart( only different for negative numbers? int( is the command I use for parser hooks (I have never released a program using the parser hook yet, but I make them every now and again for fun and for friends), so I was curious about how that might affect programmers if I ever did release one...
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: ztrumpet on November 18, 2010, 01:02:09 pm
Nice :D
Actually, are int( and iPart( only different for negative numbers? int( is the command I use for parser hooks (I have never released a program using the parser hook yet, but I make them every now and again for fun and for friends), so I was curious about how that might affect programmers if I ever did release one...
I've never used ipart(), for some reason I've always used int().
So, it would mess me up. ;D
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: Deep Toaster on November 18, 2010, 07:43:21 pm
Nice :D
Actually, are int( and iPart( only different for negative numbers? int( is the command I use for parser hooks (I have never released a program using the parser hook yet, but I make them every now and again for fun and for friends), so I was curious about how that might affect programmers if I ever did release one...
I've never used ipart(), for some reason I've always used int().
So, it would mess me up. ;D

Same here :D I guess it's actually easier to work with, since it's consistent no matter what number you put in.
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: calc84maniac on November 18, 2010, 07:51:51 pm
int() is the floor function, which always rounds towards negative infinity. iPart() always rounds towards 0 (all digits after the decimal point are truncated, leaving the integer part intact even for negative numbers)
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: DJ Omnimaga on November 18, 2010, 07:52:35 pm
Some info about iPart and Int differences: http://tibasicdev.wikidot.com/ipart
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: Builderboy on November 18, 2010, 08:01:58 pm
I use iPart most of the time, although it might be bad practice because i believe int() is faster for the most part XD
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: squidgetx on November 18, 2010, 08:21:45 pm
??? I actually heard the opposite (that iPart was faster), but then again I haven't coded BASIC for like two years so I could be wrong :P
Title: Re: How can one remove a TI-84+(SE) from push-to-test mode with no link cable?
Post by: Xeda112358 on November 18, 2010, 08:28:31 pm
I always used iPart(, thinking it was faster as well.