Play here: https://ts-chip8.netlify.app/
emulator.ts:
- houses the Opcode class, which handles all emulator related logic (loading rom, key events & all 36 opcode functions)
opcode.ts:
- Deals with parsing a given 2 byte instruction into the Opcode type
- Parses a given opcode and returns its associated mnemonic (e.g. '7xkk') and description (e.g. 'ADD Vx, byte')
App.tsx
- Fill in...
Cowgod's Chip-8 Technical Reference
- Cowgod spec used for understanding the Chip8 as a whole
FLIP8 Redux Emulator by Newsdee
- Used to debug my emulator, has many roms including test roms and a nice UI. Highly recommend if you wish to debug when building your own Chip-8.