home *** CD-ROM | disk | FTP | other *** search
- Path: soap.news.pipex.net!pipex!usenet
- From: m.hendry@dial.pipex.com (Mathew Hendry)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: FPU emulation
- Date: Fri, 12 Jan 96 20:38:29
- Organization: Private node.
- Distribution: world
- Message-ID: <19960112.4B7908.127ED@al071.du.pipex.com>
- References: <4d3mo2$3vf@nz12.rz.uni-karlsruhe.de>
- NNTP-Posting-Host: al071.du.pipex.com
- X-Newsreader: TIN [AMIGA 1.3 950726BETA PL0]
-
- Martin Gierich (uj3w@rzstud1.rz.uni-karlsruhe.de) wrote:
- : There are some programs that insist of having a FPU ...
- :
- : It should be possible to emulate the FPU with an exeption handler
- : using the standard libraries like mathieeedoubbas.library.
- :
- : I could not find something like this on Aminet. Does anybody know
- : of the existence of such an emulator ?
-
- I have heard that such a program exists but, like you, have been unable to
- find it anywhere (not that I have any use for such a thing :). But there is,
- on Aminet:
-
- Run68017.lzh util/misc 34K 152+Runtime emulation of 30 68020 instrs.
-
- which uses a similar technique to emulate some 68020+ instructions and
- addressing modes on 680[0-1]0, by trapping illegal instruction and illegal
- address exceptions. I believe 68040 machines likewise use an exception handler
- to emulate '881/882 FPU instructions which were not implemented on the 68040.
-
- Run68017 includes source, so I suppose it could be hacked around a bit to
- produce an FPU emulator like you describe. It would be pretty damned slow,
- though ;)
-
- -- Mat.
-