Author Topic: Axe Parser  (Read 546097 times)

0 Members and 1 Guest are viewing this topic.

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 #840 on: June 19, 2010, 01:04:59 pm »
Well, think about it this way:  What does 6MHz stand for?  That's 6,000,000 cycles per second so 3,350,000 clock cycles in a command that should take around a second seems very reasonable.
___Axe_Parser___
Today the calculator, tomorrow the world!

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 #841 on: June 19, 2010, 01:06:18 pm »
3,350,000 sounds more like half a second...
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

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 #842 on: June 19, 2010, 01:07:54 pm »
Well, I'm assuming that the interrupts are taking up the extra time then.

EDIT: actually, I just used a stopwatch, half a second per 1000 on the pause seems a lot closer.
« Last Edit: June 19, 2010, 01:10:33 pm by Quigibo »
___Axe_Parser___
Today the calculator, tomorrow the world!

SirCmpwn

  • Guest
Re: Axe Parser
« Reply #843 on: June 19, 2010, 01:09:35 pm »
I've noticed that there are problems with Pause on Full, did you factor that into the Pause command?
Maybe it would be more accurate to DI beforehand.

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 #844 on: June 19, 2010, 01:12:01 pm »
I've noticed that there are problems with Pause on Full, did you factor that into the Pause command?
Maybe it would be more accurate to DI beforehand.
Perhaps that should be left to the user. getKey won't detect keys pressed during a Pause if interrupts are disabled.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Magic Banana

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 371
  • Rating: +77/-1
  • It's not an apple, it's a ... magic banana.
    • View Profile
Re: Axe Parser
« Reply #845 on: June 19, 2010, 01:18:11 pm »
I've noticed that there are problems with Pause on Full, did you factor that into the Pause command?
Maybe it would be more accurate to DI beforehand.

Well since Pause is just in clock cycles, couldn't you just do something like Pause X and if Full then 2.5X->X?
I do sprites and stuff, so yeah.

Quote from: yunhua98
i'M NOT SURE WHAT A SWORD SKILL IS BUT HERE'S THE SWORD ANIMATION FROM THE TWO SPRITES ON PG 13

SirCmpwn

  • Guest
Re: Axe Parser
« Reply #846 on: June 19, 2010, 01:18:58 pm »
Maybe, if 2.5 worked in Axe :P j/k

Offline Magic Banana

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 371
  • Rating: +77/-1
  • It's not an apple, it's a ... magic banana.
    • View Profile
Re: Axe Parser
« Reply #847 on: June 19, 2010, 01:20:32 pm »
Oh yeah :P
Be creative.
5/2*X?

EDIT:wait a second. I might have to think about this one ...
« Last Edit: June 19, 2010, 01:21:31 pm by Magic Banana »
I do sprites and stuff, so yeah.

Quote from: yunhua98
i'M NOT SURE WHAT A SWORD SKILL IS BUT HERE'S THE SWORD ANIMATION FROM THE TWO SPRITES ON PG 13

SirCmpwn

  • Guest
Re: Axe Parser
« Reply #848 on: June 19, 2010, 01:20:55 pm »
X*10/25

Offline Magic Banana

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 371
  • Rating: +77/-1
  • It's not an apple, it's a ... magic banana.
    • View Profile
Re: Axe Parser
« Reply #849 on: June 19, 2010, 01:23:52 pm »
X/2+2X is pretty close.:)
I do sprites and stuff, so yeah.

Quote from: yunhua98
i'M NOT SURE WHAT A SWORD SKILL IS BUT HERE'S THE SWORD ANIMATION FROM THE TWO SPRITES ON PG 13

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 #850 on: June 19, 2010, 01:24:23 pm »
Well, think about it this way:  What does 6MHz stand for?  That's 6,000,000 cycles per second so 3,350,000 clock cycles in a command that should take around a second seems very reasonable.
So Pause 6000 would take a second on 83+ and 0.4 on SE?
* DJ Omnimaga is confused with all those numbers ;D (I guess it doesn't matter much, since we can simply trial and error until it's at the speed we want)

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 #851 on: June 19, 2010, 01:25:54 pm »
First of all the proper number is X*15/6.  Second of all, I would never do this becasue its a complete waste of code.  Instead, you can do "Pause 2000*15/6" for an equivalent 2000 timed pause in 15MHz mode since Axe precompiles constants now.
___Axe_Parser___
Today the calculator, tomorrow the world!

SirCmpwn

  • Guest
Re: Axe Parser
« Reply #852 on: June 19, 2010, 01:25:55 pm »
X/2+2X is pretty close.:)
X*25/10 is exact :)

Offline Magic Banana

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 371
  • Rating: +77/-1
  • It's not an apple, it's a ... magic banana.
    • View Profile
Re: Axe Parser
« Reply #853 on: June 19, 2010, 01:28:55 pm »
I think Pause 6000 is like 3 seconds on 83+ and a little over 1 on SE.

X/2+2X is pretty close.:)
X*25/10 is exact :)

Lemme just ... yep. Mine works for even numbers only. Whoops. That one works for everything.
I do sprites and stuff, so yeah.

Quote from: yunhua98
i'M NOT SURE WHAT A SWORD SKILL IS BUT HERE'S THE SWORD ANIMATION FROM THE TWO SPRITES ON PG 13

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 #854 on: June 19, 2010, 07:30:31 pm »
Mhmm

Quote
SetupEditor is no longer needed or supported.

This function is still intact in the command list.

Also I noticed it still says 0.2.5 in the doc at the top of every page in the PDF.

Just small details I wanted to point out :P