Author Topic: Axe Parser  (Read 493306 times)

0 Members and 1 Guest are viewing this topic.

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Axe Parser
« Reply #1080 on: August 03, 2010, 01:42:50 am »
I agree.
The OS getKey would be how much slower though?
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







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 #1081 on: August 03, 2010, 02:16:34 am »
Its a lot more than just the getkey routine.  There are other things going on such as the run indicator, silent link checking, and some other OS stuff and that's in addition to what you already have in your interrupt.  Its not terribly slow but its certainly noticeable when speed is really critical.
« Last Edit: August 03, 2010, 02:17:14 am by Quigibo »
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Axe Parser
« Reply #1082 on: August 03, 2010, 02:20:18 am »
Plus the fact that any B_CALL routine requires roughly 1075 clock-ticks to enter and leave

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 #1083 on: August 03, 2010, 02:21:54 am »
That many?  Is that just the nature of BCalls or just TI stupidness?

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Axe Parser
« Reply #1084 on: August 03, 2010, 02:26:03 am »
That many?  Is that just the nature of BCalls or just TI stupidness?

Probably both.  The calculator needs time to switch between archive pages, and of course, the OS B_CALLS are part of the flash memory.

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 #1085 on: August 08, 2010, 03:07:43 am »
In case anyone is wondering what's been going on recently with the lack of the promised Axe update last week, the main reason is the time I've been spending to get the automatic backups working.  I spent about 5 days writing a ton of extra code since the OS did not support the archiving of invisible programs.  After all that testing I finally had it all ready to be uploaded and I sent it to my calculator to do some last minute testing.  That's when it gave me an ERR: Undefined when trying to create a backup.  It turns out the trick I was using was no longer possible on OS 2.4x and so that really set me back.  The only way I saw I could get it done now was writing directly to the flash.  So I wrote routines for that.  Then I realized that not only do I have to write my own routine for that, I have to write my own symbol table searching, vat entry updater, and program creator routines since I can't use the OS's routines given that they no longer support the format.  It just got too crazy and I finally gave up.  So I now have to throw away about a weeks worth of code and start fresh.

The main reason I had to make the files invisible was to be 100% sure that important appvars do not get overwritten accidentally.  But I've though of a simpler way to do that now by checking if a non-backup file of the same name exists first and then refuse to backup the file until you manually delete it, that way you won't accidentally erase it.  But unfortunately, now backups will crowd the memory management list which I really didn't want, but I guess on the plus side you can erase the backups without having to go into the Axe app.

Anyway, the update should be ready now in less than 24 hours I hope.  The backup feature, when it was working on the older OS, is like a night-and-day difference in how you program.  I feel like I would never program without it now because its such a huge convenience.  Its definitely a reason to upgrade if you have an older version.  I fixed a lot of other little bugs too to make it more stable.
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Axe Parser
« Reply #1086 on: August 08, 2010, 03:24:21 am »
Sweet.

So, automatic backups ARE in the next update? o.o
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







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 #1087 on: August 08, 2010, 03:28:13 am »
Yes.  That and about 10 other new things, its going to be a fairly large update.
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Raylin

  • Godslayer
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1392
  • Rating: +83/-25
  • I am a certifiable squirrel ninja.
    • View Profile
    • Ray M. Perry
Re: Axe Parser
« Reply #1088 on: August 08, 2010, 03:33:02 am »
Full of win. :D
Bug me about my book.

Sarah: TI-83 Plus Silver Edition [OS 1.19]
Cassie: TI-86 [OS 1.XX]
Elizabeth: TI-81 [OS 1.XX]
Jehuty: TI-83 Plus Silver Edition [OS 1.19]
Tesla: CASIO Prizm







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 #1089 on: August 08, 2010, 03:48:13 am »
Yessss automatic backups are going to be so awesome :) Does it take much extra time to make the backups?

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 #1090 on: August 08, 2010, 04:34:09 am »
It takes about the same amount of time as if you were to archive a program from the memory management window.  Similar to apps it does wear on the flash, but at least 8 times less wear with large programs than application compiling and you don't have to defragment each time you create a backup, only on the rare occasions when you're asked to garbage collect.

Another thing to note is that backups don't have be automatic.  You can manually create backup copies whenever you want by pressing 'B' in the compile menu in case you're concerned about running out of flash, wear on the flash, or the extra time it takes.  Its also nice if you have a lot of programs you want to backup without compiling them first.
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: Axe Parser
« Reply #1091 on: August 08, 2010, 10:24:55 am »
So what other new features are there?

SirCmpwn

  • Guest
Re: Axe Parser
« Reply #1092 on: August 08, 2010, 11:42:43 am »
Nice!
Can you disable this feature, though?

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: Axe Parser
« Reply #1093 on: August 08, 2010, 02:01:45 pm »
Nice!
Can you disable this feature, though?
He said that they don't have to be automatic, so I'm guessing there is an option for it.

SirCmpwn

  • Guest
Re: Axe Parser
« Reply #1094 on: August 08, 2010, 03:01:36 pm »
Okay, that's good.