Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site tmq.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!ihnp4!tmq!darin From: darin@tmq.UUCP (Darin Adler) Newsgroups: net.micro.mac Subject: Re: Software Reset Message-ID: <186@tmq.UUCP> Date: Thu, 2-May-85 22:44:41 EDT Article-I.D.: tmq.186 Posted: Thu May 2 22:44:41 1985 Date-Received: Sat, 4-May-85 01:46:13 EDT References: <219@tektools.UUCP> Distribution: net Organization: tmq/ICOM Buffalo Grove, IL Lines: 18 > I have the Manx C compiler, and am wondering how, in software, to cause my Mac > to do a reset...to beep and act as if I had just turned it on. I know it > is possible, I just can't find in in my copy of "Inside Macintosh" > Inside Mac does NOT have the solution. In the recent versions of the Software Supplement, there is a Restart procedure that does just what you want. To use this method from 68000 ML this is the necessary magic code: MOVE.L ROMStart,A0 ; (ROMStart=$2AE) ADD.W #10,A0 ; (decimal 10, hex $A) JMP (A0) Since it is OK'd by Apple, I assume this code will work on all existing and future "Macintoshes" including the XL. Darin Adler ihnp4!tmq!darin