• Axe Parser 5 1
Currently:  

Author Topic: Axe Parser  (Read 546917 times)

0 Members and 1 Guest are viewing this topic.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Axe Parser
« Reply #1785 on: May 26, 2011, 11:07:09 am »
The fourth pass would not actually reduce the size of programs, nor would it make them faster.  The *only* thing it would do is move all the data to the end of the program so you get a little more edge when compiling for Shell, and you are almost at the size limit

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Axe Parser
« Reply #1786 on: May 26, 2011, 11:14:16 am »
Aww. But would it be possible to have a pass that goes back and optimizes the code?
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Axe Parser
« Reply #1787 on: May 26, 2011, 11:19:28 am »
Not anymore than it already does i don't think

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 #1788 on: May 26, 2011, 04:20:15 pm »
It would also allow me to give a compile error now when you go over the limit.  Currently I can't do that because I don't know how much is data and how much is code.
___Axe_Parser___
Today the calculator, tomorrow the world!

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 #1789 on: May 26, 2011, 04:25:19 pm »
It would also allow me to give a compile error now when you go over the limit.  Currently I can't do that because I don't know how much is data and how much is code.
Nice!  I really want that. ^-^

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Axe Parser
« Reply #1790 on: May 27, 2011, 10:05:51 am »
The fourth pass would not actually reduce the size of programs, nor would it make them faster.  The *only* thing it would do is move all the data to the end of the program so you get a little more edge when compiling for Shell, and you are almost at the size limit

In that case I do support it :D
« Last Edit: May 27, 2011, 10:05:59 am by Deep Thought »




Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Axe Parser
« Reply #1791 on: May 27, 2011, 10:08:44 am »
I support the 4th pass.
I'm not a nerd but I pretend:

Offline JustCause

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 810
  • Rating: +115/-5
    • View Profile
Re: Axe Parser
« Reply #1792 on: May 27, 2011, 10:09:25 am »
I support the 4th pass.
^^. I can think of about a hundred ways that would help me.
« Last Edit: May 27, 2011, 10:09:45 am by JustCause »
See you, space cowboy...

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Axe Parser
« Reply #1793 on: May 27, 2011, 10:11:39 am »
4th pass gogogo!(go)
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Axe Parser
« Reply #1794 on: May 27, 2011, 10:11:43 am »
Did anyone see my suggestion for using shell routines? If you compile for a shell, you can for example use iputsprite instead of pxl-change and ifastcopy instead of DispGraph, which will cut the size of programs a lot.
I'm not a nerd but I pretend:

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Axe Parser
« Reply #1795 on: May 27, 2011, 10:12:48 am »
Axe's routines are all custom made and different from shell routines, so it couldn't use them.

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Axe Parser
« Reply #1796 on: May 27, 2011, 10:13:16 am »
awww. Thats too bad.
I'm not a nerd but I pretend:

Offline Compynerd255

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +53/-4
  • Betafreak Games
    • View Profile
    • Betafreak Games
Re: Axe Parser
« Reply #1797 on: May 27, 2011, 10:25:55 am »
I second (or fifth, or whatever) the extra passes. Anything to increase program efficiency. Anyway, in Axe's current form, the second pass is faster than the first.

I know that most of the Axe routines are incompatible with the shell routines, but some of them are not. Because DispGraph is simply Ion's FastCopy, then DispGraph should simple be a CALL iFastCopy when compiling for a shell. I don't know how useful this would be for other commands, however.
The Slime: On Hold, preparing to add dynamic tiles

Axe Eitrix: DONE

Betafreak Games: Fun filled games for XBox and PC. Check it out at http://www.betafreak.com



Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Axe Parser
« Reply #1798 on: May 27, 2011, 10:27:18 am »
Runer said that Axe's routines are not compatible plus they are better. I conclude that I'm fine with axe's routines as it is now.
I'm not a nerd but I pretend:

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Axe Parser
« Reply #1799 on: May 27, 2011, 10:32:16 am »
Axe's FastCopy is very different from Ion's FastCopy:

  • Axe's FastCopy supports copying from an arbitrary buffer; Ion's FastCopy does not
  • Axe's FastCopy correctly preserves the interrupt status; Ion's FastCopy does not
  • Axe's FastCopy preserves the CPU speed and will run correctly at either 6MHz or 15MHz; Ion's FastCopy does neither
  • Axe's FastCopy will work on newer calculators with bad LCD drivers; Ion's FastCopy will not

I could give you a similar list for every other command shared between Axe and Ion.
« Last Edit: May 27, 2011, 10:35:16 am by Runer112 »