Omnimaga
Calculator Community => TI Calculators => General Calculator Help => Topic started by: Munchor on November 11, 2010, 06:59:31 pm
-
So, I know how to convert .txt to .8xp, using SourceCoder or Tokens.
Now, how hard would it be for me to make my own converter?
Is that something hard to do, is the code for that available or is something that needs to be coded from the beginning truly hard?
Thanks
-
I don't know the process of it but from what I've seen it looks like you have to code each token individually which will take a lot, I'd imagine. Sorry. Someone more experienced in computer programming and such would be better at answering this though.
Also, Cooliojazz has a converter too.
-
There are a lot of tokens. Just press 2nd+0 to bring up the Catalog to get a list of most of them. If you can get a script of some kind to extract tokens from ti83plus.inc, it'd go a long way toward getting the program done.
-
Such software already exists for your computer.
I personally use TI BASIC compiler (http://www.ticalc.org/archives/files/fileinfo/402/40210.html). It includes most of the commands that you'll need.
It really makes generating a large amount of data easier.
-
They're all here: http://tibasicdev.wikidot.com/tokens
You'll probably have to make your own table of them, because the ones in ti83plus.inc list only the ASM mnemonics of them, which can be pretty far off.
-
Personally, since there are already a bunch of good converters around here, I would instead suggest features you want to the respective authors (Kerm, Merthsoft, etc). That's unless you absolutely want to write a converter for learning purposes, though.
-
Just saw the ti83plus.inc -> Nightmare file.
Just gave up the idea, oh my god!
-
well, you don't have to worry about most of it -- a lot of it (if not all of it) only concerns pure ASM programmers. Just look at the words starting with a lowercase t ;)
-
well, you don't have to worry about most of it -- a lot of it (if not all of it) only concerns pure ASM programmers. Just look at the words starting with a lowercase t ;)
That still wouldn't work because those tokens have different names in ASM than appear on-calc. You'll have to make your own list if you want to make that program.
-
Don't worry:
http://omnimaga.pastebin.com/3KQ3PRFe (http://omnimaga.pastebin.com/3KQ3PRFe)
SARCASM
Yeah, not that many actually
-
Seems like you found them! :D
Yeah, you're probably better off just using one that's done.
-
Just saw the ti83plus.inc -> Nightmare file.
Just gave up the idea, oh my god!
The data in that file explains so much...
-
I did find them, but have no idea of what they are and how to use them to make a compiler.
Maybe I should ask Merth for help?