Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!elroy!brad From: brad@gobi.jpl.nasa.gov (Brad Pickering) Newsgroups: comp.os.minix Subject: MacMINIX, interrupts, and ACK register saving conventions Message-ID: Date: 28 May 91 21:21:21 GMT Sender: news@elroy.jpl.nasa.gov (Usenet) Distribution: comp Organization: Jet Propulsion Laboratory, Pasadena, CA Lines: 25 Nntp-Posting-Host: ais-gw.jpl.nasa.gov I've been reading through the source code for MacMINIX and I noticed that interrupt handlers for I/O completion don't do anything like a "save" to save the process context. This makes sense to me only if certain registers are not modified by the interrupt handler and if the same process that was running when the interrupt occured runs after the interrupt has been handled. The second condition seems to be true but I would like to be more convinced that the first condition is met. So my question is: what are the register saving conventions of ACK? Inside Mac says that you must preserve all registers other than a0,a1 and d0-d2. On another note: I will be slowly working to modify MINIX to remove its dependence on the Mac OS. If anybody would like to talk about how this might be done please contact me. So far I have been experimenting with booting from a floppy before the Mac OS takes full control. I am working on a mac II so I think most of the resources that I need are in ROM so there should be no need to have a System File. -- -- Brad Pickering brad@gobi.jpl.nasa.gov --