Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
19 June, 2013, 07:14:20 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: 1 2 3 [4]   Go Down
  Print  
Author Topic: Axe Interpreter -  (Read 3934 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
calc84maniac
Epic z80 roflpwner
Coder Of Tomorrow
LV11 Super Veteran (Next: 3000)
*
Online Online

Gender: Male
Last Login: Today at 07:09:04
Date Registered: 28 August, 2008, 05:09:05
Location: Right behind you.
Posts: 2737


Total Post Ratings: +376

View Profile
« Reply #45 on: 26 December, 2011, 06:56:19 »
0

As far as I know, it won't be able to use Axioms or Asm(), since there's no z80 emulation (and some Axioms and Asm() statements might rely on TI-OS, which isn't there either)
Logged

"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 06:39:40
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50625


Total Post Ratings: +2636

View Profile WWW
« Reply #46 on: 26 December, 2011, 06:59:17 »
0

Ah right I forgot about Axioms. Hopefully it can run games like Axe Tunnel, though, or even some of the large projects (assuming all sub-programs are in the same folder)
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
calc84maniac
Epic z80 roflpwner
Coder Of Tomorrow
LV11 Super Veteran (Next: 3000)
*
Online Online

Gender: Male
Last Login: Today at 07:09:04
Date Registered: 28 August, 2008, 05:09:05
Location: Right behind you.
Posts: 2737


Total Post Ratings: +376

View Profile
« Reply #47 on: 26 December, 2011, 07:02:07 »
0

And I guess GetCalc() would directly access .8x* files in the same folder... that would be cool Cheesy
Logged

"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman
DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 06:39:40
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50625


Total Post Ratings: +2636

View Profile WWW
« Reply #48 on: 26 December, 2011, 07:05:15 »
0

Indeed that's what I thought, and of course sub-programs/routines
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Michael_Lee
LV9 Veteran (Next: 1337)
*********
Offline Offline

Gender: Male
Last Login: 31 May, 2013, 15:08:36
Date Registered: 05 August, 2010, 01:00:06
Posts: 1020

Topic starter
Total Post Ratings: +115

View Profile
« Reply #49 on: 05 January, 2012, 07:13:08 »
0

Progress report:

So, I essentially have to rewrite a chunk of my program.  Basically, the story is, I'm first converting text into a sort of tree -- lists containing lists containing lists.  Unfortunately, that format won't allow me to easily code in goto statements -- there are ways to hack out a solution, but they're all slow and brittle. 

So I'm rewriting my code to first create a tree then convert it into a single flattened list so I can easily jump to a line number.  Which is a pity, since I thought my whole recursive scheme for running the tree was cool (I like recursion). 

I'm also angsting over whether or not I should turn my tree into objects containing objects or just keep them as nested lists.

You know, gotos are generally seen as evil, but I never realized they were diabolical to implement too Big frown
Logged

My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.
willrandship
Omnimagus of the Multi-Base.
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: 17 June, 2013, 05:14:49
Date Registered: 11 April, 2010, 03:08:32
Location: Between Venus and Mars
Posts: 2651


Total Post Ratings: +65

View Profile
« Reply #50 on: 05 January, 2012, 08:16:35 »
0

For the name......how about Halberd?
Logged

DJ Omnimaga
Retired Omnimaga founder (Site issues must be PM'ed to Netham45, Eeems, Shmibs, Deep Thought and AngelFish, not me.)
Editor
LV15 Omnimagician (Next: --)
*
Offline Offline

Gender: Male
Last Login: Today at 06:39:40
Date Registered: 25 August, 2008, 07:00:21
Location: Québec (Canada)
Posts: 50625


Total Post Ratings: +2636

View Profile WWW
« Reply #51 on: 12 January, 2012, 09:00:45 »
0

I'm glad this is still progressing. Hopefully you can finish this. Smiley
Logged

Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)

Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter|Myspace
Michael_Lee
LV9 Veteran (Next: 1337)
*********
Offline Offline

Gender: Male
Last Login: 31 May, 2013, 15:08:36
Date Registered: 05 August, 2010, 01:00:06
Posts: 1020

Topic starter
Total Post Ratings: +115

View Profile
« Reply #52 on: 18 January, 2012, 10:48:47 »
0

I revamped how I handle memory and graphics.

Full pointer madness is working, along with graphics (including grayscale and sprites).  I still have to implement all the different sprite variations (which should be easy), and redo scrolling (Horizontal/Vertical +/-).

On the lexing/parser side, I've been procrastinating and still haven't rewritten it to compensate for those blasted gotos Tongue

Does anybody know where I can get the font used for the TI-84?  (both the small one and the homescreen one?)
Logged

My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.
Art_of_camelot
The matrix has you.. ಠ_ಠ
Support Staff
LV12 Extreme Poster (Next: 5000)
*
Online Online

Last Login: Today at 07:04:34
Date Registered: 30 August, 2008, 04:55:55
Location: Dr. Light's Laboratory
Posts: 4503


Total Post Ratings: +154

View Profile WWW
« Reply #53 on: 19 January, 2012, 04:30:50 »
0

Ti's website used to have a font available, you could check there. I'm unsure if it was accurate or just looked similar to what was on the calc. I'm pretty sure it was only one size as well.
Logged

Projects:
TBA! Coming to an 83+ near you!

NerdTests.com says I'm a Cool Nerd King.  Click here to take the Nerd Test, get nerdy images and jokes, and write on the nerd forum!


Michael_Lee
LV9 Veteran (Next: 1337)
*********
Offline Offline

Gender: Male
Last Login: 31 May, 2013, 15:08:36
Date Registered: 05 August, 2010, 01:00:06
Posts: 1020

Topic starter
Total Post Ratings: +115

View Profile
« Reply #54 on: 13 May, 2012, 07:50:41 »
+2

Necropost!

Here's a shiny new youtube video:
<a href="http://www.youtube.com/watch?v=i2cjxqMY4bg" target="_blank">http://www.youtube.com/watch?v=i2cjxqMY4bg</a>
(it comes out a bit small, so try going to the actual video?)

...and the download link:
http://dl.dropbox.com/u/10645749/axe-interpreter_v0.3.zip

So, here are a list of changes since the last official version!
  • The parser and interpreter have been completely remade so it can handle goto statements
  • Grayscale
  • Almost anything related to memory has been finished

...and the things I need to work on:
  • Adding constants
  • Adding sprites
  • Working on speed

The list of all supported tokens can be found here:
static.michael0x2a.com/commands.html
Logged

My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.
shmibs
bonsai bok choy wiseguy waterboy
Administrator
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Last Login: Yesterday at 23:47:06
Date Registered: 11 June, 2010, 19:36:15
Location: 89B6
Posts: 1873


Total Post Ratings: +243

View Profile
« Reply #55 on: 13 May, 2012, 18:51:00 »
0

so grey just displays in fixed colour until the next update?

this looks pretty snazzy indeed =)

EDIT: there wasn't a linux executable included, so i tried running the version in .src. it worked, but i kept getting unrecognised token errors, and it froze up at the end of the program
<a href="http://www.youtube.com/watch?v=s1vO6luKyfE" target="_blank">http://www.youtube.com/watch?v=s1vO6luKyfE</a>
« Last Edit: 13 May, 2012, 19:14:17 by shmibs » Logged



We're not human, are we?
Michael_Lee
LV9 Veteran (Next: 1337)
*********
Offline Offline

Gender: Male
Last Login: 31 May, 2013, 15:08:36
Date Registered: 05 August, 2010, 01:00:06
Posts: 1020

Topic starter
Total Post Ratings: +115

View Profile
« Reply #56 on: 13 May, 2012, 19:14:22 »
0

so grey just displays in fixed colour until the next update?

Erm, could you clarify what you mean by 'fixed color'?

If you're referring to how grayscale usually has a flickering/diagonal effect in real calculators, I'm probably not going to in the near future because I'm not really sure how to code something like that. 
Logged

My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.
shmibs
bonsai bok choy wiseguy waterboy
Administrator
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Last Login: Yesterday at 23:47:06
Date Registered: 11 June, 2010, 19:36:15
Location: 89B6
Posts: 1873


Total Post Ratings: +243

View Profile
« Reply #57 on: 13 May, 2012, 19:22:25 »
0

yes, that's what i was referring to. i don't think there will be any reason for you to change it. it would be a lot of work, and most programs would look better like this anyways.
Logged



We're not human, are we?
Michael_Lee
LV9 Veteran (Next: 1337)
*********
Offline Offline

Gender: Male
Last Login: 31 May, 2013, 15:08:36
Date Registered: 05 August, 2010, 01:00:06
Posts: 1020

Topic starter
Total Post Ratings: +115

View Profile
« Reply #58 on: 13 May, 2012, 19:42:57 »
0

Huh, that's a really weird tokenizing error.  I confirmed on my linux box: I'll go ahead and take a look at it (although it may take a week or so before I have time push the fix out).
Logged

My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.
Pages: 1 2 3 [4]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.262 seconds with 31 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.