### Author Topic: TI-83+/84+ OS glitches compilation thread (all OSes)  (Read 89075 times)

0 Members and 1 Guest are viewing this topic.

#### DJ Omnimaga

• Former TI programmer
• CoT Emeritus
• LV15 Omnimagician (Next: --)
• Posts: 55882
• Rating: +3151/-232
• CodeWalrus founder & retired Omnimaga founder
##### TI-83+/84+ OS glitches compilation thread (all OSes)
« on: September 20, 2009, 03:55:00 pm »
I thought about making a topic where we could compile various TI-OS glitches we encountered so far in BASIC programming or just by using our calc without ASM programs.

In some cases, having the latest OS version is the best way to avoid nasty crashes. However, for some reasons, you might want to keep an old OS installed on your calc: For example, OS 1.12 apparently runs slightly faster than newer OSes. In rare occasions, some games, such as Illusiat 6, might work better on older OSes. So it's still good to know what to avoid doing on these old operating systems.

All OSes
String STO glitch
Trigger: Combine a large amount of string together (Str1+Str1+Str2...etc) or multile large strings together.
Effect: Huge memory leak of around 2000-8000 bytes. Program runs between 40% and 75% slower than normal.
Fix: To get rid of the memory leak, exit the program
Workaround: Store concatenated strings in smaller chunks separately. The size of strings at which the bug starts being triggered is unknown, though.

Tested on OS 1.18 or higher, unconfirmed on older OSes
For( glitch
Trigger: The For( loop must contain either a lone If with no Then where the condition is false, or usage of IS>( and DS<(. In all cases, the For( instruction closing parhentesis must be omitted
Effect: These instructions are processed considerably slower than if the For( parhentesis was closed. Also causes the entire program/game to run slower afterward and possibly (not confirmed) a memory leak.
Fix: Exit the program
Workaround: Always close the parhentesis for the For( instruction when the loop only contains a lone If instruction or if it contains the IS/DS instructions.

All OSes
Goto/prgm called inside itself memory leak
Trigger: Use a Goto instruction inside a For(/While/Repeat/If/Then/Else instruction or run a program from inside itself.
Effect: Maybe not really a bug, but causes a memory leak.
Fix: Use Return or exit the program.
Workaround: Do not use Goto inside loops and conditions

Possibly all OSes
Cubic root & fPart glitch
Trigger: Use the cubic root function inside a fPart function.
Effect: In some cases, this will return 1 instead of 0. Someone reported this sometimes returns 2 or even numbers such as 1*10^-12.
Fix: None
Workaround: Not using cubic root function with fPart(

OS 1.13 ONLY
Trigger: Have at least 50 programs on your calculator, open the PRGM editor, press PRGM from there, then go in EXEC and scroll down the program list.
Effect: RAM Clear, Blue Screen/Lines Of Death, Static, ROM/RAM Fail, OS reinstall screen
Fix: Remove battery, put it back then turn calc back ON.
Workaround: Do not scroll the PRGM list from the PRGM Editor when you have many of them or simply switch to a different OS version.

OS 1.13 or below & all TI-84+/SE OSes
Trigger: Unknown on 83+ OS 1.12/13 (happened twice to me in 8 years). On 84+, simply go in the MODE menu, which will sometimes trigger it
Effect: An additional row of pixel is erased below text displayed using Text( commands.
Fix: use DispTable, switch the prgm to G-T mode while it's on graph screen
Workaround: Unknown on regular 83+/83+SE. On 84+, Do not access the mode menu before using the program. Since your program migth be destined to public use, this might be hard to make sure people won't do so, so have your game start with a Pixel turned ON, then a Text( command called right on top of it. If the pixel gets turned OFF, have the game do one of the things mentionned in "Fix:".

OS 1.03 through 1.14. Unconfirmed on OS 1.15 through 1.17.
Equ>String bug
Trigger: Press Y=, CLEAR, GRAPH, Y= again, type zero in Y1 then on homescreen type Equ>String(Y1,Str1 and execute this 4 times.
Effect: Large files of around 40 KB will appear in the Mem menu and garbage will appear in Y= functions. Moving the cursor over them will cause the calc to crash then either lock-up the calc or trigger a RAM clear.
Fix: In most cases, turn the calc back on (sometimes a battery must be pulled before doing so). In worst cases, a full memory reset (Archive+RAM) or an OS re-install will be required.
Workaround: Update to latest OS version.

TI-83+SE OS 1.13 ONLY
4-5 MHz speed glitch
Trigger: Unknown. Happened often when turning the calc OFF then ON or through the Finance app, though.
Effect: calculator runs 3 times slower than normal or about 80% slower than a regular 83+
Fix: RAM clear
Workaround: Update to another OS.

TI-83+SE OS 1.13 & 1.14 (unconfirmed on OS 1.15 through 1.17) and TI-84+/SE
Trigger: Archive a program in the MEM menu. This glitch is random and occurs very rarely.
Effect: The program will no longer be unarchivable. RAM will still be allocated for the program, but you'll get a BAD ADDRESS error and it will remain archived. The RAM is only recoverable with a RAM reset.
Fix: RAM clear and delete the program
Workaround: Update to another OS.

All OSes, altough it seems less frequent on newer OSes
Modified Group content bug
Trigger: Group files.
Effect: Sometimes, a byte of data is modified in grouped files. This can occasionally cause program content to be slightly altered, for example instead of 2+2->A, you might get shit like 2+ANOVA(A, causing your program to error. In more frequent cases, especially on OS 1.13 and 1.14, ERR:VERSION will occur when ungrouping the file, which will delete the other copy from the RAM in the process.
Fix: None
Workaround: To prevent ERR:VERSION, always group your stuff twice then ungroup each groups to make sure everything is correct or update to latest OS. For the rest, you just need luck, altough this is much less frequent on newer OSes, if it happens at all.

TI-83+SE OS 1.13 and 1.14 (no clue about OS 1.15 through 1.17)
Grouping archived files
Trigger: Have the archive memory be saturated, which means close to GarbageCollection time (when archiving starts taking a long while)
Effect: The closer to a garbage collection you are, the more archived files will show up in the GROUP menu when selecting files to group. At first, very few files will show up, but eventually, every archived program shows up. DO NOT TRY THE FOLLOWING IF YOUR WARRANTY IS VOID. I WON'T HOLD RESPONSIBLE FOR DAMAGES CAUSED TO YOUR CALC! THIS IS EXTREMLY DANGEROUS!!!!!!!Grouping such file causes bad effects ranging from RAM Clears to bricked calc (the first time I intentionally did this, I had to return my calc to Staples with the receipt to get a new one in exchange. The second time I accidentally selected one of these files when doing a backup of one of my game I was working on and the calc simply locked up, but it could have been worse, altough I think the calc was still under warranty at this time)
Fix: Garbage Collect. If you grouped such bad files, do the battery pull trick then press ON, else, do it again while holding DEL then follow instructions on screen. Else, try reinstalling the OS. If that fails too, take your calc back to the store with your receipt.
Workaround: Update to another OS.

All OSes
"Then" glitch
Trigger: Put either two ":" characters or a line break plus a ":" character before the "Then" instruction. In some rarer cases, putting a ":" right after "Then" then a linebreak on OS 1.12 will also trigger that glitch.
Effect: The TI-OS will interpret it as an invalid syntax, even if it's just line breaks or code lines separators. In other words, you'll get an ERR:SYNTAX
Fix: Make sure there's only one type of code line separator between "If" conditions and "Then" instructions, such as a line break or ":" character.
Workaround: None.

All OSes
String STO glitch with matrix [H]
Trigger: Store the symbol for matrix H to a string, as in: "[H]->Str1
Effect: Do a variable recall on the string (2nd, RCL), and you will get "lcm(" which also happens to be the 8th item in the MATH->NUM menu (coincidence, eh?).
Workaround: Waste a byte or two, and store the actual characters for '[' 'H' and ']'.

Possibly all OSes
String recall glitch
Trigger: During the recalling of a string in the PRGM editor, the Y= menu, the List editor, the equation solver or the home screen, where recalling is done char by char, have 1 byte of RAM left when the next character is a 2 byte token.
Effects:
-1) If recalled at the end of the program, it scrolls through random tokens garbage during several minutes, then freezes until a battery is pulled.
-2) If recalled somewhere else in the program, it scrolls at the end of the program line, freezes during several seconds, then shows the checkerboard cursor. The token changes to something else.
-3) If recalled in the Y= editor, the EQU solver, the List editor or the home screen, it freezes until a battery is pulled.

OSes: 84+ tested with 2.53 and 2.55
trigger: put in the homescreen in one line: a function that calls the graph, an ":" and then a function that calls back the homescreen
effect: the graph screen is now the background of the homescreen
fix: press [clear]

Probably All OSes:
Trigger: Storing to u(nMin), v(nMin), w(nMin), Zu(nMin), Zv(nMin), or Zw(nMin)
Effect: It messes up the floating point stack causing programs and subroutines to misbehave (they don't return properly to the parent program).
Fix: None, yet.

Probably All OSes:
Trigger: Disp <<value that doesn't fit on one line>> followed by Pause <<value that fits on the line>>
Effect: The value that follows Pause will be able to scroll, even though it shouldn't. Example:
Code: [Select]
:{1,2,3,4,5,6,7:Disp Ans/3:Pause sum(AnsFix: None, yet.

« Last Edit: January 31, 2013, 07:55:00 am by Xeda112358 »

#### cooliojazz

• Support Staff
• LV7 Elite (Next: 700)
• Posts: 619
• Rating: +66/-9
• I omnoms on your soul
##### Re: TI-83+/84+ OS glitches compilation thread (all OSes)
« Reply #1 on: September 20, 2009, 09:30:54 pm »
Wow, those are quite interesting.  Did you find all these yourself?  Also, I back on my old 84+, before I lost it and got an 84+SE a few moths ago, I had Doors CS 6, Mirage OS, and Dark Pheonix on it. (I had other things, of course, but those are inapplicable to this situation ) I would run Dark Pheonix from one of the shells( I think it was mirage, but it could've been Doors), and once in a while it would do the same  kinda speed glitch thing, where you would have to hold a key for around 3-5 seconds before a response, and the only way to fix it was to either go into the other shell (I think Doors, but once again, I could be wrong) which would only fix it maybe %30 of the time, or do a ram clear.  I don't know if this is related to the one you mentioned...
Spoiler For Random signess:
You can not beat my skills.
Trust me.
So don't even try.
And remember never to trust someone who says, "Trust me."

TI File Editor Progress: Remade in java like a boss. 50% we'll call it? IDK =P
Java Libraries: JIRC - 90% JTIF - 5%
TI Projects: Unreal Notator - -5000%
Nomcraft, a Bukkit mod
Some of the music I write can be found here | The Rest Should Be Here (Bandcamp)

#### calc84maniac

• eZ80 Guru
• Coder Of Tomorrow
• LV11 Super Veteran (Next: 3000)
• Posts: 2898
• Rating: +467/-17
##### Re: TI-83+/84+ OS glitches compilation thread (all OSes)
« Reply #2 on: September 20, 2009, 09:37:59 pm »
Wow, those are quite interesting.  Did you find all these yourself?  Also, I back on my old 84+, before I lost it and got an 84+SE a few moths ago, I had Doors CS 6, Mirage OS, and Dark Pheonix on it. (I had other things, of course, but those are inapplicable to this situation ) I would run Dark Pheonix from one of the shells( I think it was mirage, but it could've been Doors), and once in a while it would do the same  kinda speed glitch thing, where you would have to hold a key for around 3-5 seconds before a response, and the only way to fix it was to either go into the other shell (I think Doors, but once again, I could be wrong) which would only fix it maybe %30 of the time, or do a ram clear.  I don't know if this is related to the one you mentioned...
That glitch sounds like a program change the status of the link port, making the OS constantly wait for data. That should be fixable by entering anything on the homescreen and pressing Enter (like "0")
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

#### cooliojazz

• Support Staff
• LV7 Elite (Next: 700)
• Posts: 619
• Rating: +66/-9
• I omnoms on your soul
##### Re: TI-83+/84+ OS glitches compilation thread (all OSes)
« Reply #3 on: September 20, 2009, 09:47:50 pm »
No, nothing you would do would ever fix it, except sometimes running the other shell and/or ram clear.  And it wasn't just the keys, it was everything.  If I actually took the time to run a program, which takes quite a while at that speed, everything about it would be slow.
Spoiler For Random signess:
You can not beat my skills.
Trust me.
So don't even try.
And remember never to trust someone who says, "Trust me."

TI File Editor Progress: Remade in java like a boss. 50% we'll call it? IDK =P
Java Libraries: JIRC - 90% JTIF - 5%
TI Projects: Unreal Notator - -5000%
Nomcraft, a Bukkit mod
Some of the music I write can be found here | The Rest Should Be Here (Bandcamp)

#### miotatsu

• LV6 Super Member (Next: 500)
• Posts: 332
• Rating: +11/-1
##### Re: TI-83+/84+ OS glitches compilation thread (all OSes)
« Reply #4 on: September 21, 2009, 12:56:16 am »
that for( bug is interesting, i'll have to pay more attention to my for loops in the future, i wasn't aware of that until now

#### Geekboy1011

• The Oneironaut
• Donator
• LV11 Super Veteran (Next: 3000)
• Posts: 2030
• Rating: +119/-2
• Dream that Awakening dream
##### Re: TI-83+/84+ OS glitches compilation thread (all OSes)
« Reply #5 on: September 22, 2009, 01:18:03 pm »
seconded never knew that 0.o

#### DJ Omnimaga

• Former TI programmer
• CoT Emeritus
• LV15 Omnimagician (Next: --)
• Posts: 55882
• Rating: +3151/-232
• CodeWalrus founder & retired Omnimaga founder
##### Re: TI-83+/84+ OS glitches compilation thread (all OSes)
« Reply #6 on: October 05, 2009, 04:36:38 am »
Update: added some more TI-83+SE-only glitches in the list, including one you must not try unless you no longer care about your calc (and if you really no longer caring about your calc, why not just ship it to someone else who would like a calc for very cheap or for free? )

#### mapar007

• LV7 Elite (Next: 700)
• Posts: 550
• Rating: +28/-5
• The Great Mata Mata
##### Re: TI-83+/84+ OS glitches compilation thread (all OSes)
« Reply #7 on: October 17, 2009, 05:54:34 am »
There's also the GB collect with hidden files + any error glitch. It involves hiding some archived files, garbage collecting, and then causing any error. The calc will crash. (confirmed OS 2.43 and OS 2.40, not sure if it always shows up, though)

EDIT: well, it actually does involve using ASM programs...

#### DJ Omnimaga

• Former TI programmer
• CoT Emeritus
• LV15 Omnimagician (Next: --)
• Posts: 55882
• Rating: +3151/-232
• CodeWalrus founder & retired Omnimaga founder
##### Re: TI-83+/84+ OS glitches compilation thread (all OSes)
« Reply #8 on: October 17, 2009, 09:07:19 am »
Yeah the list actually only includes the ones not using any ASM programs, just BASIC ones or no program at all, but a compilation of ASM glitches might be a cool idea

NIce find, though, I never got aware of that one.

#### mapar007

• LV7 Elite (Next: 700)
• Posts: 550
• Rating: +28/-5
• The Great Mata Mata
##### Re: TI-83+/84+ OS glitches compilation thread (all OSes)
« Reply #9 on: October 18, 2009, 02:13:21 am »
With ASM glitches, you can put up basically anything that uses the OS for out-of-purpose stuff. By the way, if the words "Application" or "ASM program" or "third-party" occur in your tech-support email, you get the fixed response: "We don't support third-party applications. Contact the developers."

But I guess you meant malfunctioning OS routines
Brandon Wilson 's documenting Bcalls as of now, so he'll no doubt encounter some weird stuff.

#### DJ Omnimaga

• Former TI programmer
• CoT Emeritus
• LV15 Omnimagician (Next: --)
• Posts: 55882
• Rating: +3151/-232
• CodeWalrus founder & retired Omnimaga founder
##### Re: TI-83+/84+ OS glitches compilation thread (all OSes)
« Reply #10 on: October 18, 2009, 02:16:08 am »
for BASIC bugs, I forgot a bug about the "Then" instruction I think but the issue is that I don't remember exactly how it was triggered, but it involved getting an error when not supposed to

EDIT: added it to bug list.

« Last Edit: October 19, 2009, 05:01:29 am by DJ Omnimaga »

#### mapar007

• LV7 Elite (Next: 700)
• Posts: 550
• Rating: +28/-5
• The Great Mata Mata
##### Re: TI-83+/84+ OS glitches compilation thread (all OSes)
« Reply #11 on: October 19, 2009, 11:00:45 am »
I once had this BAD ADDRESS bug, never figured out what it was, though, since it was before I learned ASM xD

EDIT: The bad address thing was on my 84+ basic, so it does occur on such calcs. ( I already had OS 2.43 back then I think)

Quote
Workaround: To prevent ERR:VERSION, always group your stuff twice then ungroup each groups to make sure everything is correct or update to latest OS. For the rest, you just need luck, altough this is much less frequent on newer OSes, if it happens at all.

Or get GroupTool (Look at Brandon Wilson's author profile at ticalc.org) I've successfully ungrouped such files with it.

Workaround No2: Edit the Version byte in the VAT with calcsys. (if you don't know where this version byte is, open up your calcsys manual and asmin28, day 21)
« Last Edit: October 19, 2009, 11:04:53 am by mapar007 »

#### Builderboy

• Physics Guru
• CoT Emeritus
• LV13 Extreme Addict (Next: 9001)
• Posts: 5673
• Rating: +613/-9
• Would you kindly?
##### Re: TI-83+/84+ OS glitches compilation thread (all OSes)
« Reply #12 on: October 19, 2009, 05:41:35 pm »
Or get GroupTool (Look at Brandon Wilson's author profile at ticalc.org) I've successfully ungrouped such files with it.

I've come to think that this is the reason for my massive Serenity corruption, as I used it frequently before, and since I stopped using it, have not had the problem again.  I ruled out TiConnect, because files that I had not transferred to my computer were later found to be corrupted too   Anyway, I've stopped using GroupTool, even though it is very very usefull.

#### DJ Omnimaga

• Former TI programmer
• CoT Emeritus
• LV15 Omnimagician (Next: --)
• Posts: 55882
• Rating: +3151/-232
• CodeWalrus founder & retired Omnimaga founder
##### Re: TI-83+/84+ OS glitches compilation thread (all OSes)
« Reply #13 on: October 21, 2009, 05:31:26 am »
The For( glitch in action:

Notice the speed difference when the closing parhentesis is removed!

I really need to scan through Metroid II code one day... maybe THIS is what causes the game to suddently slow down after taking an elevator or to just run slow altogether. I mean, how can it run so slow when the walking loop is so small?

#### drummist

• LV1 Newcomer (Next: 20)
• Posts: 6
• Rating: +0/-0
##### Re: TI-83+/84+ OS glitches compilation thread (all OSes)
« Reply #14 on: October 21, 2009, 05:36:15 am »
OS 1.14 (I think) through 1.16
String STO glitch with matrix
Trigger: Store the symbol for matrix H to a string, as in: "[H]->Str1
Effect: Do a variable recall on the string (2nd, RCL), and you will get "lcm(" which also happens to be the 8th item in the MATH->NUM menu (coincidence, eh?).
Workaround: Waste a byte or two, and store the actual characters for '[' 'H' and ']'.