I have been looking for a while, but I can't seem to find anything.
I know that ASM can't easily be run from C, but is there any built-in function to parse/run TI-Basic and then continue execution of the C program?
I know this is sort of a noob question. Sorry if it has been asked/answered before
You can probably do it the same way that ICE programs do it - this is the function that runs TI-BASIC programs that's included in ICE programs - you'll have to copy TI_PRGM_TYPE followed by the name of the program to OP1 (0xD005F8) before calling it, if I'm reading this code correctly.
why
commandblockguy wrote:
You can probably do it the same way that ICE programs do it - this is the function that runs TI-BASIC programs that's included in ICE programs - you'll have to copy TI_PRGM_TYPE followed by the name of the program to OP1 (0xD005F8) before calling it, if I'm reading this code correctly.

So basically there is no built-in function. I will give the ICE source a look though. Thanks.

Michael2_3B wrote:
why

I was trying to see if it would be realistic to make a shell in C.
Basic destroys the C context. So no.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are GMT - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement