CodeWalrus

Development => Calculators => Calculator News, Coding, Help & Talk => Topic started by: CVSoft on October 13, 2015, 06:23:28 PM

Title: TI-82 OS Bugs
Post by: CVSoft on October 13, 2015, 06:23:28 PM
So far I have found three bugs in the TI-OS for the TI-82.

PlotN( Bug
https://www.youtube.com/watch?v=JZ6NYCttTRU
Affected versions: 3., 8.0, 9.0. Believed to be present on all versions whose version number does not end in an asterisk (4*, 7*, etc.)
Setting up a stats plot through the Plot1/Plot2/Plot3( functions results in the mark always being the square mark, regardless of what was specified.

Menu:getKey Bug
https://www.youtube.com/watch?v=BE1sDAjhE6U
Affected versions: all versions up to and including 17.0.
getKey called after a Menu( results in getKey catching the ENTER keypress from the menu item selection. To fix this in programs, call getKey before you start a getKey loop.

Shade( Bug
https://www.youtube.com/watch?v=rXP0XKicHj0
Affected versions: 15.0, 16.0, 17.0, 18.0; altered behavior on pre-15.0 versions
I didn't discover this bug (http://web.archive.org/web/19990209090802/http://www.millcomm.com/~bendzick/ti82bugs/), it has been known since 1996. Execute the command Shade(1,2,6 with no closing parenthesis and a dirty graphscreen. While the calculator redraws the graph, ON-break it. A number will appear in tiny font at the top of the screen. Type something in, press ENTER, and the calculator will crash dramatically.
On pre-15.0 versions, the calculator will not crash. Instead, the graph screen will be drawn over the home screen and the calculator will work normally.

If you find any more, post them here and I'll add it to the list.
Title: Re: TI-82 OS Bugs
Post by: Dream of Omnimaga on October 13, 2015, 06:37:59 PM
Thanks for sharing. I fixed the Youtube links since the Youtube tag only supports http links and some browsers block them by default on https.

I'll check your videos later when I'm not on 3G. :)
Title: Re: TI-82 OS Bugs
Post by: Ivoah on October 13, 2015, 07:22:14 PM
Nice work CVSoft! Your videos are so professional looking.
Title: Re: TI-82 OS Bugs
Post by: Max Leiter on October 13, 2015, 07:24:06 PM
Pretty cool videos/bugs, thanks for sharing
Anyone know exactly -why- the Share( bug happens?
Title: Re: TI-82 OS Bugs
Post by: CVSoft on October 13, 2015, 11:06:50 PM
Quote from: Max Leiter on October 13, 2015, 07:24:06 PM
Pretty cool videos/bugs, thanks for sharing
Anyone know exactly -why- the Share( bug happens?

My best guess would be that the error handler isn't called and one of the stacks is corrupted. I'm too much of an assembly noob to look into it.
Title: Re: TI-82 OS Bugs
Post by: Dream of Omnimaga on October 14, 2015, 02:43:45 AM
CVSoft I just checked the first video and this bug reminds me a lot of the TI-84+CSE bug where the plot mark would always be black no matter the color selected. It would become colored once refreshing the screen with Disp followed by DispGraph.

The second bug is also present in MirageOS with BASIC programs. I am surprised that on the 82 it also happens without ASM.

Also woah, that 3rd bug is nasty O.O