Hello
I am following a few the forum about Vampire that is fast but dont have (yet) 68881 fpu support for legacy softwares
And I was asking myself "How difficult would it be to code a soft fpu emulation"
(slow but that will allow to run NOW the legacy apps)
I mean something that "trap" the fpu calls to a software
emulation written in C
So it seems there are 2 starting points:
1)Acopro: That dont seems to be complete (?) but contain UAE code for soft fpu
http://aminet.net/package/util/misc/acopro2)shoebill: a mac emulator that contain a soft fpu implementation supposed to works well enough to run a mac
https://github.com/pruten/shoebill/tree/master/core/SoftFloatSo the question is how to glue all that to the Amiga "traps" system ?
based on this
http://wiki.amigaos.net/wiki/Exec_Tasksit will need some kind of code like this (example for zero division trap)
http://amigadev.elowar.com/read/ADCD_ ... anual_guide/node0591.htmlBut this code only trap ONE task so how to apply this patch to the whole OS ?
Also how to glue this TrapCode <-> Fpu emulation code
Many questions... for a trap & fpu domain that I dont know ...
Alain Thellier