8086tiny is free open source PC XT emulator. It provides support for PC peripherals, such as XT style keyboard, hard and floppy disk drives and Hercules graphics card. You can even run Windows 3.0 on it.
8086tiny is portable, so it can run on Windows, OS X, Linux, Android, iOS and Raspberry PI. For more info visit the official page.