Author Topic: Axe Parser  (Read 552872 times)

0 Members and 2 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: Axe Parser
« Reply #1965 on: September 25, 2011, 09:50:17 am »
Are Axe Apps automatically signed now?  Do we even have to run them through the signer?

Offline alberthrocks

  • Moderator
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 876
  • Rating: +103/-10
    • View Profile
Re: Axe Parser
« Reply #1966 on: September 25, 2011, 10:54:00 am »
I know for sure that a "Bad Flash" error occurs when you overwrite an archived program. That is, if the target program is prgmOUT, and prgmOUT is archived at the time, when I compile prgmOUTSRC it will say "Bad Flash". Hopefully that helps! :) (And the archived prgmOUT for whatever reason disappears, and compilation can occur.)

(This is version 1.0.2, btw)

EDIT: I've confirmed it! :D In an emulator ([wx]Wabbitemu), I emulated a TI-83 ROM, and installed Axe 1.0.4 (latest) on it. Then I tried to make a simple program:
Code: [Select]
.XYZ
Disp "HI"
I compiled it, then archived the compiled program. Then I recompiled... nothing bad happened.
I then sent AXERPG.8Xp (an example program), compiled it, and ran it. Then I exited it, archived the compiled program (RPGDEMO.8Xp), and then compiled again.... and got an error! :D (UNKNOWN ERROR Code: A429992)
Here's a pic: http://dl.dropbox.com/u/1016340/PublicPictures/AxeBadFlashError104.png

Note that this result may be tainted from the previous compile and execution of a compiled program, so I will retest to make sure this is a valid result.
For now, here's the ROM dump (state save):
http://dl.dropbox.com/u/1016340/AxeBadFlash104.sav

EDIT 2: I've confirmed my prediction - it triggers without any other factors. That is:
Load blank ROM -> Turn on calc -> Send Axe.8Xk -> Send AXERPG.8Xp -> Compile AXERPG.8Xp in Axe -> Archive compiled file RPGDEMO.8Xp -> Try recompiling -> ERROR

Could this be also correlated to program size? It didn't fail with the other tiny program (above).

I've provided the ROM of this error, still at the error screen for better debugging.
http://dl.dropbox.com/u/1016340/AxeBadFlash104_CLEAN_INERR.sav
« Last Edit: September 25, 2011, 11:19:26 am by alberthrocks »
Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/


Proud member of ClrHome!

Miss my old signature? Here it is!
Spoiler For Signature:
Alternate "New" IRC post notification bot (Newy) down? Go here to reset it! http://withg.org/albert/cpuhero/

Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/

Activity remains limited due to busyness from school et al. Sorry! :( Feel free to PM, email, or if you know me well enough, FB me if you have a question/concern. :)

Don't expect me to be online 24/7 until summer. Contact me via FB if you feel it's urgent.


Proud member of ClrHome!

Spoiler For "My Projects! :D":
Projects:

Computer/Web/IRC Projects:
C______c: 0% done (Doing planning and trying to not forget it :P)
A_____m: 40% done (Need to develop a sophisticated process queue, and a pretty web GUI)
AtomBot v3.0: 0% done (Planning stage, may do a litmus test of developer wants in the future)
IdeaFrenzy: 0% done (Planning and trying to not forget it :P)
wxWabbitemu: 40% done (NEED MOAR FEATURES :P)

Calculator Projects:
M__ C_____ (an A____ _____ clone): 0% done (Need to figure out physics and Axe)
C2I: 0% done (planning, checking the demand for it, and dreaming :P)

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: Axe Parser
« Reply #1967 on: September 25, 2011, 04:57:52 pm »
Thank you SO much!  I can now narrow down the problem. :)

Axe apps still need to be signed to transfer to another calculator, but at least it won't delete itself.

EDIT: HAHA!  I found it!  Turns out the problem was that TI's "DelVarArc" bcall re-locks flash again whenever it deletes from flash.  My flash unlocking routine was above it, so all I had to do was move it down after that call.  Has anyone gotten the random 'r' error yet with 1.0.4?
« Last Edit: September 25, 2011, 06:05:58 pm by Quigibo »
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Axe Parser
« Reply #1968 on: September 25, 2011, 06:16:14 pm »
Axe apps still need to be signed to transfer to another calculator, but at least it won't delete itself.
I can't remember if this was asked before, but how long would it take for someone to sign an app on calc, and how much extra space would it take to do so?
/e

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: Axe Parser
« Reply #1969 on: September 25, 2011, 06:26:45 pm »
Hmm by not deleting themselves, do you mean even if you never sign your app it will still remain on your calc forever, just not be sendable to another?

Also glad to see more updates.

Offline alberthrocks

  • Moderator
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 876
  • Rating: +103/-10
    • View Profile
Re: Axe Parser
« Reply #1970 on: September 25, 2011, 06:48:35 pm »
Axe apps still need to be signed to transfer to another calculator, but at least it won't delete itself.
I can't remember if this was asked before, but how long would it take for someone to sign an app on calc, and how much extra space would it take to do so?
From the DuckSign (on calc app signer) documentation:
Quote from: DuckSign Readme
Hashing the application will take about 4 seconds per page on a TI-83
 Plus BE, or about 1 second per page on a TI-83 Plus SE or TI-84 Plus.
 Once this is done, computing a new application signature will take
 about 50 seconds on a TI-83 Plus BE, or about 20 seconds on a TI-83
 Plus SE or TI-84 Plus.

(Yes, you can sign apps on-calc; see http://ourl.ca/7447/149857)
Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/


Proud member of ClrHome!

Miss my old signature? Here it is!
Spoiler For Signature:
Alternate "New" IRC post notification bot (Newy) down? Go here to reset it! http://withg.org/albert/cpuhero/

Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/

Activity remains limited due to busyness from school et al. Sorry! :( Feel free to PM, email, or if you know me well enough, FB me if you have a question/concern. :)

Don't expect me to be online 24/7 until summer. Contact me via FB if you feel it's urgent.


Proud member of ClrHome!

Spoiler For "My Projects! :D":
Projects:

Computer/Web/IRC Projects:
C______c: 0% done (Doing planning and trying to not forget it :P)
A_____m: 40% done (Need to develop a sophisticated process queue, and a pretty web GUI)
AtomBot v3.0: 0% done (Planning stage, may do a litmus test of developer wants in the future)
IdeaFrenzy: 0% done (Planning and trying to not forget it :P)
wxWabbitemu: 40% done (NEED MOAR FEATURES :P)

Calculator Projects:
M__ C_____ (an A____ _____ clone): 0% done (Need to figure out physics and Axe)
C2I: 0% done (planning, checking the demand for it, and dreaming :P)

Offline DrDnar

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 546
  • Rating: +97/-1
    • View Profile
Re: Axe Parser
« Reply #1971 on: September 25, 2011, 08:44:08 pm »
Xeda seems to love doing math-y things. You should ask her to learn RSA and write an optimized app signer. How long would on-calc app signing take? It could take over ten minutes if you write a really slow signing algorithm, but my gut feeling is that it can probably be done in under a minute.
"No tools will make a man a skilled workman, or master of defense, nor be of any use to him who has not learned how to handle them, and has never bestowed any attention upon them. . . . Yes, [] the tools which would teach men their own use would be beyond price."—Plato's The Republic, circa 380 BC

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: Axe Parser
« Reply #1972 on: September 25, 2011, 08:48:09 pm »
Axe apps still need to be signed to transfer to another calculator, but at least it won't delete itself.
I can't remember if this was asked before, but how long would it take for someone to sign an app on calc, and how much extra space would it take to do so?
From the DuckSign (on calc app signer) documentation:
Quote from: DuckSign Readme
Hashing the application will take about 4 seconds per page on a TI-83
 Plus BE, or about 1 second per page on a TI-83 Plus SE or TI-84 Plus.
 Once this is done, computing a new application signature will take
 about 50 seconds on a TI-83 Plus BE, or about 20 seconds on a TI-83
 Plus SE or TI-84 Plus.

Is there a particular reason we can't simply get Floppus' permission to distribute ducksign and then bundle it with Axe? For someone who doesn't make apps, I'm not sure I want Axe to use another page if for app signing if that would be necessary.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Axe Parser
« Reply #1973 on: September 25, 2011, 08:51:14 pm »
I wonder if there is enough space left for Axe to add some sort of signing process that can be enabled ( disabled by default ).
/e

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: Axe Parser
« Reply #1974 on: September 25, 2011, 09:08:47 pm »
There is enough space (I have about 5KB left on the 2nd page) and I think Floppus suggested I could include it at some point.  I just don't think its that high on the priority list right now since how often do you need to send someone an app without a computer?  I'd rather spend the time fixing known bugs and you can always add DuckSign to your calculator separately.
___Axe_Parser___
Today the calculator, tomorrow the world!

Ashbad

  • Guest
Re: Axe Parser
« Reply #1975 on: September 25, 2011, 09:10:19 pm »
Well considering the only way you distribute Axe-compiled Applications is by loading it through your computer first, I don't see why it's so hard to sign it on the computer (faster...) while you're preparing it for download than while you're testing it on-calc.

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: Axe Parser
« Reply #1976 on: September 25, 2011, 09:11:58 pm »
Ashbad, good to see you again!



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

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: Axe Parser
« Reply #1977 on: September 25, 2011, 09:12:06 pm »
The problem is that some people do not have a computer at all (or any suitable access to one). JustCause comes to mind.

However, I personally think it should come as an option, not bundled in Axe. People might not want to wait a long while during compiling everytime they're testing something for bugs and they might not like if Axe takes an extra page if they don't need to sign apps.

On a side note what happened to Floppus? ???
« Last Edit: September 25, 2011, 09:13:47 pm by DJ_O »

Ashbad

  • Guest
Re: Axe Parser
« Reply #1978 on: September 25, 2011, 09:13:17 pm »
Ashbad, good to see you again!

Que

The problem is that some people do not have a computer at all (or any suitable access to one). JustCause comes to mind.

But then he can't distribute it anyways, so no problem there.

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Axe Parser
« Reply #1979 on: September 25, 2011, 09:21:23 pm »
Distribution to friends?
But there isn't too much need for integration with the presence of DuckSign.
"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.