Author Topic: Bug Reports  (Read 455405 times)

0 Members and 2 Guests are viewing this topic.

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Bug Reports
« Reply #840 on: October 12, 2010, 08:28:40 pm »
The token swap on u, v, and w that becomes appv, grp, and var is happening within text strings as well, causing garbled text to appear in displays.

Version 0.4.4

You shouldn't be using the u, v, and w tokens in strings, that's what the lowercase alpha option is for :P . The u, v, and w tokens are different than the lowercase letters u, v, and w, and they aren't designed to be used in strings because they don't have ASCII character equivalences.

Offline ACagliano

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 919
  • Rating: +32/-2
    • View Profile
    • ClrHome Productions
Re: Bug Reports
« Reply #841 on: October 13, 2010, 07:49:35 am »
No. I realized what happened, actually. I used TI-Data Editor, which i think it doesnt have the u, v, and w characters separate from the tokens. So when I sent the file to calc, it switched them all.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Bug Reports
« Reply #842 on: October 13, 2010, 11:15:48 am »
Quote from: LordConiupiter
yes, that's right... but you can save them to somewhere else on your calc, and then place them back when ure finished outputting your text. that would be less work than writing your own routine.

wait a minute! I have written a text output routine! I'm gonna post it in the routine topic when I've found it!

Since I only needed to display three types of characters at the very right edge, I just converted them to sprites and used that :)

Thanks though, and the custom sprite routine might help someone else.

And a really weird bug report:

I've used lots of nested If -Else-End statements before, but for some reason, one particular combination gave me an error. Apparently, it didn't count the number of Else/Ends right, because I could either delete the nested Else or the nested End and it would compile with no errors (even though if I deleted the End, it would have a mismatched number of Ends).

I'll post the code when I find it.




Offline guy6020665

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 481
  • Rating: +7/-1
    • View Profile
Re: Bug Reports
« Reply #843 on: October 19, 2010, 08:54:36 pm »
Ummm. not sure if this has been mentioned yet, but are Axe programs supposed to disable MirageOS [ON] functions after a while?

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Bug Reports
« Reply #844 on: October 20, 2010, 05:32:17 pm »
If you use your own interrupt or turn them off, then the MirageOS interrupt will not work. If they're getting turned off and you're doing neither of these, it's because some instructions turn off interrupts. They can be re-enabled with FnOn after those instructions.
* calcdude asks Quigibo to document how instructions affect interrupts. (More specifically which ones turn them on/off)
« Last Edit: October 20, 2010, 05:33:21 pm by calcdude84se »
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Bug Reports
« Reply #845 on: October 20, 2010, 09:41:58 pm »
Ummm. not sure if this has been mentioned yet, but are Axe programs supposed to disable MirageOS [ON] functions after a while?

I don't think so, unless there's a specific FnOff in the prgm :P

Maybe it's a bug where a command disables interrupts and forgot to reenable them? Maybe you could post the code that did this.




Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Bug Reports
« Reply #846 on: October 20, 2010, 10:34:48 pm »
The dispgraph commands have an unfixable hardware bug that disables interrupts after a while when in im2.  You have to explicitly use an FnOn after dispgraph if you want custom interrupts to remain on.
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Bug Reports
« Reply #847 on: October 20, 2010, 10:36:43 pm »
Oh. I'd assume it would disable MOS interrupts, then, right?

I tried looking through the exec for Simul for a DI (because I can't get very far without cheating :P), but I couldn't find one. Now I know why.

Did it do that before, though? It seemed to work in 0.2.6.




Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Bug Reports
« Reply #848 on: October 20, 2010, 10:46:00 pm »
Before it always reenabled them for you by default, but I took that off for the case where you might have a dispgraph inside of an interrupt routine.  If the interrupts were to turn on automatically when they weren't supposed to for even just one instruction (before you have a chance to add the fnOff at the end) then horrible things can happen.
« Last Edit: October 20, 2010, 10:46:07 pm by Quigibo »
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Bug Reports
« Reply #849 on: October 20, 2010, 11:23:09 pm »
Oh, was that the old problem with DispGraph in interrupts? I get it now, though. Too bad Mirage interrupts won't be working by default anymore...




Offline guy6020665

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 481
  • Rating: +7/-1
    • View Profile
Re: Bug Reports
« Reply #850 on: October 21, 2010, 07:13:06 pm »
It seems to stop working after a while with just a simple display loop (with a counter going up of course.)

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Bug Reports
« Reply #851 on: October 21, 2010, 07:36:14 pm »
What stops working? Mirage's ON interrupts? Yeah, they'd get disabled by DispGraph, as Quigibo said.
« Last Edit: October 21, 2010, 07:36:27 pm by Deep Thought »




Offline guy6020665

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 481
  • Rating: +7/-1
    • View Profile
Re: Bug Reports
« Reply #852 on: October 21, 2010, 07:37:57 pm »
But I dont use dispgraph, I use output(
Code: [Select]
0->A
Repeat getkey(15)
output(0,0,A>Dec
A+1->A
End

And that sometimes disables after a while
« Last Edit: October 21, 2010, 07:39:37 pm by guy6020665 »

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Bug Reports
« Reply #853 on: October 21, 2010, 11:18:46 pm »
Does Output stops working or do you just end up stuck in the loop?

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Bug Reports
« Reply #854 on: October 22, 2010, 02:25:20 pm »
You mean Mirage's interrupts don't work anymore? If so,

* calcdude asks Quigibo to document how instructions affect interrupts. (More specifically which ones turn them on/off)

^ seconded.