Saturday, July 24th, 2010

Looking at JS emulator core for GameBoy

Category: JavaScript

<>p>JavaScript as a general-purpose “Turing-complete language” is illustrated – the example discussed in the first part of a series:  How a CPU can be emulated through JS, and how one might start building an emulation core for the GameBoy console. Looking forward:  How a game image can be loaded into the emulator over the Web. For now: Hello, Z80! Check out Ice Station ImRannazar!

Related Content:

Posted by jvaughan at 10:29 pm
4 Comments

+++--
3.6 rating from 5 votes

4 Comments »

Comments feed TrackBack URI

http://gist.github.com/466097

Some fun project I did. Emulates a virtual CPU we used in a lecture in the past semester. Runs with MooTools on NodeJS (just checkout the gist, rename xMooTools.js to MooTools.js and run ‘node Toy.js test1.in’. You will get some *amazing output* along the lines of ’0001′. It is probably *a lot* easier to understand than the Game Boy CPU, so its useful to approach the article above.

Toy CPU description: http://www.cs.princeton.edu/introcs/52toy/

Comment by cpojer — July 24, 2010

Very nice to see such an high-tech piece of code being ported to javascript ánd have this kind of detailed explanations. Please keep publishing! I’d love to know the intricate workings of a gameboy emu (or a basic cpu on it’s own) :)

Comment by SchizoDuckie — July 25, 2010

The server seems to be down :(

Comment by Jesse — July 26, 2010

http://www.codebase.es/jsgb Here you have a complete HTML5 Gameboy emulator, with debugger.

Comment by sonic1980 — September 14, 2010

Leave a comment

You must be logged in to post a comment.