Skip to content

willemclarke/tschip8

Repository files navigation

Chip8 Emulator written in Typescript and React

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...

Reference material used:

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.

Guide to making a CHIP-8 Emulator by Tobias V. Langhoff

How to Create Your Very Own Chip-8 Emulator by Eric Grandt