Author Topic: Bug Reports  (Read 396918 times)

0 Members and 1 Guest are viewing this topic.

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: Bug Reports
« Reply #1425 on: August 10, 2011, 10:58:03 am »
So I made my first Axe program today, and I already found a glitch ;D

Code: [Select]
:.AXEPROG
:Disp "I'm compiled____ ;that's 4 spaces (for a newLine)

This code, when run, displays "I'm compiler____".

The assembly is:
Code: [Select]
ld hl, string
bcall(_putS)
ret
string:
.db "I'm compiler    ", 0

So it's not some homescreen glitch. I'll leave this one up to you  ;D
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 Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Bug Reports
« Reply #1426 on: August 10, 2011, 12:41:34 pm »
thepenguin77, I have no such problem. And I have absolutely no idea what would change a 'd' into an 'r'. Perhaps by some strange chance the source got corrupted? Is it still a 'd' in the source?
« Last Edit: August 10, 2011, 12:44:09 pm by Runer112 »

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: Bug Reports
« Reply #1427 on: August 10, 2011, 01:00:22 pm »
I've had a similiar problem. It doesn't always manifest itself, but sometimes when I compile, certain letters are replaced by 'r'. Recompiling it always fixes the issue for me.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline p2

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 849
  • Rating: +51/-11
  • I'm back :)
    • View Profile
Re: Bug Reports
« Reply #1428 on: August 11, 2011, 02:03:31 pm »
iI found a bug:

If I use
Code: [Select]
:getCalc("varA")
:Disp A>Dec
It is always an Error if A is not 0 and I don't think that should be an Error!!
*insert supercool signature*

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Bug Reports
« Reply #1429 on: August 11, 2011, 02:17:38 pm »
I don't think that's a bug...
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: Bug Reports
« Reply #1430 on: August 11, 2011, 04:32:21 pm »
iI found a bug:

If I use
Code: [Select]
:getCalc("varA")
:Disp A>Dec
It is always an Error if A is not 0 and I don't think that should be an Error!!
There's no bug there, since you aren't storing the pointer for the real var A anywhere, and you would need to use float{} to correctly read the data from the real var anyway.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Ashbad

  • Guest
Re: Bug Reports
« Reply #1431 on: August 11, 2011, 04:32:41 pm »
iI found a bug:

If I use
Code: [Select]
:getCalc("varA")
:Disp A>Dec
It is always an Error if A is not 0 and I don't think that should be an Error!!

You realize all you're doing is printing the pointer to the location of the TIFP number A, right?  You're not printing it's value at all.

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 #1432 on: August 13, 2011, 03:53:28 pm »
So I made my first Axe program today, and I already found a glitch ;D

Code: [Select]
:.AXEPROG
:Disp "I'm compiled____ ;that's 4 spaces (for a newLine)

This code, when run, displays "I'm compiler____".

The assembly is:
Code: [Select]
ld hl, string
bcall(_putS)
ret
string:
.db "I'm compiler    ", 0

So it's not some homescreen glitch. I'll leave this one up to you  ;D
I've had a similiar problem. It doesn't always manifest itself, but sometimes when I compile, certain letters are replaced by 'r'. Recompiling it always fixes the issue for me.
Was it in Archive each time?  Is there a chance that 'r' is the ASCII representation of reading across page boundaries?

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: Bug Reports
« Reply #1433 on: August 13, 2011, 06:08:44 pm »
I recently upgraded to axe 1.0.2.
After a full mem clear and OS resend, I'm still getting bad flash errors...
For the record all that I have installed is zStart and Omnicalc through zStart.

EDIT:
I'm wondering what brought about this bad flash thing in the first place.  What change happened that caused this (though I'm guessing it's from the re-write)?  Is there a way to work around it?
« Last Edit: August 13, 2011, 06:29:21 pm by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

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 #1434 on: August 14, 2011, 02:39:03 am »
The error message "Bad Flash" is unrelated to the sector issue in the previous versions (I think).  That error is only thrown when flash could not be unlocked for some reason.  I don't know what would cause that, it was more of a sanity check.  When do you get the error?
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: Bug Reports
« Reply #1435 on: August 14, 2011, 02:56:52 am »
Pretty much whenever I try to compile a large program.  I compiled a key code thing fine (press 2nd, it displays 54) but when I went to compile a sprite editor, source of about 1100 and executable about 1900, it throws it.

I'm guessing the size has to do with it?  At least that's the conclusion I came to after messing with it for a bit (after backup ofc :P )

EDIT:
Quote
That error is only thrown when flash could not be unlocked for some reason.
Are there any programs that unlock flash, to see if it works?
« Last Edit: August 14, 2011, 03:01:51 am by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: Bug Reports
« Reply #1436 on: August 19, 2011, 02:31:10 pm »
/\i've gotten that error once or twice as well. the second time i try to compile it always works, though.

are the draw to arbitrary buffer operations not working in 1.02?
Pt-on(0,0,L1)
Pxl-on(0,0,L1)
pxl-Test(0,0,L1)
all work on the front buffer rather than L1
do i have to manually enter the address to saveScreen? i didn't think so, because Dispgraph(L1) works just fine.

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 #1437 on: August 19, 2011, 02:48:37 pm »
The error message "Bad Flash" is unrelated to the sector issue in the previous versions (I think).  That error is only thrown when flash could not be unlocked for some reason.  I don't know what would cause that, it was more of a sanity check.  When do you get the error?
How do you check whether flash is unlocked or not?
« Last Edit: August 19, 2011, 02:48:54 pm by calc84maniac »
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Bug Reports
« Reply #1438 on: August 19, 2011, 02:56:48 pm »
shmbis, you are correct that the pixel commands to arbitrary buffers are not working. The parser is correctly identifying the commands as arbitrary buffer commands, but it's calling the wrong entry point to the pixel routine. So Quigibo needs to fix this.

Sprite commands still work for arbitrary buffers, though. Remember, sprite commands take 3 arguments just for a normal call. ;)

I haven't checked all the other drawing commands, but I'm just going to assume they work correctly.
« Last Edit: August 19, 2011, 02:58:22 pm by Runer112 »

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 #1439 on: August 19, 2011, 03:48:11 pm »
The error message "Bad Flash" is unrelated to the sector issue in the previous versions (I think).  That error is only thrown when flash could not be unlocked for some reason.  I don't know what would cause that, it was more of a sanity check.  When do you get the error?
How do you check whether flash is unlocked or not?
Its when the WriteAByteSafe bcall returns nz, which I think means that flash writing permissions have not been enabled properly.  Could it mean something else?  WikiTI doesn't really explain it.

I will fix that too.  Hopefully I'll have another release tonight.
___Axe_Parser___
Today the calculator, tomorrow the world!