Emulating the NES/Famicom/Dendy with Web Technologies
summary
A technical walkthrough of emulating the NES/Famicom on web technologies using TypeScript, Canvas and the Web Audio API. Covers three parts: emulating the 6502 CPU in JavaScript, implementing the graphics output and game resource formats (PPU/tiles/sprites) and synthesizing NES audio via Web Audio with an AudioWorklet for parallel processing. Includes practical optimization tips to keep the emulator running at 60 FPS.
AI-written summary · about
chapters (10)
- 0:00Start
- 8:08Processor state
- 10:33Program
- 12:21Von Neumann architecture
- 14:10Instruction
- 16:09Addressing modes
- 21:46Processor state reset
- 26:57NES architecture
- 31:30Palette
- 39:13Foreground object rendering
related talks
29mEmulating With JavaScript
19mLessons learnt pushing browsers to the limit
18mEmulating the Nintendo Game Boy CPU with Elm
27mWriting an emulator in JavaScript?
23mAmazing Things One Can Do With JS and the NES
30mControlling the NES with Javascript
30mHacking your Nintendo with JavaScript.
32mMaking an Emulator in JavaScript?
