English Amiga Board

Go Back   English Amiga Board > Support > support.WinUAE

Thread Tools
Old 29 April 2019, 13:55   #1
Registered User

Seiya's Avatar
Join Date: Nov 2014
Location: Italy
Posts: 974
68000 and 68881

just a curiosity about floating point with 68000.
i read that this processor had a emulation logique so, in theory, it can run floating point software without use real 68881 unit.
Are three some old fpu OCS software that work with 68000? As i said, just curiosity.
Seiya is online now  
Old 29 April 2019, 14:13   #2
Thomas Richter
Registered User
Join Date: Jan 2019
Location: Germany
Posts: 275
If you call "implementing floating point algorithms with integer logic" an "emulation logic", then even a 6502 has a "emulation logic" so it can run floating point giving the same results as a 68881. But this is not a miracle, this is just "implementing an algorithm".

So, the 68000 is in no way special - the mathieee libraries of the operating system just do that, use software to implement floating point.

Other than that, one can, in principle, also address the registers of a 68881/882 as IO-registers and by that run a 68881/882 FPU as an I/O extension of a 68000. That is neither special to the 68000. It is just slow because the 68000 does not have a coprocessor interface, and thus has to make all communications with the FPU by hand. The mathieee libraries up to release V37 supported that by means of the mathieeee.resource, but this was a fairly slow I/O bound process, so it was not very effective and about the same speed as computing the result "by hand" in the 68000.
Thomas Richter is offline  
Old 29 April 2019, 14:20   #3
Registered User

Join Date: Jul 2015
Location: The Netherlands
Posts: 1,364
To be fair, the 68000 (and up) do have line-F and line-A exception vectors that allow it to catch unimplemented FPU (or other co-processor) instructions and seamlessly execute the software emulation equivalent.

Properly used, this essentially allows even the 68000 to execute software that assumes a 68881 or 68882 is present (but not actually installed).

AFAIK FPU emulators like this did exist for the Mac, not sure about the Amiga though.
Edit: here is the Mac example I was referring to: https://www.macintoshrepository.org/...oftwarefpu-3-x

Last edited by roondar; 29 April 2019 at 14:29.
roondar is offline  
Old 29 April 2019, 20:59   #4
Registered User

Seiya's Avatar
Join Date: Nov 2014
Location: Italy
Posts: 974
thanks for yours informations
Seiya is online now  

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
68881 FPU FMOVECR test Toni Wilen Amiga scene 3 06 August 2017 13:05
Considering replacing 68881 with 68882 B14ck W01f support.Hardware 16 24 July 2016 08:01
Maths library for 68881? allanmb Amiga scene 3 29 September 2015 10:59
68881 Fpu Lord Aga support.Hardware 2 18 November 2011 22:49
ELSA E1208+8mb+copro 68881 frikilokooo support.Hardware 13 27 September 2007 22:13

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 16:30.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Page generated in 0.06383 seconds with 13 queries