Author Topic: Weird BASIC Glitch or error or something like that  (Read 12864 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Weird BASIC Glitch or error or something like that
« Reply #15 on: April 13, 2010, 12:26:23 am »
I still suspect something else than the TI OS could have caused it. Can you recreate this bug after a fresh RAM reset? Even the most stable ASM programs could be enough to trigger weird things. Even CODEX did.

Offline jsj795

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1105
  • Rating: +84/-3
    • View Profile
Re: Weird BASIC Glitch or error or something like that
« Reply #16 on: April 13, 2010, 12:37:59 am »
Well, I only tried it once on calculator, but on WabbitEmu, I was able to recreate it a lot of times, even with ram clears, all memory clear, etc.

Right after all memory clear (in wabbitemu):
RAM:24317
After you get memory error from too big of Ans variable:
RAM:16129
After making program named 'A' and recalling the answer 1 time:
RAM:7925
After recalling the answer 2nd time, weird stuff happens.



Spoiler For funny life mathematics:
1. ROMANCE MATHEMATICS
Smart man + smart woman = romance
Smart man + dumb woman = affair
Dumb man + smart woman = marriage
Dumb man + dumb woman = pregnancy
2. OFFICE ARITHMETIC
Smart boss + smart employee = profit
Smart boss + dumb employee = production
Dumb boss + smart employee = promotion
Dumb boss + dumb employee = overtime
3. SHOPPING MATH
A man will pay $2 for a $1 item he needs.
A woman will pay $1 for a $2 item that she doesn't need.
4. GENERAL EQUATIONS & STATISTICS
A woman worries about the future until she gets a husband.
A man never worries about the future until he gets a wife.
A successful man is one who makes more money than his wife can spend.
A successful woman is one who can find such a man.
5. HAPPINESS
To be happy with a man, you must understand him a lot and love him a little.
To be happy with a woman, you must love her a lot and not try to understand her at all.
6. LONGEVITY
Married men live longer than single men do, but married men are a lot more willing to die.
7. PROPENSITY TO CHANGE
A woman marries a man expecting he will change, but he doesn't.
A man marries a woman expecting that she won't change, and she does.
8. DISCUSSION TECHNIQUE
A woman has the last word in any argument.
Anything a man says after that is the beginning of a new argument.

Girls = Time * Money (Girls are a combination of time and money)
Time = Money (Time is money)
Girls = Money squared (So, girls are money squared)
Money = sqrt(Evil) (Money is also the root of all evil)
Girls = sqrt(Evil) squared (So, girls are the root of all evil squared)
Girls = Evil (Thus, girls are evil)
*Girls=Evil credit goes to Compynerd255*

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Weird BASIC Glitch or error or something like that
« Reply #17 on: April 13, 2010, 12:49:34 am »
wow,  so I guess it's a new bug then x.x

I wonder if OS 2.53 MP fixes it?

Offline Michael_Lee

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1019
  • Rating: +124/-9
    • View Profile
Re: Weird BASIC Glitch or error or something like that
« Reply #18 on: August 18, 2010, 03:17:19 pm »
Hmm, I tried this, but I just got the dotted cursor.  I have TI-84+SE, with OS 2.53 MP.
I tried using a normal letter for a string, instead of the serifed F in the screenshot.  I wonder if that makes a difference?
My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Weird BASIC Glitch or error or something like that
« Reply #19 on: August 18, 2010, 03:21:43 pm »
I tried this too, but I just got the dotted cursor.  I have TI-84+SE, with OS 2.43. :)

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Weird BASIC Glitch or error or something like that
« Reply #20 on: August 18, 2010, 03:25:56 pm »
Weird...I just did this again and the glitch happened to me this time ???
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Weird BASIC Glitch or error or something like that
« Reply #21 on: August 18, 2010, 05:42:01 pm »
I'm doing it on a fresh install of nspire os 1.1, after an all mem clear.

It's taking a while tho....

Edit: Nothing for the nspire
« Last Edit: August 18, 2010, 05:51:13 pm by willrandship »

Offline chrisf1337

  • LV2 Member (Next: 40)
  • **
  • Posts: 21
  • Rating: +1/-1
    • View Profile
Re: Weird BASIC Glitch or error or something like that
« Reply #22 on: August 18, 2010, 05:51:35 pm »
I got the dotted cursor, OS 2.53 with no extra ram pages.
Hai thar!

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: Weird BASIC Glitch or error or something like that
« Reply #23 on: August 18, 2010, 05:55:27 pm »
I got something new: even after I ClrEnt, I'm still 4000 short, after deleting EVERYTHING

Ram Clear fixed it tho. :)

Offline Snake X

  • Ancient Veteran
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 810
  • Rating: +33/-8
    • View Profile
Re: Weird BASIC Glitch or error or something like that
« Reply #24 on: August 18, 2010, 06:18:21 pm »
what I don't understand is how you got that F to show up. I don't get that in the window vars
Loved this place, still the best producers of power metal, and sparked my dreams of coding.

Offline chrisf1337

  • LV2 Member (Next: 40)
  • **
  • Posts: 21
  • Rating: +1/-1
    • View Profile
Re: Weird BASIC Glitch or error or something like that
« Reply #25 on: August 18, 2010, 06:23:38 pm »
It's under Vars>Statistics>Test.
Hai thar!

Offline Snake X

  • Ancient Veteran
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 810
  • Rating: +33/-8
    • View Profile
Re: Weird BASIC Glitch or error or something like that
« Reply #26 on: August 18, 2010, 06:29:23 pm »
it worked! cal'c crashed. I had to paste mine 3 time before it did random stuff. Its still going as I type this message right now. TI-83+ OS 1.19
Loved this place, still the best producers of power metal, and sparked my dreams of coding.

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: Weird BASIC Glitch or error or something like that
« Reply #27 on: August 18, 2010, 06:52:04 pm »
Uhhh... Another glitch I have to fix. I just did it on my calc. Recall it once, you get about 2000 F's, recall it twice you get about 500 F's then unlimited random charaters.

I'll look into it.

Oh, and 100% guarantee it has nothing to do with extra ram pages as those aren't used for this kind of thing.

Edit #1:
    It only works with two byte characters. The OS checks to see if the total ram used is equal to the total ram available. If you count by twos however, 999!=1000, 1001!=1000, the OS misses it's chance and guess what happens.

Edit #2:
    Found it. I'm not going to go through the trouble of fixing it because 1) I'm lazy, and 2) I'm not sure this has ever caused someone an accidental ram clear. But for future reference here is the problem:

In bcall($4942), (editTail) is checked with (editBtm) to see if they are equal, and if they're not, it figures that there is enough space to put another character. But if it is putting a two byte character, it goes past the end of the editBuffer and copies into oblivion. The way to fix it would be to either stop it once it goes over, or check for two byte characters and handle them accordingly.

For all those who couldn't get the recall glitch, delete your second recall. Add in one more byte, pressing enter will work. And then recall it again.
« Last Edit: August 18, 2010, 07:50:38 pm by thepenguin77 »
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Weird BASIC Glitch or error or something like that
« Reply #28 on: August 18, 2010, 09:52:33 pm »
That's crazy.  Nice find!  :)

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Weird BASIC Glitch or error or something like that
« Reply #29 on: August 18, 2010, 10:00:17 pm »
Very nice, Penguin. Glad you could shed some light on what was going on. Not that I completely understand it :P But cool :)
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)