Skip to content

andreas-jonsson/virtualxt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VirtualXT

Build Codecov Packages Chat Support

VirtualXT is a Turbo PC/XT emulator that runs on modern hardware, operating systems and bare-metal ARM SBCs. It is designed to be simple and lightweight yet still capable enough to run a large library of old application and games.

Browser version is avalible here.

Features

  • Intel 286 processor
  • PC/XT chipset
  • Hardware CPU validator
  • CGA or VGA compatible graphics
  • EMS and UMA memory
  • AdLib music synthesizer
  • Serial UARTs
  • Ethernet adapter
  • Runs on bare-metal ARM
  • Direct file share with host
  • ISA passthrough​ using Arstech USB2ISA adapter
  • GLaBIOS or Turbo XT BIOS 3.1 with extensions
  • Integerated GDB server
  • Flexible module system
  • and more...

Screenshots

freedos screenshot

win30setup screenshot

monkey screenshot

Build

The emulator is written in C11 and can be compiled with most modern C compilers. In order to generate a Makefile you need to install Premake. You also need to have SDL2 installed on your system or pass --sdl-path=<path to lib> to the premake script.

git clone https://github.com/andreas-jonsson/virtualxt.git
cd virtualxt
premake5 gmake2
make sdl2-frontend

You can download pre-built binaries from itch.io.

If you want to embed the emulator or create a custom frontend you can find libvxt API documentation here.

ISA Passthrough​

VirtualXT supports ISA passthrough using Arstech USB2ISA adapter or the CH367 development board. It should be noted that DMA currently not supported and the CH367 board is VERY limited in it's capabilities.

isa passthrough screenshot​

Hardware Validation

A hardware validator was developed to ensure proper CPU behaviour. Some additional information about that can be found here. This talk by Daniel Balsom describes the process in details.

validator screenshot

Shout-out

Friends, contributors and sources of inspiration!

  • gloriouscow
  • homebrew8088
  • fmahnke
  • adriancable
  • mikechambers84
  • trylle
  • 640-KB