A Chip-8 emulator written in JavaScript.
Original Chip8 Key | Mapped Key |
---|---|
1 | 1 |
2 | 2 |
3 | 3 |
C | 4 |
4 | Q |
5 | W |
6 | E |
D | R |
7 | A |
8 | S |
9 | D |
E | F |
A | Z |
0 | X |
B | C |
F | V |
Clone the repository and install dependencies.
git clone https://github.com/Elazarbsh/chip8-emulator.git
cd chip8-emulator
npm install
Launch a local development server on port 8080.
npm start
Run tests
npm run test
Build and bundle the code, output files will be located in the dist
directory.
npm run build
The emulator implements the instruction set defined in Cowgod's Chip-8 Technical Reference.