- Notifications
You must be signed in to change notification settings - Fork0
CHIP-8 emulator that runs on a browser developed with TypeScript
kastorcode/chip-8-emulator-typescript
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
👷 Developed by Matheus Ramalho de Oliveira
🔨 Brazilian Software Engineer
🏡 Goiânia, Goiás, Brasil
✉️kastorcode@gmail.com
👍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 theBuild 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 canvasArrowRight |Numpad6 =pause and scroll to rom infoBackspace |Escape =stopEnter |Space =toggle pauseNumpad0 |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
yarnto install dependencies; - Run
yarn buildto start Webpack module bundler; - Launch one live server to serve the app and open it in a browser.
<kastor.code/>
About
CHIP-8 emulator that runs on a browser developed with TypeScript
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.

