Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wolfenstein 3D geometry issues on BII with FPU on but not on Sheepshaver #265

Open
maxdlpee opened this issue Feb 7, 2025 · 2 comments
Open

Comments

@maxdlpee
Copy link

maxdlpee commented Feb 7, 2025

It's a long-standing bug, first reported on the Emaculation forums in 2015, byproduct of inaccuracies on the FPU emulation that no one has bothered to fix for a really long time. Can something finally be done for good?

This is how it looks like on BII with a 68040 (which forces the FPU to be on, even if it is disabled on the prefs file)
Image

Same emulator with 68030 and FPU off, aka how it's supposed to look
Image

How it looks like on SS
Image

@rakslice
Copy link

rakslice commented Feb 9, 2025

What is the current situation with the fpu compiler options? I'm trying to figure out what the change to the fpu options was that used to fix the scrollbars in 8.x, but I can't find it.

@kanjitalk755
Copy link
Owner

kanjitalk755 commented Feb 10, 2025

In the case of Apple Silicon, we use new UAE CPU core that supports GMP/MPFR.
This is because long double is 64-bit, so legacy code cannot represent the FPU's 80-bit registers.
This is only supported when building with Xcode.

For x86_64, we use the legacy code. This is because the JIT compiler becomes unstable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants