Overview
Explore game console emulation using JavaScript in this JSConf.Asia 2013 conference talk. Dive into the basics of emulation with the Chip-8 system before delving into a detailed breakdown of the Nintendo Famicom (NES) architecture. Learn how to build various components of a game console emulator using JavaScript, including handling opcodes, implementing color palettes, managing tiles, and integrating audio and controller support. Gain insights into the challenges and possibilities of emulation, and discover tips for creating your own emulator. Whether you're a JavaScript enthusiast or interested in retro gaming, this talk provides a comprehensive introduction to the world of console emulation through web technologies.
Syllabus
Intro
WHOAMI
JAVASCRIPT TODAY
CAN BUILD
EMULATED
IMPLEMENTATIONS
WHERE TO START
CHIPS IS EASY
EXAMPLE SYSTEM
ENTERTAINMENT SYSTEM
ARCHITECTURE
ARRAYS
NEED GETTERS/ SETTERS
FETCH/DECODE LOOP
INTERRUPTS
SLOW
HANDLING OPCODES
PROCESS ALL THE OPCODES
communICATING WITH YOUR PPU
COLOUR PALETTE
TILES
ANATOMY OF A TILE
NAMETABLES
PUT IT ALL TOGETHER
SCRATCHING THE SURFACE
FULL SCREEN API
SOUND
WEB AUDIO API
CONTROLLER
GAMEPAD API
CYCLES
YOUR VERY OWN EMULATOR
GETTING STARTED
TIPS
POSSIBILITIES
Taught by
JSConf