All code in GitHub - corax89/Arduino_8086_emulator: Launches ".com" programs on arduino
The processor is fully emulated. Peripherals do not have enough space. Partially emulated interrupt DOS. It is planned to launch com applications. Contains ROM with the interpreter Brainfuck
Deserves more attention. x86 is pretty hard to emulate
Wrote emulator on javascript for debugging
https://corax89.github.io/
Nice! Maybe you can use virtmem library and also check cpm4nano, it emulate intel 8080 and run CP/M...