Skip to content
nkitoPublic

About

x86 emulator

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

70 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Workflow Status (with event) GitHub Workflow Status (with event)

ex86 - a x86 emulator

It is a personal project to understand real processors in detail. Please use it at your own risk.

Description

It has 8086, 80186, and 80386 modes. Compatibility of 80386 is not 100% but Linux and 32-bit DOS apps run on it. An original BIOS suited to the emulator is available.

Build

$ make

A prebuild BIOS file is available in this repository, i.e., bios/bios.bin. Usually, a build process for BIOS codes is not necessary. If rebuild is necessary for reasons such as customizing BIOS, build-ia16 is necessary as a tool chain. Packages for Ununtu are available in this page.

$ cd bios
$ make

Usage

The command ex86 outputs the usage when no arguments are specified. At least, a BIOS file or a raw binary file of a monitor program and its load address are necessary to boot up.

The emulator boots up with using the BIOS by the following command line:

./ex86 -l f0000 bios/bios.bin -386

If driveA.img, driveB.img, or driveC.img exist in the same directory of the simulator, those files are treated as disks.

driveA.img in this repository is a custom Linux image built with Buildroot.

About

x86 emulator

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages