Emulating x86 on x64 on aarch64
(neugierig.org)
from tedu@azorius.net to programming@azorius.net on 15 Aug 2023 00:33
https://azorius.net/g/programming/p/N38174xHrH51ThhzlK-Emulating-x86-on-x64-on-aarch64
from tedu@azorius.net to programming@azorius.net on 15 Aug 2023 00:33
https://azorius.net/g/programming/p/N38174xHrH51ThhzlK-Emulating-x86-on-x64-on-aarch64
As a backwards compatibility thing x64 includes a so-called "compatibility mode" that is exactly for running 32-bit code. With this mode, some cooperation from the OS, and a few bits of subtlety, I was able to adapt retrowin32 to run a 32-bit Windows exe "natively" via Rosetta on my Mac M2. In this post I describe how this works.
#programming
threaded - newest