An Intel 8086 CPU Emulator written in pure PHP.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app/Command
bin
bios
opt
php
src
tests
.editorconfig
.env.example
.gitignore
.gitlab-ci.yml
.travis.yml
Makefile Bios adaptations. Dec 25, 2017
README.md TTY Aug 10, 2018
Vagrantfile
composer.json
composer.lock
i8086emu.sublime-project
phpcs.xml Test setup. Nov 27, 2017
phpunit.xml

README.md

Intel 8086 CPU Emulator

An Intel 8086 CPU Emulator written in pure PHP.

Compile the BIOS

Run make bios/bios.

TTY

In order to have a TTY for the in- and output you can specify --tty <path>. This will start a socat subprocess to create an interface between PHP and TTY. The TTY then can be accessed using screen.

Optional, to use a different installation path for the socat binary you can specify --socat <path>.

  1. Install socat.
  2. Open a shell and run ./bin/screen.sh.
  3. Open another shell and run ./bin/run.sh.

Terms

  • Byte - 8 bit, one single character.
  • Word - 16 bit, or 2 Byte.

8086 Resources

More Resources