Author Topic: i need help really badly  (Read 6978 times)

0 Members and 1 Guest are viewing this topic.

Offline spud2451

  • LV2 Member (Next: 40)
  • **
  • Posts: 39
  • Rating: +3/-3
  • Life is simple, but we make it complicated ~conf.
    • View Profile
    • Red Rock Creative [Free Custom Websites]
i need help really badly
« 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

 :( :( :( 

Ashbad

  • Guest
Re: i need help really badly
« Reply #1 on: August 12, 2011, 05:14:48 pm »
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.

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: i need help really badly
« Reply #2 on: August 12, 2011, 05:23:45 pm »
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.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline spud2451

  • LV2 Member (Next: 40)
  • **
  • Posts: 39
  • Rating: +3/-3
  • Life is simple, but we make it complicated ~conf.
    • View Profile
    • Red Rock Creative [Free Custom Websites]
Re: i need help really badly
« Reply #3 on: August 12, 2011, 05:26:11 pm »
i have celtic III but i cant find a good tutorial on it so i don't know
anything about it

Offline spud2451

  • LV2 Member (Next: 40)
  • **
  • Posts: 39
  • Rating: +3/-3
  • Life is simple, but we make it complicated ~conf.
    • View Profile
    • Red Rock Creative [Free Custom Websites]
Re: i need help really badly
« Reply #4 on: August 12, 2011, 06:11:57 pm »
Can someone please help me find a good tutorial on Celtic III

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: i need help really badly
« Reply #5 on: August 12, 2011, 06:18:03 pm »
First, please don't double post. Doing so is against the forum rules.
Quote from: The 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.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline spud2451

  • LV2 Member (Next: 40)
  • **
  • Posts: 39
  • Rating: +3/-3
  • Life is simple, but we make it complicated ~conf.
    • View Profile
    • Red Rock Creative [Free Custom Websites]
Re: i need help really badly
« Reply #6 on: August 12, 2011, 06:27:27 pm »
all i need is a general tutorial

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: i need help really badly
« Reply #7 on: August 12, 2011, 06:39:15 pm »
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.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline spud2451

  • LV2 Member (Next: 40)
  • **
  • Posts: 39
  • Rating: +3/-3
  • Life is simple, but we make it complicated ~conf.
    • View Profile
    • Red Rock Creative [Free Custom Websites]
Re: i need help really badly
« Reply #8 on: August 12, 2011, 06:57:54 pm »
thanks

Offline spud2451

  • LV2 Member (Next: 40)
  • **
  • Posts: 39
  • Rating: +3/-3
  • Life is simple, but we make it complicated ~conf.
    • View Profile
    • Red Rock Creative [Free Custom Websites]
Re: i need help really badly
« Reply #9 on: August 12, 2011, 08:59:40 pm »
 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
« Last Edit: August 12, 2011, 09:03:50 pm by spud2451 »

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: i need help really badly
« Reply #10 on: August 12, 2011, 09:20:08 pm »
Here's a quick bit of code I whipped up:
Code: [Select]
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.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline spud2451

  • LV2 Member (Next: 40)
  • **
  • Posts: 39
  • Rating: +3/-3
  • Life is simple, but we make it complicated ~conf.
    • View Profile
    • Red Rock Creative [Free Custom Websites]
Re: i need help really badly
« Reply #11 on: August 13, 2011, 07:39:02 am »
thanks so much for helping

Offline mrmprog

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 559
  • Rating: +35/-1
    • View Profile
Re: i need help really badly
« Reply #12 on: August 13, 2011, 10:32:03 am »
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.

Offline spud2451

  • LV2 Member (Next: 40)
  • **
  • Posts: 39
  • Rating: +3/-3
  • Life is simple, but we make it complicated ~conf.
    • View Profile
    • Red Rock Creative [Free Custom Websites]
Re: i need help really badly
« Reply #13 on: August 13, 2011, 05:33:30 pm »
can any one tell me how to make all the programs show up in a ti basic menu

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: i need help really badly
« Reply #14 on: August 13, 2011, 06:57:52 pm »
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.
« Last Edit: August 13, 2011, 06:58:48 pm by t0xic_kitt3n »