Page 1 of 1

Implement FPU for minimig

Posted: Tue Jun 18, 2024 1:40 am
by xboxown

Hello,

I have just one question to ask. How difficult would it be to implement FPU into miniming core? How come such feature were not implemented already?


Re: Implement FPU for minimig

Posted: Tue Jun 18, 2024 6:21 am
by Solskogen

Hard, but not impossible.
Because nobody has made it yet. Are you up for the task?


Re: Implement FPU for minimig

Posted: Tue Jun 18, 2024 6:26 am
by FPGA64

Its probably better to spend time getting the core cycle accurate. Its Aga timings arre not great.


Re: Implement FPU for minimig

Posted: Tue Jun 25, 2024 11:41 pm
by kolla
xboxown wrote: Tue Jun 18, 2024 1:40 am

Hello,

I have just one question to ask. How difficult would it be to implement FPU into miniming core? How come such feature were not implemented already?

Implementing a sort of FPU wouldn’t be so hard, but implementing an feature complete 040 FPU or better yet a full featured 68882 is another story. The main problem (once functions are implemented) is precision. For some software, like probably most games (quake) lower precision is good enough, but for other software that expenct and depend on full 80 bit precision, you end up with rounding errors which in worst case can cause crashes. Only rather recently the apollo core 68080 on V2 cards got good enough precision to that 5 * 1.3 is 6.5 and not 6.4999999… for example.