Author Topic: Bug Reports  (Read 465503 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 #1965 on: May 17, 2016, 06:31:31 pm »
I found a bug!
PRGM:NAME
.CAKE
Disp t sub( >Dec
Disp {GetCalc("prgmTOK")}r >Dec

PRGM:TOK
sub(

The t before sub( is the token character.
The two values are not the same.
The t doesn't get two byte tokens correctly. (I think this is a bug... maybe I'm missing something)

You're absolutely right. It looks like two-byte token constants currently produce the bytes backwards. I'll try to fix that, but in the meantime, you should probably just enter two-byte token constants manually. There's no great reference with every token listed on one page, but TIBD at least has this page that has links to all the 2-byte token pages.
« Last Edit: May 17, 2016, 06:35:51 pm by Runer112 »

Offline E37

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 358
  • Rating: +23/-0
  • Trial and error is the best teacher
    • View Profile
Re: Bug Reports
« Reply #1966 on: May 20, 2016, 03:47:16 pm »
There is still the app too large error with huge data files.
I got one when I tried to include a 18000b file in a program.
I'm still around... kind of.

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Bug Reports
« Reply #1967 on: May 21, 2016, 04:12:16 pm »
There is still the app too large error with huge data files.
I got one when I tried to include a 18000b file in a program.

I remember fixing this, and looking at the current source code, it definitely appears fixed. Are you using the latest published dev version of 1.3.0, which can be found here? I thought that included the fix, although perhaps it's never made it into any published version...

Offline E37

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 358
  • Rating: +23/-0
  • Trial and error is the best teacher
    • View Profile
Re: Bug Reports
« Reply #1968 on: May 21, 2016, 04:15:04 pm »
Nope I am still using 1.2.2
Is 1.3 stable enough to use now?
(Last time I looked it still had several nasty bugs that made 1.2.2 the only viable option)
I'm still around... kind of.

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Bug Reports
« Reply #1969 on: May 21, 2016, 04:17:25 pm »
Nope I am still using 1.2.2
Is 1.3 stable enough to use now?
(Last time I looked it still had several nasty bugs that made 1.2.2 the only viable option)

Oh... not really, it still has those particualrly bad bugs... I think? I keep losing track of my progress because I don't revisit it very often, so I never get particulary far. I should really finish it off.

Offline E37

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 358
  • Rating: +23/-0
  • Trial and error is the best teacher
    • View Profile
Re: Bug Reports
« Reply #1970 on: May 21, 2016, 04:24:29 pm »
Nope I am still using 1.2.2
Is 1.3 stable enough to use now?
(Last time I looked it still had several nasty bugs that made 1.2.2 the only viable option)

Oh... not really, it still has those particualrly bad bugs... I think? I keep losing track of my progress because I don't revisit it very often, so I never get particulary far. I should really finish it off.
Yes! Please!
(Axe is my life I would do about anything to help)
I'm still around... kind of.

Offline E37

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 358
  • Rating: +23/-0
  • Trial and error is the best teacher
    • View Profile
Re: Bug Reports
« Reply #1971 on: June 15, 2016, 10:20:41 am »
I (think) I found another bug!
I am still using 1.2.2. The command, inData(byte,data,size) won't always work.
inData(byte,data) works fine though.
Here is some code...

GetCalc("prgmNAME",100) sto A
For(X,0,99
X to {X+A}:End
inData(3,A,1000) sto B
Disp B >Dec
Pause 1500

Outputs 891 as the answer.
Changing the 1000 to 100 makes the program work correctly.
It seems that the command won't take a two byte number as an argument.
« Last Edit: June 15, 2016, 10:24:10 am by E37 »
I'm still around... kind of.

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Bug Reports
« Reply #1972 on: June 15, 2016, 01:13:23 pm »
I (think) I found another bug!
I am still using 1.2.2. The command, inData(byte,data,size) won't always work.
inData(byte,data) works fine though.
Here is some code...

GetCalc("prgmNAME",100) sto A
For(X,0,99
X to {X+A}:End
inData(3,A,1000) sto B
Disp B >Dec
Pause 1500

Outputs 891 as the answer.
Changing the 1000 to 100 makes the program work correctly.
It seems that the command won't take a two byte number as an argument.

This is technically not a bug, but instead a result of weak documentation that enabled me to perhaps over-optimize.

The documentation doesn't state what order the data will be searched in, which I took advantage of by searching the data in reverse to save one byte. In retrospect, searching forwards is probaly more sensible/expected/useful and it's almost certainly worth not saving the single byte.

I'll make this change, then, and specify the forwards search order in the documentation while I'm at it.

Offline E37

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 358
  • Rating: +23/-0
  • Trial and error is the best teacher
    • View Profile
Re: Bug Reports
« Reply #1973 on: June 15, 2016, 03:06:18 pm »
Ohhhhh! Ok! Could add a way to search backward (such as inData(byte,data)r)?
It seems odd that you can search forward but not back (when you change it).
Will fixing the "bug" break compatibility with programs that use the backwards searching?
« Last Edit: June 15, 2016, 03:17:07 pm by E37 »
I'm still around... kind of.

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Bug Reports
« Reply #1974 on: June 15, 2016, 04:17:09 pm »
Ohhhhh! Ok! Could add a way to search backward (such as inData(byte,data)r)?
It seems odd that you can search forward but not back (when you change it).
Will fixing the "bug" break compatibility with programs that use the backwards searching?

It was only added in 1.2.2, so I doubt it's even seen much use. And the search order was never documented, so if anyone relied on it searching in reverse, then they were relying on undocumented behavior and it's their problem if the behavior changes. :P But it shouldn't be that hard to add reverse variants with the superscript r suffix, so I'll probably do that (for both arity variants).

Offline neuronix

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 108
  • Rating: +0/-0
    • View Profile
Re: Bug Reports
« Reply #1975 on: June 30, 2016, 11:59:12 am »
If you don't would like to continue Axe Parser, I can do for you :D

Offline E37

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 358
  • Rating: +23/-0
  • Trial and error is the best teacher
    • View Profile
Re: Bug Reports
« Reply #1976 on: June 30, 2016, 07:04:46 pm »
If you don't would like to continue Axe Parser, I can do for you :D

You can program ask?!? Can you teach me? I just know the basics.
I'm still around... kind of.

Offline neuronix

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 108
  • Rating: +0/-0
    • View Profile
Re: Bug Reports
« Reply #1977 on: July 01, 2016, 09:15:27 am »
You can program ask?!? Can you teach me? I just know the basics.
I don't understand this sentence. :(



You would like that I teach you the Axe programing?

Edit (Eeems): Merged double post
« Last Edit: July 05, 2016, 01:08:39 pm by Eeems »

Offline E37

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 358
  • Rating: +23/-0
  • Trial and error is the best teacher
    • View Profile
Re: Bug Reports
« Reply #1978 on: July 05, 2016, 03:34:27 pm »
Sorry, I meant asm. (I can already program Axe)
I'm still around... kind of.

Offline neuronix

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 108
  • Rating: +0/-0
    • View Profile
Re: Bug Reports
« Reply #1979 on: July 06, 2016, 05:10:10 am »
Yes, I know asm, but I don't very good. If you search a tuto : http://sdz.tdct.org/sdz/apprendre-l-asm-z80-pour-ti.html
This website is very good ;)