So.. I couldn't resist :lol:Badwolf wrote: 28 Jun 2022 13:47 If only we knew someone a dab hand with a bit of assembly, eh, @agranlund?
Here's a software FPU emulator for Atari:
http://www.happydaze.se/wp-content/uplo ... /fpemu.zip
It's impressively slow and I have no idea how accurate it is.
The core is lifted from NetBSD, with a bunch of modifications to make it work on TOS.
Should work on 68000 up to 68030 for now. I'll need to add some additional code for 68040+ stack frames
Anyone have any good suggestions for programs I could test this thing with?
My Atari gets a score of 1% compared to a TT with real FPU :lol:
You're not really going to want to be running things that makes heavy use of an FPU but I think it can still be useful for easier stuff?
Especially considering most things compiled for 68020-60 and against Mintlib requires an FPU no matter if the program actually use it or not..
And nope, it doesn't work with BasiliskII.
Or rather, the original TOS LineF handler is only active in the TOS context of the emulator and not in the Mac one.
I'll figure something out eventually, either have it detect the presence of FPU emulators or just build it right into Basilisk..
