Omnimaga
Calculator Community => TI Calculators => Axe => Topic started by: Broseph Radson on December 01, 2010, 05:55:33 pm
-
Well ive been inactive for a while, and ive never been much of an expert at programming so heres my dumb question lol. Is there a command in axe that lets you run a program regardless of what kind it is? And if not, is there a way to tell the difference between asm and basic programs and how would you run them accordingly using Axe? Im trying to make some sort of command line and im having issues parsing input as well but ill ask about that when i can get on a PC. (im on my old phone since my blackberry broke so i cant do hard returns sorry)
-
You can't directly run outside programs in Axe without writing the routine yourself. The parser attempts to parse any programs you call in Axe.
-
Is there a way to run a basic program with Asm( )?
-
there is not. Asm() is designed for assembly hex code
-
You would probably have to do an OS call and initiate the BASIC interpreter. I don't think anyone's ever figured out how to do it. I'd love to be wrong about that, though.
-
I know how Asm( ) workks :P i was wondering if there was an assembly command or commands that i could put in the program as hex using Asm( but i guess there isnt anything :(
-
This snippet of asm(hex) will run nostub progs :P I don't think you could run programs made for shells though without having the shell routines somehow integrated into your program or on the calc (not sure about this though)
PAsm(E7EF7C4E)
This would execute the program whose name is pointed to by P, just as if you had run it by typing Asm(prgmNAME) on the homescreen
-
i was wondering if there was an assembly command or commands that i could put in the program as hex using Asm( but i guess there isnt anything :(
There IS a way to run BASIC programs in Assembly because TI-OS does it. The problem is that no one really knows how it's done. Let me check if BrandonW documented the interpreter.
-
i was wondering if there was an assembly command or commands that i could put in the program as hex using Asm( but i guess there isnt anything :(
There IS a way to run BASIC programs in Assembly because TI-OS does it. The problem is that no one really knows how it's done. Let me check if BrandonW documented the interpreter.
I'm sure people know how it's done, as it has been done in many instances before. Any shell application has to be able to do it, for instance.
-
Wasn't there a BCALL posted somewhere in another thread that did exactly this?
-
I'm sure people know how it's done, as it has been done in many instances before. Any shell application has to be able to do it, for instance.
/me facepalms
And yes, there are B_calls addressing the interpreter.
-
sweetness!