[comp.sys.apple2] Launching programs

meekins@CIS.OHIO-STATE.EDU (timothy lee meekins) (03/09/91)

[This is in reply to the article asking about launching programs]
 
The IIgs Toolbox is not responsible for launching, but GS/OS and ProDOS 16
are. Launching an application is about 10 times easier to do than you probably
ever imagined.
 
Make the GS/OS quit call. Instead of having parameters of 0, set the 
parameter count to 1, and the set next entry in the parameter to point to the
filename of the application to launch. That's it.
 
If you set the paramter count to 2, though, you can also set a flag which
controls the launching.
 
bit 15: =1 if you want to return to the launcher after the application quits.
bit 14: =1 if your launching program can be restarted from memory.
bit 13: =0 sets prefixes 10-12 to .CONSOLE.
 
Launching Applesoft is a whole other story. Leave me e-mail on doing this.
 
BTW, I wrote Z-Launch, a shareware program launcher.
 
+---------------------------S-U-P-P-O-R-T-----------------------------------+
|/ Tim Meekins                  <<>> Snail Mail:           <<>>  Apple II  \|
|>   meekins@cis.ohio-state.edu <<>>   8372 Morris Rd.     <<>>  Forever!  <|
|\   timm@pro-tcc.cts.com       <<>>   Hilliard, OH 43026  <<>>            /|
+-------------------------S-H-A-R-E-W-A-R-E-!-------------------------------+