[comp.sys.mac.programmer] Interrupt Switch

jas@cadre.dsl.PITTSBURGH.EDU (Jeffrey A. Sullivan) (03/29/88)

What is the use of the Interrupt(prrogrammer's) switch if yuo have a Mac II
without the new Macsbug and without a debugger?  Where are the things you can do with the interrupt box documented?


-- 
..........................................................................
Jeffrey Sullivan			  | University of Pittsburgh
jas@cadre.dsl.pittsburgh.edu		  | Intelligent Systems Studies Program
jasper@PittVMS.BITNET, jasst3@cisunx.UUCP | Graduate Student

dplatt@coherent.com (Dave Platt) (04/01/88)

Here's one sequence that you can enter in the Mac's ROM minidebugger
window that can be quite useful:

	SM 0 A9F4
	G 0

This stores an _ExitToShell trap into location 0 and branches to it;
it'll usually get you out of a hung application and back to the Finder.

If there's a chance that the hung application left files open, you should
then perform a Restart, to give the system a chance to close the open
files.  Doing the Restart from the Finder is often preferable to
simply rebooting, as the Restart process unmounts all of your disk volumes,
and saves you the long "check the disk and make sure it's OK" wait
during the smiling-Mac phase of the reboot.


-- 

Dave Platt
  UUCP: ...!{ames,sun,uunet}!coherent!dplatt     DOMAIN: dplatt@coherent.com
    INTERNET: coherent!dplatt@ames.arpa, ...@sun.com, ...@uunet.uu.net