Omnimaga

Calculator Community => TI Calculators => Axe => Topic started by: Turtle on October 05, 2013, 01:32:03 pm

Title: Ulimate Axe Shell
Post by: Turtle on October 05, 2013, 01:32:03 pm
I want to make a really cool axe shell with a gui easy to use like doors cs but quicker to lock/unlock/hide/unhide/archive/unarchive programs. I already made the gui with all programs on my calc (except prgm! and prgm#) and can do all of the above. I found out how to run asm and basic.

Does anybody know how to (in axe parser):
1. find free ram?
2. find free rom?
3. run basic programs AND return back to the program when they are finished? Everything I found goes to the homescreen.
4. run apps from the program? I really like how AxeSh (http://ourl.ca/17048) can run AxeParser from the program.
5. Run ion programs? Maybe with an opcode or something?

Thank you so much! :)
Title: Re: Ulimate Axe Shell
Post by: chickendude on October 05, 2013, 02:58:21 pm
To run ion programs you'll need to handle all calls to ion routines yourself. The routines jump to cmdShadow. I believe ion tacks the routines to the end of the program and puts the correct jumps in cmdShadow to go to the appropriate routine. Apps generally don't have to do that as they'll still be in ROM so you can load the code from the app. You'll probably need at least a little asm (at the very least the ion code) to add in ion support.
Title: Re: Ulimate Axe Shell
Post by: Turtle on October 05, 2013, 03:10:03 pm
Darn, I don't know any ASM... That was the least important though, can you help with anything else?
Title: Re: Ulimate Axe Shell
Post by: chickendude on October 05, 2013, 09:23:43 pm
I know there is a system call (BCALL) to check RAM (_MemChk (http://wikiti.brandonw.net/index.php?title=83Plus:BCALLs:42E5)), but i don't know anything about Axe. I don't know if you have access to them in Axe. I'm not sure how running apps would work, i don't know if you could just load in the first flash page of the app into $4000-$7FFF and jump to $4080? It might be more complicated than that but it seems like that'd work.

Looking here (http://ourl.ca/11347) it seems there's also a bcall to get free archive. I'm not sure about BASIC programs, i've never played with them. It's might a bit more complicated since your program will also be running from RAM.

Anyway, looking at AxeSh, it looks like Matrefeytontias used asm to do a few things (like opening up Axe).
Title: Re: Ulimate Axe Shell
Post by: Turtle on October 05, 2013, 10:47:34 pm
Thanks Chickendude, Runner's code looks like what I need. But how do I use it in Axe?
Title: Re: Ulimate Axe Shell
Post by: chickendude on October 06, 2013, 09:14:08 am
I couldn't say, you'll have to wait for someone else to tell you as i don't use Axe. You might have to compile it into an Axiom, but i don't know how that stuff works. Sorry :/
Title: Re: Ulimate Axe Shell
Post by: Streetwalrus on October 06, 2013, 02:28:11 pm
Well, if you have the opcode you can use Asm(opcode) to add the asm code to your Axe program. ;)
Title: Re: Ulimate Axe Shell
Post by: Turtle on October 06, 2013, 03:32:12 pm
 :D Oh yeah I didn't think of that, I know how to get the opcode
Title: Re: Ulimate Axe Shell
Post by: ClrDraw on October 19, 2013, 12:58:31 pm
That's similar to what I'm doing.

Quote
3. run basic programs AND return back to the program when they are finished? Everything I found goes to the homescreen.
4. run apps from the program? I really like how AxeSh (http://ourl.ca/17048) can run AxeParser from the program.

Does anyone know these?