home *** CD-ROM | disk | FTP | other *** search
- Path: comma.rhein.de!serpens!not-for-mail
- From: mlelstv@serpens.rhein.de (Michael van Elst)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: FPU: What am I doing wrong???
- Date: 22 Mar 1996 13:34:48 +0100
- Organization: dis-
- Message-ID: <4iu6p8$3dt@serpens.rhein.de>
- References: <4ikpqk$ds@serpens.rhein.de> <42116663@phoenix.owl.de>
- NNTP-Posting-Host: serpens.rhein.de
-
- "Frank Wille" <frank@phoenix.owl.de> writes:
-
- > Does Amiga OS support accessing the FPU in interrupts?
-
- Well, sure. But obviously have to save its state in your
- interrupt routine the same way that you have to save the
- CPU registers.
-
- >task. But what about interrupts? I can't remember that the FPU
- >state is saved by the OS before entering an interrupt handler.
-
- It isn't. But most of the CPU registers aren't either.
-
- >So maybe the interrupt routine using the FPU should look like this?
- > fsave -(sp)
- [...]
- > frestore (sp)+
-
- Correct.
- --
- Michael van Elst
-
- Internet: mlelstv@serpens.rhein.de
- "A potential Snark may lurk in every tree."
-