Farcall: a Rust x86 emulator of the IBM PC you can try over SSH
Farcall is an x86 emulator written in Rust by its author, and it currently emulates the original IBM PC and its 8088 CPU. Visitors can connect with SSH to intodos.com, choose a disk in the launcher, and run programs such as Zork, NetHack, GW-BASIC, Sopwith and Digger Remastered.
The author started by running a simple COM file[1] on a Mac, decoding and executing each opcode[2] in a loop and adding missing instructions as programs needed them. Handling an interrupt[3] meant emulating the DOS service it called, which is how the simple programs and then MORE.COM ran. Booting DOS from a PC-DOS 2.0 disk image required a boot mode and more instructions and hardware services.
The author later switched to GLaBIOS, an open-source BIOS[4] that runs on real IBM PCs, which meant emulating the floppy drive, video card, keyboard, PPI, PIT and DMA controller it depends on. The stated eventual goal is to run Windows 3.1 on Farcall.
Read the original dialup.netDiscussion
Sources
-
dialup.net
Farcall, a terminal-ready Rust PC+DOS emulator






