Author Topic: Bug Reports  (Read 458096 times)

0 Members and 3 Guests are viewing this topic.

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: Bug Reports
« Reply #675 on: August 24, 2010, 09:12:22 am »
For example, when I'm trying to compile a program, it'll occasionally give me an error.  It zooms down to the end of the program, and for some inexplicable reason, a whole bunch of nonsense symbols were tacked on to the end. 
...
But when I go back up to highlight it, it turns into a weird combination of symbols, like this
Code: [Select]
Sin(A????????rref((or something vaguely like that)
I had to reset my RAM, but it hasn't happened again.
These two sound like you ran a program that corrupted something.  I doubt if it's the Axe App itself. :)

Also, once, I kept trying to run my program (no shell), like this
Code: [Select]
asm(FALL1which kept returning this
Code: [Select]
asm(FALL1
            Done
This sounds like it was compiled for Mirage or Doors, as if you compile a program for either of these shells, it must begin with a Return (this is added by the parser), because they didn't want you running their programs from the homescreen (due to Mirage specific libraries).  Try compiling it for Ion or No Shell. :)

Your game's pretty fun!  I happened to notice it a while back, so... http://ourl.ca/6731/110927
Nice job!
« Last Edit: August 24, 2010, 09:12:57 am by ztrumpet »

Offline LordConiupiter

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 339
  • Rating: +3/-0
  • Just one of the thousands of Axe-fans...
    • View Profile
Re: Bug Reports
« Reply #676 on: August 24, 2010, 11:29:42 am »
when I tried to compile a program as an Application (which already existed) I got a "Defragmenting..."-screen. after a while I got a RAM clear. I saw the Application was gone, and tried another time: and now I succeeded!
when i tried it for the third time, everything went the way it should, except the 2nd Pass %-value was flickering very weirdly, and so it was the 4th time.
everytime that I was down, you would always come around, and get my feedback on the ground. (modified part from 'Seasons in the sun')

No matter how many errors are bothering you, always try to stay rel-Axe!

The HoMM project will be resumed as soon Axe 1.0.0 will be released!
Projects:
Code: [Select]
HoMM:   [==--------]    Project 'resumed': I'm suffering overwhelming new ideas being popped up in my dreams :P
tiDE:   [----------]    Explored and understood the main part of the code: just started writing a Tokenizer.



password of the week: uvanapererubupa (Any pronunciation is the right one ;) )   :D click me, and you'll be raided :D

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Bug Reports
« Reply #677 on: August 24, 2010, 12:50:04 pm »
I am intrigued.

Observe the following specs.

TI-84+ Silver Edition
TI-83+ Silver Edition

Now, why doesn't the Full command work on the TI-83+ Silver Edition?
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







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 #678 on: August 24, 2010, 12:59:23 pm »
I am intrigued.

Observe the following specs.

TI-84+ Silver Edition
TI-83+ Silver Edition

Now, why doesn't the Full command work on the TI-83+ Silver Edition?

I wasn't aware that it doesn't?
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Bug Reports
« Reply #679 on: August 24, 2010, 01:03:32 pm »
@calc84maniac: That's aimed at Quigibo. :P Just wondering why it doesn't work.

EDIT: Derp. Quigibo pulled some sneaky programming and created a conditional If Full loop in the program I tested. Problem solved.
« Last Edit: August 24, 2010, 01:13:12 pm by Raylin »
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







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 #680 on: August 24, 2010, 01:13:35 pm »
Btw, just found a bug. If you do a For( loop that loops to 65535, it never exits.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Bug Reports
« Reply #681 on: August 24, 2010, 01:19:16 pm »
Interesting o.O Under what circumstances did you encounter this? ;D just curious why you were looping like that :P

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 #682 on: August 24, 2010, 01:19:31 pm »
That's unfixable :)
The corresponding ASM is this, and it doesn't exit:
Code: [Select]
start = 9001
end = 65535
ld hl,start
loop:
;Loop code here
inc hl
ld de,end
push hl
sub hl,de
pop hl
jr z,loop
jr c,loop
Basically, 65535+1 is less then 65535 ;)
Edit: Okay, my ASM is messed up, but you get the point :P
Edit 2: Okay, I think it works now
« Last Edit: August 24, 2010, 01:23:43 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 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 #683 on: August 24, 2010, 01:35:43 pm »
Hmm, the asm code seems to be more like this (with For(A,0,65535)):
Code: [Select]
ld hl,0
 jr start_for
for_loop:
 ld hl,(var_a)
 inc hl
start_for:
 push hl
 ld (var_a),hl
 ld hl,65535
 pop de
 or a
 sbc hl,de
 jp c,end_for
 ;loop body here
 jp for_loop
end_for:

I propose the following modification be used:
Code: [Select]
ld hl,0
 dec hl ;This can be avoided if start value is a constant
 jr start_for
for_loop:
 ld hl,(var_a)
start_for:
 push hl
 inc hl
 ld (var_a),hl
 ld hl,65535
 pop de
 scf
 sbc hl,de
 jp c,end_for
 ;loop body here
 jp for_loop
end_for:
Edit:
Wait a second, that would exit the loop before the first iteration. meh
« Last Edit: August 24, 2010, 01:38:00 pm by calc84maniac »
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

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 #684 on: August 24, 2010, 01:36:46 pm »
I was just giving a short piece of ASM that does the same thing :) Same basic problem, though
"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 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 #685 on: August 24, 2010, 01:40:43 pm »
Okay well, at least here is a general optimization (that doesn't fix the problem, but reduces code size)
Code: [Select]
ld hl,start_val
for_loop:
 push hl
 ld (loop_var),hl
 ld hl,end_val
 pop de
 or a
 sbc hl,de
 jp c,end_for
 ;loop body here
 ld hl,(loop_var)
 inc hl
 jp for_loop
end_for:
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

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 #686 on: August 24, 2010, 01:52:00 pm »
I am intrigued.

Observe the following specs.

TI-84+ Silver Edition
TI-83+ Silver Edition

Now, why doesn't the Full command work on the TI-83+ Silver Edition?

I wasn't aware that it doesn't?
Wow I didn't notice that either. One thing I think is that a while ago, Quigibo wasn't aware a TI-83+SE existed. Some ppl aren't because this calc went on sale only for 3 years and was discontinued the day the 84+SE came out. Since it wears 83+ in its name, many people think it's a 6 MHz calc. Quigibo probably just check if the calc is a 84+/84+SE, otherwise Full is not enabled.

That makes it more cool to own a 83+SE ;D
« Last Edit: August 24, 2010, 01:52:34 pm by DJ Omnimaga »

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: Bug Reports
« Reply #687 on: August 24, 2010, 05:13:07 pm »
That makes it more cool to own a 83+SE ;D
Yup! ;D

Although many of The Penguin's games make you press Graph to play them before "playing them". :)

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 #688 on: August 24, 2010, 05:39:41 pm »
Yeah true, although I had this happen on WabbitEmu too. (in 84 mode)

Offline guy6020665

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 481
  • Rating: +7/-1
    • View Profile
Re: Bug Reports
« Reply #689 on: August 24, 2010, 05:55:14 pm »
Weird bug that I can't seem to understand sometimes after running an Axe program random characters will appear on the screen, can't post a screen shot but it kind of looks like the following (I will use the & symbol for blank spaces)

Should be happening

XXXXXXXXXXXXXXXX
X&&&&&&&&&&&&&&X
X&&&&&&&&&&&&&&X
X&&&&&&&&&&&&&&X
X&&&&&&&&&&&&&&X
X&&&&&&&&&&&&&&X
X&&&&&&&&&&&&&&X
XXXXXXXXXXXXXXXX



What is happening is that after it displays the above and ends the program, on a random column, a random tile will be completely black and then a random character will appear under it and they will alternate until it gets to the bottom of the screen. No idea why, it has happened before when I was just messing around with code, but i don't remember my source from before.
« Last Edit: August 24, 2010, 05:55:55 pm by guy6020665 »