🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.mac
Article #7574

Fixing games that reboot

#7574
From: David Phillip Oster
Date: Fri, 10 Oct 1986 17:27
17 lines
1517 bytes
Games reboot the machines in one of two ways on the Mac:
either by a Motorola 68000 
	RESET instruction ;the hex for this is 4E70
or via a 
	JMP.L $40000A .;this latter is what apple recommends programs do
Remember that you can jump to 40000A using many addressing modes.
You can fix the rebooting by searching for the offending bytes,
disassembling a little bit around them to make sure your right, and
replacing the RESET or the JMP opcode  by $A9F4, 
(The Mac instruction ExitToShell, the approved program _exit() routine.)
FEDIT is a good tool for finding and fixing the problem.  

	Always work on a copy, don't risk screwing up either your master
disk or your hard disk until you're sure the fix works.

	Note: Many games, among them GridWars, screw up the environment,
so that even if you quit, you can't safely do anything BUT reboot.
Technical Details
Message-ID: <1430@jade.BERKELEY.EDU>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!cmcl2!yale!husc6!think!nike!ucbcad!ucbvax!jade!lapis!oster
References: <7923@sun.uucp> <8012@sun.uucp>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!cmcl2!yale!husc6!think!nike!ucbcad!ucbvax!jade!lapis!oster
From: oster@lapis.berkeley.edu (David Phillip Oster)
Newsgroups: net.micro.mac
Subject: Fixing games that reboot
Message-ID: <1430@jade.BERKELEY.EDU>
Date: Fri, 10-Oct-86 13:27:58 EDT
Article-I.D.: jade.1430
Posted: Fri Oct 10 13:27:58 1986
Date-Received: Sat, 11-Oct-86 21:24:37 EDT
References: <7923@sun.uucp> <8012@sun.uucp>
Sender: usenet@jade.BERKELEY.EDU
Reply-To: oster@lapis.berkeley.edu.UUCP (David Phillip Oster)
Distribution: net
Organization: University of California, Berkeley
Lines: 17