Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
20 June, 2013, 04:46:24 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1] 2 3 ... 13   Go Down
  Print  
Author Topic: TI-83+/84+ OS glitches compilation thread (all OSes) -  (Read 20003 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Online Online

Gender: Male
Last Login: Today at 04:18:54
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50644


Total Post Ratings: +2640

View Profile WWW
« on: 20 September, 2009, 21:55:00 »
+5

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
PRGM menu bug
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
Text( additional pixel row bug
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
ERR:BAD ADDRESS
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.
Fix/Workaround: Try to keep your RAM from going too low while using 2nd+STO a lot. More info about this bug at http://www.omnimaga.org/index.php?topic=1996.msg56521#msg56521

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:

1
2
3
4
:{1,2,3,4,5,6,7
:Disp Ans/3
:Pause sum(Ans
Fix: None, yet.

« Last Edit: 31 January, 2013, 14:55:00 by Xeda112358 » Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
cooliojazz
Support Staff
LV7 Elite (Next: 700)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 23:38:41
Date Registered: 23 May, 2009, 19:28:11
Location: Colorado, USA
Posts: 616


Total Post Ratings: +53

View Profile WWW
« Reply #1 on: 21 September, 2009, 03:30:54 »
0

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 Tongue) 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...
Logged

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
Epic z80 roflpwner
Coder Of Tomorrow
LV11 Super Veteran (Next: 3000)
*
Offline Offline

Gender: Male
Last Login: Today at 03:06:06
Date Registered: 28 August, 2008, 05:09:05
Location: Right behind you.
Posts: 2738


Total Post Ratings: +376

View Profile
« Reply #2 on: 21 September, 2009, 03:37:59 »
0

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 Tongue) 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")
Logged

"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)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 23:38:41
Date Registered: 23 May, 2009, 19:28:11
Location: Colorado, USA
Posts: 616


Total Post Ratings: +53

View Profile WWW
« Reply #3 on: 21 September, 2009, 03:47:50 »
0

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.
Logged

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)
******
Offline Offline

Gender: Male
Last Login: 11 November, 2011, 23:26:19
Date Registered: 17 July, 2009, 21:33:58
Location: Hidey Hole
Posts: 322


Total Post Ratings: +10

View Profile WWW
« Reply #4 on: 21 September, 2009, 06:56:16 »
0

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
Logged


PIWORLD まぼろし ~Kuronikuruzu~ Progress: 35%
Geekboy1011
The Oneironaut
Support Staff
LV10 31337 u53r (Next: 2000)
*
Online Online

Gender: Male
Last Login: Today at 04:28:58
Date Registered: 11 June, 2009, 01:27:44
Location: Buried in cherry flavored source code
Posts: 1536


Total Post Ratings: +88

View Profile
« Reply #5 on: 22 September, 2009, 19:18:03 »
0

seconded never knew that 0.o
Logged

Yumé - The Eternal Dreams(tsukasaZX's project): music making working on second piece
PROJECT:TiX - planning stages almost done few more things to think about then i start coding so coding should commence tommorow or the NULL of NULL yay
Project/Mod Cadan: CD  -   My (first?!?) mod of the cadan engine for a not so demoified version of the game : HOLD :Is here
Beta testing: -  Correlation: Wordwrap abuse IF Adventure style
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Online Online

Gender: Male
Last Login: Today at 04:18:54
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50644


Total Post Ratings: +2640

View Profile WWW
« Reply #6 on: 05 October, 2009, 10:36:38 »
0

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? Tongue)
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
mapar007
LV7 Elite (Next: 700)
*******
Offline Offline

Gender: Male
Last Login: 21 May, 2013, 17:24:56
Date Registered: 09 October, 2008, 17:38:37
Location: Mechelen, Flanders, Belgium
Posts: 553


Total Post Ratings: +23

View Profile
« Reply #7 on: 17 October, 2009, 11:54:34 »
0

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...
Logged

DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Online Online

Gender: Male
Last Login: Today at 04:18:54
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50644


Total Post Ratings: +2640

View Profile WWW
« Reply #8 on: 17 October, 2009, 15:07:19 »
0

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.
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
mapar007
LV7 Elite (Next: 700)
*******
Offline Offline

Gender: Male
Last Login: 21 May, 2013, 17:24:56
Date Registered: 09 October, 2008, 17:38:37
Location: Mechelen, Flanders, Belgium
Posts: 553


Total Post Ratings: +23

View Profile
« Reply #9 on: 18 October, 2009, 08:13:21 »
0

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 Smiley
Brandon Wilson 's documenting Bcalls as of now, so he'll no doubt encounter some weird stuff.
Logged

DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Online Online

Gender: Male
Last Login: Today at 04:18:54
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50644


Total Post Ratings: +2640

View Profile WWW
« Reply #10 on: 18 October, 2009, 08:16:08 »
0

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.

EDIT 2: added ERR:BAD ADDRESS bug and the modified byte when grouping bug
« Last Edit: 19 October, 2009, 11:01:29 by DJ Omnimaga » Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
mapar007
LV7 Elite (Next: 700)
*******
Offline Offline

Gender: Male
Last Login: 21 May, 2013, 17:24:56
Date Registered: 09 October, 2008, 17:38:37
Location: Mechelen, Flanders, Belgium
Posts: 553


Total Post Ratings: +23

View Profile
« Reply #11 on: 19 October, 2009, 17:00:45 »
0

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: 19 October, 2009, 17:04:53 by mapar007 » Logged

Builderboy
Physics Guru
LV13 Extreme Addict (Next: 9001)
*************
Online Online

Gender: Male
Last Login: Today at 04:38:52
Date Registered: 20 April, 2009, 00:28:53
Location: Ravenholm
Posts: 5645


Total Post Ratings: +589

View Profile
« Reply #12 on: 19 October, 2009, 23:41:35 »
0

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 Big frown  Anyway, I've stopped using GroupTool, even though it is very very usefull.
Logged

DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Online Online

Gender: Male
Last Login: Today at 04:18:54
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50644


Total Post Ratings: +2640

View Profile WWW
« Reply #13 on: 21 October, 2009, 11:31:26 »
0

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?
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
drummist
LV1 Newcomer (Next: 20)
*
Offline Offline

Last Login: 14 November, 2009, 04:55:25
Date Registered: 21 July, 2009, 17:12:45
Posts: 6

Total Post Ratings: 0

View Profile
« Reply #14 on: 21 October, 2009, 11:36:15 »
0

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 ']'.
Logged
Pages: [1] 2 3 ... 13   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.656 seconds with 30 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.