Xref: utzoo comp.sys.mac.misc:6905 comp.sys.mac.hardware:7442 Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!usc!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!liuida!isy!ingemar From: ingemar@isy.liu.se (Ingemar Ragnemalm) Newsgroups: comp.sys.mac.misc,comp.sys.mac.hardware Subject: Re: Using the Programmer's Switch (none on LC and IIsi???) Keywords: crash 'n restart Message-ID: Date: 19 Dec 90 15:05:27 GMT References: <1053@sppy00.UUCP> <1990Dec18.052752.8420@cs.umn.edu> Sender: news@isy.liu.se (Lord of the News) Organization: Dept of EE, University of Linkoping Lines: 45 aslakson@cs.umn.edu (Brian Aslakson) writes: >glf@sppy00.UUCP (Hill) writes about the programmer's switch: >>I know that pushing it gets me the window with a > in the upper left >>corner and I know that there's SOMETHING I can type there to make the >>finder or some other application active, but I don't know what that >>something is. >>I don't have any debuggers or any such toys, so if it isn't built in, >>I can't use it (unless I can ftp it). Anyone have a list of things I >>can do from this window? >I'd like to see a list too, but for now I can add this (which I just >found today): > SM 0 A9F4 > G 0 >Which is supposed to get you back to the app so that you can save before >restarting. >Sometimes I can get back to the finder with just: > G >A9F4 is a trap, and G 0 means start executing at memory location 0, I believe. At MacPlus and SE, I use the A9F4 trick all the time, but why doesn't this seem to work on a Mac II? Also, CrashSaver, the nice little INIT that makes the interrupt button return you to Finder (great emergency exit from home-developed programs!) doesn't seem to work with MacII. Is there a good substitute? (I think it is my *right* to kill a process if I want to. If a program hangs and I know what I'm doing, I don't want to reboot the machine.) And, isn't it possible to get a programmer's switch for LC or IIsi? My dealer say it isn't. Can the "Pkey INIT" help me out? (I don't have access to any LC or IIsi to try it on at the moment.) (In case you didn't know, Pkey is a nice little INIT that turns the start button in the corner of the keyboard into an interrupt switch.) -- Ingemar Ragnemalm Dept. of Electrical Engineering ...!uunet!mcvax!enea!rainier!ingemar .. University of Linkoping, Sweden ingemar@isy.liu.se