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

  1. Path: jojo.IN-Berlin.DE!not-for-mail
  2. Newsgroups: comp.sys.amiga.programmer
  3. References: <4ipcd9$24l@sun1000.pwr.wroc.pl> <19960320.3FE920.11D7C@ao091.du.pipex.com> <66095638@jojo.IN-Berlin.DE> <4itm4i$28d@serpens.rhein.de>
  4. From: "Bernhard Graf" <graf@jojo.IN-Berlin.DE>
  5. Date: Sun, 24 Mar 1996 08:15:09 +0100
  6. X-NewsReader: IntuiNews 1.3a (7.9.95)
  7. Subject: Re: COPROCESSOR EMULATOR..
  8. Message-ID: <66095651@jojo.IN-Berlin.DE>
  9.  
  10. In article <4itm4i$28d@serpens.rhein.de>: "Re: COPROCESSOR EMULATOR.."
  11. Michael van Elst <mlelstv@serpens.rhein.de> wrote:
  12.  
  13. MvE> "Bernhard Graf" <graf@jojo.IN-Berlin.DE> writes:
  14. MvE> 
  15. MvE> >Remember that for every task switch you have to store ALL registers of
  16. MvE> >the old task and restore ALL registers for the next active task.
  17. MvE> 
  18. MvE> That's what the mathieee libraries have to solve for non-standard
  19. MvE> coprocessors. They hook into the tasks's dispatch vectors.
  20.  
  21. If a task is interupted by the MT-dispatcher while running through a
  22. mathieee-library-routine, it also has to store only this tasks
  23. FPU-registers and reload them, when regaining processor-control.
  24. Those non-standard FPU-registers are not defined after leaving the
  25. ieee-library-routine.
  26. This is an easy programming task, if you know, how to hook into the
  27. dispatcher.
  28. The ieee-libraries are no FPU-emulators (see also note in the last
  29. paragraph of my posting).
  30.  
  31. I am still convinced that a FPU-emulator under Amiga-OS is only
  32. possible, if you start it at boot-time before multitasking is running.
  33.  
  34. Btw. Many years ago a friend told me that on a PC when you were leaving 
  35. a program written in TurboPascal and compiled with internal FPU-emulator
  36. option without reloading after execution (kind of making it resident --
  37. I don't how this is done under MS-DOS), this TP-internal emulator
  38. was behaving also properly as a system global FPU emulator.
  39. This feature was not documented in the TP handbooks.
  40.  
  41.  
  42. Ciao
  43. --
  44. Bernhard Graf
  45. mail graf@jojo.IN-Berlin.DE
  46.      graffbgd@sp.zrz.TU-Berlin.DE
  47.