Author Topic: Bug Reports  (Read 455934 times)

0 Members and 4 Guests are viewing this topic.

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 #435 on: June 24, 2010, 04:05:54 pm »
L3 is working, and so is L6, but only when I copy the Pics straight into the Axe program, and then Copy them to L3 and L6.
But I want to load the Pics into an AppVar, and then load them from there into L3 and L6, which are the back and normal buffers
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 nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: Bug Reports
« Reply #436 on: June 24, 2010, 04:12:57 pm »
so it's the appvar with the problem? well, as i said, are you using the lowercase v ( [alpha][alpha][6] if you have lowercase enabled) or are you using [2nd][8]?

edit: regarding my bug, i finally found a version that works. ordering the If statements like so gives the desired effect:
Code: [Select]
Repeat S
If getKey(19)
6->S:End
If getKey(36)
7->S:End
If getKey(35)
4->S:End
If getKey(28)
8->S:End
If getKey(27)
5->S:End
End
this specific sequence of If statements works but the fact that switching them around doesn't is my bug. took me an hour just to find the correct order  :-\
« Last Edit: June 24, 2010, 04:50:30 pm by nemo »


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 #437 on: June 24, 2010, 05:00:26 pm »
@Nemo, mhmm it seems a bit weird. Could this be an Axe bug? I think Quigibo mentionned to me once there might not be enough delay for direct keypresses so certain keys are not detected in extremly fast programs

Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: Bug Reports
« Reply #438 on: June 24, 2010, 05:05:04 pm »
i'm not sure DJ, i tried putting a Pause 50 at the beginning of each If statement to no avail but that didn't work either. also, if you notice it's not that the keypresses aren't being detected, it's just either a) the wrong value is being stored into S or b) the wrong keypress is being detected. because that code always exits if you press one of the keys 4-8, meaning it IS registering the fact that a key has been pressed.


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 #439 on: June 24, 2010, 05:06:02 pm »
Mhmm ok. Well I don't know then. Quigibo might want to look into this.

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 #440 on: June 24, 2010, 05:07:42 pm »
Also note that those keys form boxes, which can make the calc think other keys are being pressed. (The keyboard hardware is silly at times)
In addition, 36/35 and 27/26 are near each other (which corresponds to being in the same column and group), which probably helps with response times.
Edit: That pause doesn't help as the speed problem is w/in the getKey() itself. :(
« Last Edit: June 24, 2010, 05:08:49 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 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 #441 on: June 24, 2010, 05:14:27 pm »
I thought this box thing was only on Wabbitemu?

I am so glad the arrow keys won't do that as much at least. I only saw it happen with the left arrow when pressing several keys at once sometimes.
« Last Edit: June 24, 2010, 05:15:16 pm by DJ Omnimaga »

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 #442 on: June 24, 2010, 05:18:00 pm »
It is in Wabbit, courtesy of it being copied directly from the calc hardware :P
Yeah, luckily, the arrow keys are in their own group, otherwise things would be so much worse...
"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 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 #443 on: June 24, 2010, 05:21:11 pm »
yeah but what I meant is does it happnens on the real calc too?

Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: Bug Reports
« Reply #444 on: June 24, 2010, 05:22:17 pm »
yes. i know from experience.


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 #445 on: June 24, 2010, 05:23:56 pm »
yeah but what I meant is does it happnens on the real calc too?
Yeah, unfortunately it does. :(
« Last Edit: June 24, 2010, 05:24:07 pm by ztrumpet »

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 #446 on: June 24, 2010, 05:33:13 pm »
Ouch :X

Well If I ever make a game that requires the usage of keys other than arrows, I'll need to be careful.

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 #447 on: June 24, 2010, 11:20:18 pm »
Is your calc in Full speed mode?  That would make the delays too short and the key group would not be switched properly.  You have to take it out of full speed mode to use the getkey() command.  Maybe I'll triple the delay next version so that it works better in full.  It's 2-3 more bytes, but its a subroutine so 2-3 bytes total for the whole program.  Any added delay is negligible.  We're talking about 2 microseconds here.
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: Bug Reports
« Reply #448 on: June 24, 2010, 11:22:09 pm »
no, this is 6Mhz.


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 #449 on: June 24, 2010, 11:48:17 pm »
2 microseconds doesn't seem too bad. I guess the only real impact would be on programs that uses all keys in one loop, but even then, the framerate drop would barely be noticeable.