cshum@tornado.Berkeley.EDU (Chung H. Shum) (02/20/90)
I would like to know if there is any way to make AppleWorks execute another SYS file when I exit the program. I found a MLI quit call in the SEG.AW file that lives at $4924 on my system, but it doesn't seem to point to a valid quit call parameter table. There is a parm table a few bytes after the quit call, but it isn't the one that the quit call refers to (it's a 04 00 00 00 00 00 00 sequence). What I want to do is execute a short program that shuts off the TextTime CDA before returning to ProSel (I've already figured out a way to turn on TextTime after launching AppleWorks from ProSel, and I need to do the reverse). Changing around the bytes in the parm table I found (like making the second byte $EE) did nothing, so I suppose I'm not in the right place. I'm using AppleWorks 3.0. Thanks for the help. cshum@ocf.berkeley.edu
dlyons@Apple.COM (David A. Lyons) (02/20/90)
In article <1990Feb20.061336.24967@agate.berkeley.edu> cshum@tornado.Berkeley.EDU (Chung H. Shum) writes: >I would like to know if there is any way to make AppleWorks execute another SYS >file when I exit the program. I found a MLI quit call in the SEG.AW file that >lives at $4924 on my system, but it doesn't seem to point to a valid quit call >parameter table. The parameter table you found is probably the right one--consider that the code you found may be moved somewhere else before it actually gets executed. >[...] Changing around the bytes in the parm table I found (like making the >second byte $EE) did nothing, so I suppose I'm not in the right place. Remember that the enhanced QUIT call under ProDOS 8 is implemented only for the GS, when GS/OS has been booted. -- David A. Lyons, Apple Computer, Inc. | DAL Systems Apple II Developer Technical Support | P.O. Box 875 America Online: Dave Lyons | Cupertino, CA 95015-0875 GEnie: D.LYONS2 or DAVE.LYONS CompuServe: 72177,3233 Internet/BITNET: dlyons@apple.com UUCP: ...!ames!apple!dlyons My opinions are my own, not Apple's.
daveharv@pro-novapple.cts.com (Dave Harvey) (02/25/90)
In-Reply-To: message from cshum@tornado.Berkeley.EDU > I would like to know if there is any way to make AppleWorks execute another SYS > file when I exit the program. I found a MLI quit call in the SEG.AW file that You could use one of the Timeout series, called PowerPack. It allows you to run a program within AW and to either return back to AW or not. proline: pro-novapple!daveharv | uucp: crash!pnet01!pro-novapple!daveharv | Pro-novapple BBS arpa: crash!pnet01!pro-novapple!daveharv@nosc.mil | 300/1200/2400 Baud Internet: daveharv@pro-novapple.cts.com | 703-671-0415 | Northern Virginia Apple Users Group | P.O. Box 8211, Falls Church, VA 22041 |