TheFox / i8086emu

An Intel 8086 CPU Emulator written in pure PHP.

Home Page:https://fox21.at

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Intel 8086 CPU Emulator

An Intel 8086 CPU Emulator written in pure PHP.

Project Outlines

The project outlines as described in my blog post about Open Source Software Collaboration.

  • The main purpose of this software is to emulate the Intel 8086 CPU using pure PHP.
  • The features should not go beyond Intel's features and functions. So the features of this software are limited to those of the Intel 8086 CPU.
  • This list is open. Feel free to request features.

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

About

An Intel 8086 CPU Emulator written in pure PHP.

https://fox21.at

License:MIT License


Languages

Language:PHP 69.5%Language:Assembly 29.9%Language:Shell 0.6%Language:Makefile 0.0%