Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uwm.edu!lll-winken!elroy.jpl.nasa.gov!decwrl!ucbvax!NISC.SRI.COM!cwilson From: cwilson@NISC.SRI.COM (Chan Wilson) Newsgroups: comp.sys.apple Subject: Re: Ending a SYS file Message-ID: <13228@fs2.NISC.SRI.COM> Date: 15 Feb 90 03:33:32 GMT References: <90044.234706ART100@psuvm.psu.edu> <22086@pasteur.Berkeley.EDU> Reply-To: cwilson@NISC.SRI.COM (Chan Wilson) Organization: Network Info Systems Ctr., SRI Intl., Menlo Park, CA. Lines: 35 In article <22086@pasteur.Berkeley.EDU> fadden@cory.Berkeley.EDU.UUCP (Andy McFadden) writes: >In article <90044.234706ART100@psuvm.psu.edu> ART100@psuvm.psu.edu (Andy Tefft) writes: >[snip] >>I need to know how to end the thing. The simplest way to code would >>be to do a prodos bye, but the simplest way to use would be if it >>could just go ahead and execute another system file (which i will know, >>of course, and be able to assemble in there). How can I do either of >>these? > >Executing a ProDOS bye: >1) Call the MLI "bye" command. (sorry :-) ) >[ 300:20 0 bf 4 65 0 0 0 0 n300g ...I think... ] Close, but no cigar. Try 800:20 0 bf 65 6 8 4 n 800g Disassembly: 800:20 00 BF Jsr $BF00 (MLI) 803:65 Hex 65 (quit code for P8) 804:06 08 Da $0806 (parm table) 806:04 Hex 04 (# of Paramters) (don't need any paramaters for a Q&D quit) >>Andy Tefft art100@psuvm.psu.edu >fadden@cory.berkeley.edu (Andy McFadden) --Chan ................ Chan Wilson -- cwilson@nisc.sri.com radius!cwilson@apple.com Janitor/Architect of comp.binaries.apple2 archive on wuarchive.wustl.edu I don't speak for SRI, someone else does. ................