Omnimaga
Calculator Community => TI Calculators => ASM => Topic started by: Munchor on October 31, 2010, 06:56:09 pm
-
I downloaded tokens, it looks great.
Now, can you help me with a sample small program to write in it, to test it?
I'm not into Asm programming but I would like to test it, by writing a simple program, maybe a Hello World, possibly more complex.
So...
I start with a header:
.FSTPROG
Disp "Hello World"
Then, it converted to this:
3A46535450524F47
DE2A48BBB4BBBCBBBCBBBF2957BBBFBBC2BBBCBBB32A
Now, I do compile and save HWLD.8xp
When I put it in my calculator and use Doors to run it, it opens the source code instead.
Any ideas, a simple way to use Token and make a simple program Hello World?
Thanks
-
That's Axe, not ASM, so it's basically like a TI-BASIC program. Tokens can't be used to code ASM, anyway. For that, you'd have to use an assembler like Tasm or SpAsm (or Mimas on-calc).
-
That's Axe, not ASM, so it's basically like a TI-BASIC program. Tokens can't be used to code ASM, anyway. For that, you'd have to use an assembler like Tasm or SpAsm (or Mimas on-calc).
Yeah, Axe, what I meant. So, any ideas for Axe?
I could never do a "Disp "Hello World"" in Asm hahah Axe indeed
-
Well, Tokens doesn't compile Axe source code. It just compiles ASCII text to a TI-BASIC program, which in this case would be the Axe source code. You still need Axe on your calc to compile that to an actual executable program.
-
Ok then, Axe in my calculator is not working, so, mehh whateverX
-
Ok then, Axe in my calculator is not working, so, mehh whateverX
Really? How? If it gives you an error of any sort, you should report that to Quigibo.
-
Ok then, Axe in my calculator is not working, so, mehh whateverX
Really? How? If it gives you an error of any sort, you should report that to Quigibo.
Reported already, but I don't know if he's going to do anything about it, since I'm the only one :'( :'(
-
Oh, the problem with Ping? Maybe it's only with that program. You should try it with this.
-
Oh, the problem with Ping? Maybe it's only with that program. You should try it with this.
It's not ping, it's axe itself...
-
Does it not compile or something?
-
Does it not compile or something?
When you open Axe you see a menu, with Compile List, Options, etc.
When I open axe, I see a Menu( function, title is "Compile List" and then I can see all programs I have and I can compile them if I press ENTER. Whichever I try (even if they have Axe correct code) it gives me UNKNOWN ERROR.
Quigibo says he has no idea, but he must have made this Menu function and stuff in order for it to appear
-
Wait, is there a program that will compile hex on the computer into .8xp?
-
DevPac8x (http://www.ticalc.org/archives/files/fileinfo/129/12922.html)?
-
How does it work? Do I put the hex into a .txt file and drag onto it?
-
It converts a .bin file into .8xp. Not sure what the .bin file contains, but it should be pure hex...
-
DevPak8x isn't working on my 64-bit computer.
-
Is there a way to get it to compile stuff through DOSBox or something or would that not work?
-
You could use BinPac8x, http://www.ticalc.org/archives/files/fileinfo/429/42915.html (http://www.ticalc.org/archives/files/fileinfo/429/42915.html). You need Python 2.x .
-
Oh right I always forget about that one. I didn't pay attention much because it's ASM-related so I didn't knew it was an alternative to DevPac8x. I guess great job to Kerm again ;D
-
Sorry, but I am inexperienced with computers. I know that Python is a language, but I no nothing about how to get it, install it, use it, or anything like that. But thanks!
-
You can download Python here (http://www.python.org/download/). The best way to think of Python is as the serious version of BASIC.
-
So what do I do with it once I have it downloaded on my computer?
-
Installation Instructions (http://diveintopython.org/installing_python/windows.html) (use the instructions for the Python.org download)
When it's finished installing, run the GUI. I'd recommend looking through the tutorials as well.
-
Aren't there also 2 versions of Python? If I remember, programs are dependent on one version so you have to be careful which one you download. I could be wrong, though. It has been a while since I last checked Python stuff.
-
I don't know, but I am liking the sound of this thing...
-
Aren't there also 2 versions of Python? If I remember, programs are dependent on one version so you have to be careful which one you download. I could be wrong, though. It has been a while since I last checked Python stuff.
Yeah, version 2 and version 3. There's also the dozen Python spinoffs, like IronPython, Jython, Sython and so on.
Python's actually a great language if you're learning how to program or you need to deal with high level stuff. Much of Google was originally done in it. Its main drawback is that it's slow. In other simple to use, high level and slow. Just like BASIC.
I don't use Python anymore, though. I switched to Calc programming and I haven't gone back.
-
I assume another drawback was the dependencies, right? (Having python installed to run actual python applications)
-
I assume another drawback was the dependencies, right? (Having python installed to run actual python applications)
I didn't notice it much. Enough applications use Python that it's not a problem most of the time.