Emulating x86 on x64 on aarch64 (neugierig.org)
from tedu to programming on 14 Aug 2023 22:33

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.


threaded - newest