home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 910 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

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