Omnimaga
Calculator Community => TI Calculators => General Calculator Help => Topic started by: spud2451 on August 12, 2011, 04:42:04 pm
-
so i'm making a shell and i want to figure out how to make
it list all of my programs but the problem is that i want to make it all in ti basic and xlib
can some one tell me how to do this or at least post a link
:( :( :(
-
Well, what type of a shell? In pure Basic (or even hybrid basic with only xLib), listing programs arbitrarily (so, like external programs like MirageOS or DCS does) will be a problem. However, if you just want to show things like built in programs, then that's simple.
For the former, I suggest reading a full tutorial about Assembly, since if you're going to make a shell like that you'll need at the very least an intermediate understanding of assembly and how the VAT and OS works at a much lower level than BASIC provides. If the latter, then you're in business, feel free to ask any BASIC-related questions here.
-
If you want to go with a Hybrid BASIC approach, I would suggest using Celtic III. It has commands for listing programs and dealing with their content, etc. It also has decent xLib compatibility.
-
i have celtic III but i cant find a good tutorial on it so i don't know
anything about it
-
Can someone please help me find a good tutorial on Celtic III
-
First, please don't double post. Doing so is against the forum rules.
4: The only time double-posting is allowed (posting two messages in a row in the same topic) is either if there has been 6 hours since your last post, 3 hours if your thread has been bumped out of the New Posts page, 1 hour if it's a project update or immediately if you need to upload more than 10 file attachments at once. Otherwise, update the last post using the "EDIT" button. It will be marked as unread for all members (altough it won't bump the thread).
What kind of a tutorial are you looking for for Celtic?
The readme provided with the program is fairly comprehensive and should explain the commands. If you have a question about a specific command, try asking for clarification or help with that command.
-
all i need is a general tutorial
-
In that case, I believe the readme would cover it well. I don't believe there are tutorials made specifically for general Celtic III stuff like there are for xLib. Its usage is similar to xLib's, the major difference is the commands and what they do.
-
thanks
-
i still need help with something else...
i can make it diplay the programs but
it lists them all on one line
so how can i make it so it displays them
all on different lines
ps. i'm using the det(32 command also known as the GETPROGLIST command
-
Here's a quick bit of code I whipped up:
det(32,"A"->Str1
1->Y
inString(Str1," ",Y)->Z
While Z
Disp sub(Str1,Y,Z-Y
Z+1->Y
inString(Str1," ",Y)->Z
End
Pause
It should list through all the programs in the retrieved search string and display each name on a separate line.
-
thanks so much for helping
-
If you are interested, I wrote a shell in BASIC a while ago. It used two of Xeda's opcodes to list programs, and execute them with some major string manipulation. It could run archived programs and no shell asm programs. Let me know if you are interested.
-
can any one tell me how to make all the programs show up in a ti basic menu
-
You would use the commands in celtic to get the program names, and then use the menu function with the names converted into strings, and you have your menu.
Also, please do not double post, if you have something else to say, modify your latest post and add it in.