Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!usc!apple!dlyons From: dlyons@Apple.COM (David A. Lyons) Newsgroups: comp.sys.apple Subject: Re: Ending a SYS file Message-ID: <38725@apple.Apple.COM> Date: 18 Feb 90 07:19:56 GMT References: <90044.234706ART100@psuvm.psu.edu> <22086@pasteur.Berkeley.EDU> <13228@fs2.NISC.SRI.COM> <1990Feb16.045044.4162@ux1.cso.uiuc.edu> Organization: Apple Computer Inc, Cupertino, CA Lines: 24 In article <1990Feb16.045044.4162@ux1.cso.uiuc.edu> cs122aw@ux1.cso.uiuc.edu (Scott Alfter) writes: [in the ProDOS 8 QUIT command] >You'd better throw six zeros after the "HEX 04" command. Apple ain't using >them now, but they might in the future. (BTW, I thought it was four zeros, >but I've gotten mail since that says to use six.) In a limited way, the parameters *are* currently used. If the first one-byte parameter is $EE, then the Quit is an "enhanced" quit call, and the next (2-byte) parameter points to the pathname of an application to launch. The enhanced quit call is currently implemented only when GS/OS has been booted (and therefore only on a GS). The application to be launched can be a SYS, S16, or EXE file. The high bits of the characters in the name *are* important (they should normally be off, as for all ProDOS pathnames). -- 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.