Mail Archives: djgpp/1997/05/17/07:48:31
> Or is there any way for me to simulate the software FPU even when
> I have a 486 DX?
SET 387=n
> And to your problem with the exception. As far as I understand
> the software FP software, it works by generating an exception
> for any floating point code. Since it is under DJGPP not possible
> (I don't know if this will fixed in the future) to debug programs
> which use exceptions, you have really a problem when you try to debug
> a program which uses the software FP code.
It's even worse than that - the FPU emulator doesn't understand "far"
so can't live in a separate CS/DS/SS very well, and it doesn't emulate
debug flags at all. WMEMU fixes some, but not all, of these problems.
> And at last: If there is someone who can tell me, how I can
> simulate this situation on a processor, which has the FP unit
> on it, I would do my best to fix that problem.
It's a very complex problem which needs a lot of hacking. While it's not
a nice thing to do - DJGPP does not support DEVELOPMENT of FPU code on a
non-FPU box. It is run-time FPU emulation only. Sorry. With FPUs being
essentially free, its impossible to justify spending any time on this.
- Raw text -