🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.mac
Article #1264

Re: Software Reset

#1264
From: Darin Adler
Date: Fri, 03 May 1985 02:44
18 lines
1235 bytes
> 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
Technical Details
Message-ID: <186@tmq.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!ihnp4!tmq!darin
References: <219@tektools.UUCP>

Show Full Headers
Complete Article Headers
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: arc1-ca.pugleaf.net!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