llemarie’s weblog

Programming, tinkering – Lionel LemariĆ©

Archive for February, 2011

Project: Javascript Game Boy Emulator

Posted by llemarie on February 6, 2011

Game Boy Emulator in Javascript

Game Boy Emulator in Javascript

A quick and dirty Game Boy emulator in Javascript.
Features:

– Can run Super Mario Land and Tetris (and not much else).
– Full speed (60fps) in Chrome 9.
– Menu to switch cartridges.
– Fast debugger.
– Register view.
– Code and data breakpoints.
– Memory view.
– Program flow trace with disassembler.
– Runs super-slow on iPhone.
– Comes as a single HTML file, data is embedded.

Give it a try here: Game Boy Emulator in Javascript. You’ll probably need Chrome or Safari.

References:

Game Boy CPU Manual

Pan Docs

Game Boy Emulation in Javascript article series

Other implementations of the emulator:

JSGB

Posted in Gameboy Emulator, Programming, Projects | 1 Comment »