Author Topic: Suave  (Read 24090 times)

0 Members and 2 Guests are viewing this topic.

Ashbad

  • Guest
Re: 'DE
« Reply #60 on: February 01, 2011, 07:45:16 pm »
oh, actually that's not that hard, I have a routine in assembly about 75 bytes large that converts tokens (that correspond to 1-9) into actual 16 bit numbers :)

EDIT: and thanks for calc84maniac for giving it to me back when I was on UTI :)
« Last Edit: February 01, 2011, 07:45:49 pm by Ashbad »

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: 'DE
« Reply #61 on: February 01, 2011, 07:46:02 pm »
Well, token reading isn't that bad.
I *think* I still have an Axe program on my calc that will read through a program in the RAM defined in the source just like the program editor does. It just displays it, but it recognizes 1-byte and most 2-byte tokens.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Ashbad

  • Guest
Re: 'DE
« Reply #62 on: February 01, 2011, 07:47:34 pm »
Well, token reading isn't that bad.
I *think* I still have an Axe program on my calc that will read through a program in the RAM defined in the source just like the program editor does. It just displays it, but it recognizes 1-byte and most 2-byte tokens.

that sounds cool :)

yeah, I mean in assembly it would be easier (I mean, ti83plus.inc has the equates to all tokens) but I'm not planning on using that many as it is, so I can manage memorizing about 50 different token equates :)

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: 'DE
« Reply #63 on: February 01, 2011, 07:48:20 pm »
Sounds neat.  Good luck with it.  I like the Axe idea. ;D

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: 'DE
« Reply #64 on: February 01, 2011, 07:49:03 pm »
I would recommend against compiling into Axe source, as OOP is already going to be inherently large, and running it through a *second* compiler is likely to create bugs, issues, as well as a probably very large file size :(

Ashbad

  • Guest
Re: 'DE
« Reply #65 on: February 01, 2011, 07:49:43 pm »
yeah, I'm kinda basing it on a language (the name escapes me) that was around before C++ that compiled it's code into C source :)

That way, you could make MLL adjustments to it before final machine code compilation

EDIT: and builderboy does bring up a good point.  You see, the other option is also a consideration, so it's actually a good thing to see disagreement so I can make the best possible language :)
« Last Edit: February 01, 2011, 07:50:44 pm by Ashbad »

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: 'DE
« Reply #66 on: February 01, 2011, 07:50:05 pm »
If you want, I could upload the source.

One thing I learned with token reading that you should keep in mind, when reading a two-byte token, don't use {Pointer}r, but instead use {Pointer}rr. It took me a while to figure that out, but once I did the rest of it was fairly easy.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Ashbad

  • Guest
Re: 'DE
« Reply #67 on: February 01, 2011, 07:52:02 pm »
Yeah, if you could upload the source that would be most excellent :)

I've never heard of using {}rr, does it read words in big endian?

SirCmpwn

  • Guest
Re: 'DE
« Reply #68 on: February 01, 2011, 07:53:49 pm »
At one point a couple years ago, I had an on-calc program that would compile something akin to C# into Pure TI-Basic code, and it worked quite well.  It saddens me to say it was lost in one of my parent's tyrades, but I'd love to write something similar again.

Ashbad

  • Guest
Re: 'DE
« Reply #69 on: February 01, 2011, 07:56:48 pm »
so Sir you think it would be a good idea?  I thought it would be too, and to see that you've done something similar in the past shows that it is quite possible :)

SirCmpwn

  • Guest
Re: 'DE
« Reply #70 on: February 01, 2011, 07:59:58 pm »
Outrageously difficult, but possible.  I ended up using one string and one list in every program, and two variables.

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: 'DE
« Reply #71 on: February 01, 2011, 08:00:19 pm »
At one point a couple years ago, I had an on-calc program that would compile something akin to C# into Pure TI-Basic code, and it worked quite well.  It saddens me to say it was lost in one of my parent's tyrades, but I'd love to write something similar again.
That sounds pretty cool. Several times I've considered making a Java-esque language that compiles to something (Everytime I consider what it compiles to is different.), but never really got anywhere with it. Actually, my token reading thing came from my latest attempt.

Yeah, if you could upload the source that would be most excellent :)

I've never heard of using {}rr, does it read words in big endian?
I forget exactly what {}rr does, but it's necessary for token reading.

Source attached.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Ashbad

  • Guest
Re: 'DE
« Reply #72 on: February 01, 2011, 08:00:37 pm »
I see, so the assembly version would actually be easier?

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: 'DE
« Reply #73 on: February 01, 2011, 08:05:14 pm »
Yeah, if you could upload the source that would be most excellent :)

I've never heard of using {}rr, does it read words in big endian?
I forget exactly what {}rr does, but it's necessary for token reading.

Source attached.

Yep, it's big endian.




SirCmpwn

  • Guest
Re: 'DE
« Reply #74 on: February 01, 2011, 08:12:27 pm »
Tokens can be one or more bytes, and I would guess that {}rr would read the appropriate number of bytes.