PC XT-compatible virtual machine/emulator written in C created by Adrian Cable, via RaspberryPi.org:
“The personal computer as we know it today began in the early 80s with the release of the IBM PC – an incredibly complex machine for its time, and the result of hundreds of thousands of man-hours of development time, at a cost of hundreds of millions of dollars.
Thirty years later, I set out to answer the question of how small a highly portable, software PC emulator/virtual machine could be written, complete and accurate enough to simulate not just the Intel 8086 CPU but enough of the peripheral hardware to run software like Windows, AutoCAD, Lotus 1-2-3 and classic PC games. The answer: 4043 bytes of highly condensed C source code, which won the 2013 International Obfuscated C Code Contest.
Following the contest, widespread demand led to the release of 8086tiny, a fully documented and commented distribution of the original code, including full BIOS source code. 8086tiny, when deployed on the $25 Raspberry Pi, produces not only the world’s smallest but also the world’s cheapest PC.
Uniquely we believe for PC emulators, 8086tiny is released under the most free open source license possible, the MIT License, allowing use or redistribution for any purpose, commercial or non-commercial, with no restrictions whatsoever. I encourage anyone to use 8086tiny as a starting point for their own emulation projects.”