Omnimaga

Calculator Community => TI Calculators => Axe => Topic started by: DJ Omnimaga on September 15, 2010, 11:41:52 pm

Title: Garbled text?
Post by: DJ Omnimaga on September 15, 2010, 11:41:52 pm
I have noticed in some cases that when I compile people programs, the text ends up being garbled in-game. That happens with both Ikkerens' first entry version and guy602665. Does anyone know why this happens and how to fix it? OS 2.41, btw. Also happens on OS 2.54MP
Title: Re: Garbled text?
Post by: meishe91 on September 15, 2010, 11:43:43 pm
Could it be due to the AxeParser version?
Title: Re: Garbled text?
Post by: DJ Omnimaga on September 15, 2010, 11:44:05 pm
I'm not sure. I used the Axe version stated by the contestant.
Title: Re: Garbled text?
Post by: meishe91 on September 15, 2010, 11:49:55 pm
Oh, hmmm, that's odd :(
Title: Re: Garbled text?
Post by: Quigibo on September 16, 2010, 12:55:33 am
Hmm... I'm looking into this and it appears it might be an Axe bug when compiling to an app and not a bug in the program.  If they were designed for version 0.4.4 and I find that is indeed a bug in Axe itself, I will try to recompile the identical source code with a fixed version of the parser so that the entries are not penalized.  But then again, how would that have gone unnoticed by the contestant?  Perhaps they were meant to be compiled to MirageOS instead of to an application...
Title: Re: Garbled text?
Post by: cooliojazz on September 16, 2010, 01:02:38 am
I've also noticed this happens sometimes with lowercase letters when transferring files via the computer...
Title: Re: Garbled text?
Post by: DJ Omnimaga on September 16, 2010, 01:06:19 am
Hmm... I'm looking into this and it appears it might be an Axe bug when compiling to an app and not a bug in the program.  If they were designed for version 0.4.4 and I find that is indeed a bug in Axe itself, I will try to recompile the identical source code with a fixed version of the parser so that the entries are not penalized.  But then again, how would that have gone unnoticed by the contestant?  Perhaps they were meant to be compiled to MirageOS instead of to an application...
Both are for 0.4.4 actually, I think. One even states 0.4.4 in the readme. I had it happen even with a no-stub prog. I got another copy of one of the entry, though, that seemed to work fine, though.
Title: Re: Garbled text?
Post by: Quigibo on September 16, 2010, 01:07:49 am
Yeah, the error definitely has to do with the lowercase tokens I've noticed.

EDIT: Maybe during transfer, the computer translated some lowercase tokens to stat var tokens or vise-versa which could be what's screwing it up.
Title: Re: Garbled text?
Post by: DJ Omnimaga on September 16, 2010, 03:24:32 am
Aah ok. Maybe that's why, since the second time one of the person sent me his entry it worked fine. He might have used a different computer.
Title: Re: Garbled text?
Post by: Ikkerens on September 16, 2010, 01:20:21 pm
If you need an example - check the attachment.
That is DJ trying to complete level 3.
I didn't have problems with the text on my own calc (nor does any1 else who I send the signed app too).
Title: Re: Garbled text?
Post by: DJ Omnimaga on September 16, 2010, 04:28:02 pm
Oddly enough, the other version you sent afterward didn't do that
Title: Re: Garbled text?
Post by: Ikkerens on September 16, 2010, 04:30:06 pm
Oddly enough, the other version you sent afterward didn't do that

I guess the email attachment got corrupted or something.
Title: Re: Garbled text?
Post by: DJ Omnimaga on September 16, 2010, 04:30:55 pm
Maybe, but I had this happen with Guy602665 entry too (which isn't an app)
Title: Re: Garbled text?
Post by: Raylin on September 16, 2010, 04:46:20 pm
At the end of SirCmpwn's entry, I had some residual garbled text. Is that an Axe bug or something like that?
Title: Re: Garbled text?
Post by: DJ Omnimaga on September 16, 2010, 04:48:07 pm
Do you mean when exiting? That happens with some buggy ASM programs. In Zelda Dark Link Quest, after the text routines, some garbage appears on the screen. Something probably overwrites the home screen content memory. I don't think it is related to the in-game garbled text.
Title: Re: Garbled text?
Post by: Raylin on September 16, 2010, 04:53:41 pm
This is true. It isn't in-game. I just wondered why it's there at all.
Title: Re: Garbled text?
Post by: DJ Omnimaga on September 16, 2010, 04:59:49 pm
Unless I am wrong, the home screen is actually L5 in Axe. I am not sure, but I think if you store random stuff there, it displays weird chars when exiting the program. I would need to try, though. If this is what I think, the garbage that appears when exiting the game means that L5 memory location is being accidentally edited during the game (and possibly other locations too).
Title: Re: Garbled text?
Post by: Raylin on September 16, 2010, 05:04:37 pm
Ah. I see. Makes sense.