Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: necro on January 04, 2006, 04:50:00 pm

Title: An Xlib Shell in basic?
Post by: necro on January 04, 2006, 04:50:00 pm
c1-->
CODE
ec1
:1
:real(0
:If not(Ans
:Then
:ClrHome
:Disp "PLEASE INSTAL XLIB BEFORE TRYING TO RUN THIS GAME
:Pause
:End
:If not(Ans
:Stop
c2
ec2
This will atoumaticaly exit if anyone does not have xlib, as real(0 will change asn if it is not intercepted by the parser. :twisted:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
well, since tr1p1ea has no plans to make xlib a full on shell, what if some one made a basic shell to run xlib games and make it so that if your ram ressets, all you do is ungroup the shell again and your set?

How?  Well, one program to recal a string listing every program made and use it to list which programs are available (with out cluttering up the menu with sub programs) in a menu and give you options to delete them, as well as a asm program to update the  list that is initialised by a simple installer run outside of the shell.  To install a game, you would unarchive the installer, and running it would have it test wether xlib is installed or not install, if not it exits and informs the owner they need xlib.  Other wise, it loads that string and it adds it self to the list, stores it back to string, and uses the shells asm program to update the list program.
Sooo...*denotes archived

In the Shell: Initialiser,Shell Menu*,Shell list program*,Shell updater (asm)*

In the Game: Instaler,Main game*,all sub programs*
http://joepnet.com/hosted/maxcoderz/phpBB2/viewtopic.php?t=1411&sid=d0a3df2641f22eceb214fb4493eddc76
Title: An Xlib Shell in basic?
Post by: BCTurk on January 04, 2006, 05:39:00 pm
I might be up to the challenge, but my question is is this supposed to be a shell written in BASIC, because some of the features seem to be unobtainible.
Title: An Xlib Shell in basic?
Post by: dysfunction on January 05, 2006, 01:17:00 am
How do you get a string of all programs in BASIC?
Title: An Xlib Shell in basic?
Post by: Spellshaper on January 05, 2006, 01:22:00 am
I think there is a Asmprgm at ticalc.org that does that... *searches*
Title: An Xlib Shell in basic?
Post by: necro on January 05, 2006, 07:57:00 pm
Or you could write an asm progy to do just that...or tr1p might add the function needed to xlib (if not, oh well)
Title: An Xlib Shell in basic?
Post by: dysfunction on January 05, 2006, 07:59:00 pm
I doubt tr1p would add that to xLib... he said himself that he's getting tired of coding it for the moment.
Title: An Xlib Shell in basic?
Post by: dragon__lance on January 06, 2006, 02:16:00 pm
seems kinda pointless, the only time i see it being useful is installing HUGE files like XLibman's RPG's. The check for xlib installation is very interesting though...
Title: An Xlib Shell in basic?
Post by: DJ Omnimaga on January 06, 2006, 02:34:00 pm
we just need to include that code in our games
Title: An Xlib Shell in basic?
Post by: Spellshaper on January 07, 2006, 01:08:00 am
QuoteBegin-xlibman+7 January 2006, 2:34-->
QUOTE (xlibman @ 7 January 2006, 2:34)
we just need to include that code in our games  

 already done months ago :)smile.gif
Title: An Xlib Shell in basic?
Post by: DJ Omnimaga on January 07, 2006, 02:20:00 am
yeah at first I was curious about how you did that but never got around asking :)smile.gif
Title: An Xlib Shell in basic?
Post by: DJ Omnimaga on January 14, 2006, 09:50:00 am
moved