A hobby project, in which I've implemented a fully functional emulator of IBM PC with 8186/8286 CPU
Can run MS-DOS and turbo pascal in it! Have some very basic support for VGA. Can be compiled for WebAssembly and asm.js.
Check out an web demo
and demo with debugging UI