More Emulator Fun: GameBoy Color in JavaScript and HTML5

Yesterday we told you about a JavaScript-based x86 emulator. Today we found a JavaScript and HTML5 based GameBoy Color emulator created by Grant Galitz. It can open ROMS from your local computer, or from the Web.

You can see it in action here, or download the source from GitHub.

From the emulator’s About screen:

The video is done either through HTML5 canvas or by a fallback of creating BMP binary picture format data URI strings and appending the result to regular HTML img tags.

Save states are implemented through the window.localStorage object, and are serialized/deserialized through JSON. SRAM saving is also implemented through the window.localStorage object, and are serialized/deserialized through JSON. In order for save states to work properly on most browsers, you need set the maximum size limit for DOM storage higher, to meet the needs of the emulator’s save data size.

Facebook Comments