kanjitalk755 / macemu

Basilisk II and SheepShaver Macintosh emulators
332 stars 50 forks source link

Script Editor 1.4.3 crashes SheepShaver on ARM Mac #154

Closed emendelson closed 11 months ago

emendelson commented 1 year ago

Running on an ARM Mac, using Mac OS 9.0.4, Script Editor 1.4.3 causes SheepShaver to crash. The crash does not happen if SheepShaver is set to run under Rosetta, and older versions of Script Editor don't crash when running under ARM.

kanjitalk755 commented 1 year ago

Even Intel, it didn't work with JIT compiler disabled. As in this case, kpx_cpu (PowerPC emulation core) may behave differently depending on whether JIT compiler is enabled or disabled. Identifying and fixing the cause inside kpx_cpu is difficult.

kanjitalk755 commented 11 months ago

I tried to fix this issue. Please test the branch below.

https://github.com/kanjitalk755/macemu/tree/test_lmw_stmw

emendelson commented 11 months ago

Yes. This now works correctly. I am very impressed that you were able to solve this!

kanjitalk755 commented 11 months ago

Merged to the master.