Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!elroy!brad From: brad@gobi.jpl.nasa.gov (Brad Pickering) Newsgroups: comp.sys.mac.programmer Subject: Re: System Error Handler Message-ID: Date: 17 Jun 91 15:36:40 GMT References: <54053@apple.Apple.COM> Sender: news@elroy.jpl.nasa.gov (Usenet) Distribution: comp Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 22 In-Reply-To: keith@Apple.COM's message of 16 Jun 91 21:55:55 GMT Nntp-Posting-Host: ais-gw.jpl.nasa.gov I've been experimenting with getting MacMINIX (see comp.os.minix) to boot straight from the floppy using as little help from the mac os as possible. The boot code from a floppy gets control before any of the high level managers (ie dialog manager) have been initialized. My code has been crashing a lot and I'm getting tired of the sad mac. I'd like to have something a little more descriptive like the error number for the reason of the crash. since my original post I have been able to get a simple alert (just text) to be displayed but I'd still like to talk to someone who knows the details of how the System Error handler works. My main question that remains is: what value is saved in DSErrCode? If I do SysError(1234) and there is no alert for error 1234 so the default alert is used, then does DSErrCode still contain 1234 or does it contain something else because the default alert is being used? My code gives me a value of zero but I'm not sure if the code that prints this value is wrong or if DSErrCode is actually 0. Any info would be appreciated. -- -- Brad Pickering brad@gobi.jpl.nasa.gov --