cebix / macemu

Basilisk II and SheepShaver Macintosh emulators
1.39k stars 289 forks source link

Emulated FPU seems to be broken on aarch64 (arm64) build #238

Closed demitrios closed 1 year ago

demitrios commented 3 years ago

Using the @SegHaxx fork, macemu-flatpak:

So some issue related to the FPU emulation shows up in the aarch64 (arm64) build. The configuration script selects ieee fpe for both arm64 and amd64 builds (actually, all of the reported configuration parameters match), but Basilisk behaves differently for the different architectures. Compiling Basilisk with different --enable-fpe options did not change the results.

As an aside, the emulated mac os 8.1 on the Pinebook Pro is quite fast (much faster than the original mac) and very usable -- I mostly use old archive tools and applications to convert old documents, and also access some old FileMaker databases. Printing through the AdobePS driver to a file on a shared unix volume works well, too.

SegHaxx commented 2 years ago

Sorry been busy with other stuff. I'd heard there was an FPU problem but hadn't seen specifics. My nostalgia is for System 7.6 which doesn't seem to hit the FPU problem. So that's one workaround?

The kanjitalk fork has been working on porting to the Apple M1, last I checked in they chose fix this by merging in a newer version of the UAE cpu core. Unfortunately they're only concerned with OSX, and thus only did this for the Xcode project and left the other builds with the old core.

I guess the real fix is getting the new UAE core merged into the Linux build, which means dealing with autotools and... ugh. So I haven't gotten around to that. :(

kanjitalk755 commented 2 years ago

My fork now supports Linux/arm64.

SegHaxx commented 2 years ago

Okay can confirm, built current kanjitalk755 repo on Linux aarch64, and the scrollbar problem in Mac OS 8.1 appears fixed.

I'll update my tree and make a new flatpak release in the next week or two.

demitrios commented 1 year ago

Yes, seems to work. Thank you.