Author Topic: Bug Reports  (Read 455135 times)

0 Members and 3 Guests are viewing this topic.

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Bug Reports
« Reply #375 on: June 17, 2010, 02:43:29 am »
Hmm... failed to initialize the LCD row value?
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Ikkerens

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 378
  • Rating: +28/-9
  • JavaScript Magician
    • View Profile
    • Walotech
Re: Bug Reports
« Reply #376 on: June 17, 2010, 02:49:18 am »
Here's the source, if it helps :)

Splut for Android [----------]
Paused/halted indefinitely, might be abandoned, our graphic designer quit and the rest of us simply doesn't have the time to work on it...

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Bug Reports
« Reply #377 on: June 17, 2010, 03:18:18 am »
I just typed your code into my calculator and I didn't get any lines at the bottom of the screen. Only thing I did differently was leave off the ending parenthesis but I don't think that'd change anything.
Spoiler For Spoiler:



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

Offline Ikkerens

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 378
  • Rating: +28/-9
  • JavaScript Magician
    • View Profile
    • Walotech
Re: Bug Reports
« Reply #378 on: June 17, 2010, 03:30:39 am »
I just typed your code into my calculator and I didn't get any lines at the bottom of the screen. Only thing I did differently was leave off the ending parenthesis but I don't think that'd change anything.

Are you using Axe 0.3.0?
And if so, what exactly did you leave away?

Splut for Android [----------]
Paused/halted indefinitely, might be abandoned, our graphic designer quit and the rest of us simply doesn't have the time to work on it...

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 #379 on: June 17, 2010, 03:33:45 am »
Sounds like there might not be enough delay.  That surprises me since it works on mine and I have the slow LCD driver.  What model calculator are you using and what letter on the back?
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Ikkerens

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 378
  • Rating: +28/-9
  • JavaScript Magician
    • View Profile
    • Walotech
Re: Bug Reports
« Reply #380 on: June 17, 2010, 03:45:16 am »
I'm using an TI-84+
And which letter? Il just write down everything:
CES-003 Class B

2488017502   P-0208J

Copyright © TI 2004
One or more of the following U.S. patents apply
4823311 5377130 5532846 5870319 6118423
Made in china etc....
Backup battery
303 or SR446W

Hope its in there :P

Splut for Android [----------]
Paused/halted indefinitely, might be abandoned, our graphic designer quit and the rest of us simply doesn't have the time to work on it...

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Bug Reports
« Reply #381 on: June 17, 2010, 03:49:42 am »
I just typed your code into my calculator and I didn't get any lines at the bottom of the screen. Only thing I did differently was leave off the ending parenthesis but I don't think that'd change anything.

Are you using Axe 0.3.0?
And if so, what exactly did you leave away?

Ya, I'm using 0.3.0. I actually tried both and got the same results. The only things I left off though was the ending bracket ("]") and the ending parenthesis to the second and fourth Pt-On( command.

This was done on a TI-84+ running OS 2.43. Which letter on the back is it that you look for again? I can't remember.
Spoiler For Spoiler:



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

Offline Ikkerens

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 378
  • Rating: +28/-9
  • JavaScript Magician
    • View Profile
    • Walotech
Re: Bug Reports
« Reply #382 on: June 17, 2010, 03:50:33 am »
Might be a difference but im running 2.53MP (BrendanW edit)

Splut for Android [----------]
Paused/halted indefinitely, might be abandoned, our graphic designer quit and the rest of us simply doesn't have the time to work on it...

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 #383 on: June 17, 2010, 03:57:06 am »
Is it possible you were just running a different program previously that might have changed the LCD settings?  See if ALCDFIX makes it work again.
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Ikkerens

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 378
  • Rating: +28/-9
  • JavaScript Magician
    • View Profile
    • Walotech
Re: Bug Reports
« Reply #384 on: June 17, 2010, 04:00:28 am »
Is it possible you were just running a different program previously that might have changed the LCD settings?  See if ALCDFIX makes it work again.

Yeh, that fixed it, another bug solved :)

Splut for Android [----------]
Paused/halted indefinitely, might be abandoned, our graphic designer quit and the rest of us simply doesn't have the time to work on it...

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Bug Reports
« Reply #385 on: June 17, 2010, 04:07:09 pm »
^ yes it does.. for quick example, look at new rpg demo
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: Bug Reports
« Reply #386 on: June 17, 2010, 04:42:09 pm »
Axe doesn't detect whether the arguments for Fill() are in the correct order.
0->{L1}
Fill(200,L1
compiles, but if you run it it'll give you a ram clear.


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 #387 on: June 17, 2010, 04:47:22 pm »
That's because both the arguments to Fill( are 16-bit numbers, and such numbers can be construed as pointers.
What Fill(200,L1 does is fill L1 bytes starting after the 200th byte, which is something very undesirable.
Basically, there is no way to detect it, because the arguments are indistinguishable.
"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 nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: Bug Reports
« Reply #388 on: June 17, 2010, 04:49:33 pm »
that doesn't make much sense to me, but thanks. that may be what's been causing my problem for all this time too  :-\


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 #389 on: June 17, 2010, 04:57:21 pm »
I'll try again :P
A 16-bit number (two bytes) is the type of number generally used in Axe (one byte numbers are used, though with slightly less frequency)
Fill( takes two arguments. The first one is the address from which the fill starts. The second one is how many bytes to fill.
Both of these arguments are 16-bit numbers. The first one is a pointer, the second one just a number. However, despite their very different roles, they look exactly the same to the compiler. So a check is impossible. Also, the overhead necessary to check if you're doing something silly like trying to write to flash (anywhere from the first 16384 to 32768 bytes are flash) is too large and unwieldy.
Note that ASM, or Axe in this case, gives up safety checks for speed.
"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.