👷 Developed by Matheus Ramalho de Oliveira
🔨 Brazilian Software Engineer
🏡 Goiânia, Goiás, Brasil
✉️ [email protected]
👍 instagram.com/kastorcode
This software runs programs written for the CHIP-8 computing architecture directly in the browser. This is the first emulator I program to improve my software engineering skills.
Architected and programmed during the Build a Chip-8 Emulator in JavaScript that runs on a browser course.
|1|2|3|C|
= |1|2|3|4|
|4|5|6|D|
= |Q|W|E|R|
|7|8|9|E|
= |A|S|D|F|
|A|0|B|F|
= |Z|X|C|V|
ArrowLeft
| Numpad4
= scroll to canvas
ArrowRight
| Numpad6
= pause and scroll to rom info
Backspace
| Escape
= stop
Enter
| Space
= toggle pause
Numpad0
| Numpad5
= full screen
Chip-8 Technical Reference
Git
TypeScript
Visual Studio Code
Webpack
- Understanding what is Chip-8;
- Creating our Chip-8 virtual microprocessor;
- Creating our Display;
- Creating the support code and live server;
- Connecting the Display to the HTML and scaling up the resolution;
- Creating our Memory;
- Creating the Registers;
- Creating the Keyboard;
- Create our char set sprites from 0-F and load into memory;
- Drawing sprites in the display;
- Implement Delay Timer;
- Implement Sound Timer;
- Understanding binary files;
- Creating our Disassembler and our first Chip-8 instruction CLR;
- Creating our instruction set file;
- Loading our first ROM into Chip-8 memory;
- Understanding opcode, how Chip-8 stores data, Big Endian vs Little Endian;
- Disassembling opcodes and sending for execution;
- Implementing all 35 Chip-8 instructions.
- Make a clone of this repository;
- Open the project folder in a terminal;
- Run
yarn
to install dependencies; - Run
yarn build
to start Webpack module bundler; - Launch one live server to serve the app and open it in a browser.
<kastor.code/>