Author Topic: Axe Emulator  (Read 19785 times)

0 Members and 1 Guest are viewing this topic.

Offline jacobly

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 205
  • Rating: +161/-1
    • View Profile
Axe Emulator
« on: April 19, 2012, 01:25:17 am »
I have been working on a program that interprets Axe source code.  Currently, I am able to compile it to computer assembly code, which I can link with a program that emulates a calculator screen.  At some point, it should be able to run Axe programs directly (using JIT compilation).

So far, I have implemented enough of the commands to be able to compile most of the example programs that come with Axe.  The compiler itself is not ready yet, but I do have some examples of the executables produced.

Offline Jonius7

  • python! Lua!
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1918
  • Rating: +82/-18
  • Still bringing new dimensions to the TI-nspire...
    • View Profile
    • TI Stadium
Re: Axe Emulator
« Reply #1 on: April 19, 2012, 01:31:45 am »
This is a very nice set of examples that you have managed to make work for the Axe Emulator. It definitely simplifies things by putting the calc screen into a single window (and nice Axe logo too). Did you also manually keymap the keys too? If so then well done! Hope to see more progress on this.
« Last Edit: April 19, 2012, 05:28:27 am by Jonius7 »
Programmed some CASIO Basic in the past
DJ Omnimaga Music Discographist ;)
DJ Omnimaga Discography
My Own Music!
My Released Projects (Updated 2015/05/08)
TI-nspire BASIC
TI-nspire Hold 'em
Health Bar
Scissors Paper Rock
TI-nspire Lua
Numstrat
TI-nspire Hold 'em Lua
Transport Chooser
Secret Project (at v0.08.2 - 2015/05/08)
Spoiler For Extra To-Be-Sorted Clutter:

Spoiler For Relegated Projects:
TI-nspire BASIC
Battle of 16s (stalled) | sTIck RPG (stalled) | Monopoly (stalled) | Cosmic Legions (stalled)
Axe Parser
Doodle God (stalled while I go and learn some Axe)

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Axe Emulator
« Reply #2 on: April 19, 2012, 03:23:01 am »
um could you explain it a bit and/or post screenies, I can't download it and I dont really get it.
I'm not a nerd but I pretend:

Offline Jim Bauwens

  • Lua! Nspire! Linux!
  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1881
  • Rating: +206/-7
  • Linux!
    • View Profile
    • nothing...
Re: Axe Emulator
« Reply #3 on: April 19, 2012, 03:52:53 am »
It's compiles/interprets AXE programs to work on a PC.
Pretty nice :)

Here is a screenshot:


Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Axe Emulator
« Reply #4 on: April 19, 2012, 03:54:52 am »
OMG nice :D :D :D
Also
niceframerate XD

edit:
is color also planned to be implemented?
« Last Edit: April 19, 2012, 03:55:32 am by aeTIos »
I'm not a nerd but I pretend:

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 Emulator
« Reply #5 on: April 19, 2012, 04:01:11 am »
Wow!  This is quite an impressive accomplishment!  O.O

Are you planning on extending the functionality given that you have the resources of a computer or are you planning to continue improving emulation to make it more similar to the calculator language?
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Axe Emulator
« Reply #6 on: April 19, 2012, 04:02:09 am »
OMG nice :D :D :D
Also
niceframerate XD

edit:
is color also planned to be implemented?

How could color be implemented if it interprets axe? o.O

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Axe Emulator
« Reply #7 on: April 19, 2012, 04:03:28 am »
erm, extra commands I guess.
Maybe also bigger screen/smaller pxls :D would allow for the TI community to boooooost computron development :D
I'm not a nerd but I pretend:

Offline Jonius7

  • python! Lua!
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1918
  • Rating: +82/-18
  • Still bringing new dimensions to the TI-nspire...
    • View Profile
    • TI Stadium
Re: Axe Emulator
« Reply #8 on: April 19, 2012, 05:29:34 am »
An Axe Parser Extended environment I would see. Kinda like how there's Lua (PC programming language version), and TI modified it for the TI-nspire, removing and adding and modifying commands/functions.

So like jimbauwens' PCspire too!
« Last Edit: April 19, 2012, 05:31:10 am by Jonius7 »
Programmed some CASIO Basic in the past
DJ Omnimaga Music Discographist ;)
DJ Omnimaga Discography
My Own Music!
My Released Projects (Updated 2015/05/08)
TI-nspire BASIC
TI-nspire Hold 'em
Health Bar
Scissors Paper Rock
TI-nspire Lua
Numstrat
TI-nspire Hold 'em Lua
Transport Chooser
Secret Project (at v0.08.2 - 2015/05/08)
Spoiler For Extra To-Be-Sorted Clutter:

Spoiler For Relegated Projects:
TI-nspire BASIC
Battle of 16s (stalled) | sTIck RPG (stalled) | Monopoly (stalled) | Cosmic Legions (stalled)
Axe Parser
Doodle God (stalled while I go and learn some Axe)

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Axe Emulator
« Reply #9 on: April 19, 2012, 05:30:56 am »
^that :D I would really be creating tonsa games for pc when that happens :D

edit also O.O we would be able to write our pc proggies oncalc lol
« Last Edit: April 19, 2012, 05:31:21 am by aeTIos »
I'm not a nerd but I pretend:

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: Axe Emulator
« Reply #10 on: April 19, 2012, 05:46:38 am »
i just tried it out, and it looks wonderful =D. i like how it uses steady 3/4 colour grey rather than emulating the gross 83/4 screens, too.

additional functionality would be pretty fantastic.
* shmibs imagines a nice alternative for writing quick games.
it probably wouldn't be very popular outside of the community, though, what with the contrast between axe and most popular languages.

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Axe Emulator
« Reply #11 on: April 19, 2012, 06:38:24 am »
Wow, if you add PC-specific functions, that will be freaking awesome o.o I will forever be in love with Axe.  I've  never gotten to use this emoticon, but  :-*  :w00t: Jacobly, you are awesome, I am glad you took the time to make this o.o Now that Axe is on a computer, I see it as being a really major hit and might evolve to be one of the top programming languages. Quigibo, Jacobly, amazing o.o


EDIT: Also, how much do you have to slow the code down? If you have to slow it down quite a bit, then I would love it. That would mean I could run algorithms coded in a language I understand, very quickly.

Offline hellninjas

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 625
  • Rating: +17/-0
    • View Profile
Re: Axe Emulator
« Reply #12 on: April 19, 2012, 11:16:18 am »
+1'nd!
This is awesome! I can't wait to see more of it! ^^

Offline jacobly

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 205
  • Rating: +161/-1
    • View Profile
Re: Axe Emulator
« Reply #13 on: April 19, 2012, 11:25:51 am »
@Quigibo: I would like to be able to have options (such as clipped/unclipped lines, accurate/approximate sin/cos, optional extra routines) so that I can improve some things while still being able to be as compatible with Axe as possible.

@Xeda: Even giving every DispGraph a 10ms delay, many games run way too fast to be playable (And this is with very unoptimized drawing code, etc. (Although the generated code is already being optimized quite a lot)).

On a side note, I do have linux executables, but the file was too big to upload.
« Last Edit: April 19, 2012, 11:26:08 am by jacobly »

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: Axe Emulator
« Reply #14 on: April 19, 2012, 11:26:44 am »
I like this one really....
I'm glad I'm one of those who tested it before it was released here! :D
EDIT: for anyone who wants to test TheQuest - in the white screen you have to hit 1.
Yes, that IS my program, the quest :P And I seriously don't know how that menu bug came there (it's also in the calc version)....
EDIT 2: This is just awesome, awesome and again awesome
EDIT 3: Add special PC-comments! :D
« Last Edit: April 19, 2012, 11:31:55 am by Sorunome »

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!