A CHIP-8 emulator written in TypeScript.
You can test it here https://delarco.com.br/games/chip8-emulator.
- Tests
- CHIP-8 CPU
- CHIP-8 IS
- User Interface
- Renderer
- Audio
- Gamepad
- Debugger
- Input
- Support custom mappings
- Support gamepads
- Custom mappins - multiple keys
- Gamepad buttons (we have only axes working)
- Save/Load state (keys 1 to 9, not on numpad)
- Screenshot (space key)
This project is licensed under the MIT License - see the LICENSE.md file for details
- CHIP-8: https://en.wikipedia.org/wiki/CHIP-8
- Technical Reference: http://devernay.free.fr/hacks/chip8/C8TECH10.HTM#0.1
- Test ROMS: https://github.com/Timendus/chip8-test-suite
- ROMS: https://github.com/kripod/chip8-roms
- Javascript implementation: https://github.com/mir3z/chip8-emu
- HTML Canvas: https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Pixel_manipulation_with_canvas
- TypedEvent: https://basarat.gitbook.io/typescript/main-1/typed-event
- Gamepad¹: https://developer.mozilla.org/en-US/docs/Web/API/Gamepad_API/Using_the_Gamepad_API
- Gamepad²: https://beej.us/blog/data/javascript-gamepad/