thefox/i8086emu

Intel 8086 CPU Emulator

dev-master 2018-08-15 18:54 UTC

README

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