top | item 3969394

Gameboy color emulator entirely in Javascript

128 points| kmax12 | 14 years ago |gamecenter.grantgalitz.org | reply

32 comments

order
[+] georgemcbay|14 years ago|reply
On the one hand, this is pretty cool. On the other hand, I'm not sure the best argument for "look how far JavaScript has come" is to use it to do things that native code was doing 13 years ago. On the third hand, this has been around for like a year now. I'm fairly shocked that Nintendo hasn't come down on him yet for hosting commercial ROMs in this thing, they have a history of non-tolerance of these sorts of things.
[+] pooper9000|14 years ago|reply
On the fourth hand, it has an audio synthesis core that samples at 4194304 Hertz that's way more accurate than what GBC emulators had 13 years ago.
[+] jmitcheson|14 years ago|reply
The point isn't the code, it's the emulation of the hardware the code runs on. A processor, ram, display and sound are being emulated inside a browser by JavaScript, and we can use this to run a binary almost perfectly. That is what is amazing here, not the ability to play tetris!
[+] pacomerh|14 years ago|reply
The spotlight here goes to the browser, and what this means to it's future. Not what you can do with native code.
[+] tomjen3|14 years ago|reply
It is not look how far Javascript has come -- it is and will always remain a mediocre language -- but how far the browser has come.

And I am not quite sure how you cannot be impressed with this.

[+] altrego99|14 years ago|reply
On the other hand, emulating a machine of this complexity was beyond imagination when gameboy came out. On the other hand, Virtualbox can emulate much more complicate machines. On the other hand, this one lives entirely and safely inside your browser.
[+] thomasz|14 years ago|reply
please make the keys assignable. On my keyboard layout, z is right to t :/
[+] grantg|14 years ago|reply
Just added Dvorak compatibility. :)
[+] Eduard|14 years ago|reply
Yet another play-in your browser thing that gives zero f's about the y/z key switch on German keyboard layouts
[+] MarvinYork|14 years ago|reply
Just use Y & X on a German keyboard.
[+] grantg|14 years ago|reply
Just added Dvorak overrides.
[+] zanny|14 years ago|reply
Is there a way to integrate local saving of games? It seems crazy to think someone could use this to play the old pokemans and "catch em all"
[+] enneff|14 years ago|reply
Unfortunately, LSDJ is unusable as you can't press A and the arrow keys at the same time.
[+] pooper9000|14 years ago|reply
That's a problem with your browser it seems then, as I can press multiple keys at the same time.
[+] paintAcquaint|14 years ago|reply
on the iphone 4: "Result of Expression 'document.getElementByID("drop down_progress")'[null] is not an object. File: undefined line: undefined.
[+] grantg|14 years ago|reply
That error is from the page overloading. Secondly, it won't run on mobile safari anyhow (Best will be 1 fps tops with no audio and no keyboard input).

Mobile Safari will never run this right.

[+] anmi|14 years ago|reply
it run extremely slow on my celeron SU2300 @ 1.2GHz, 8gb ram, google chrome @ ubuntu 12.04 not playable
[+] pooper9000|14 years ago|reply
It's just you: http://i.imgur.com/XuQL9.png

I can run multiple instances in parallel fullspeed on a shitty mac. If you don't have a GPU (or a blacklisted one), expect your browsers to run like shit.

[+] tferris|14 years ago|reply
First time I see this thinking JS has come very far.
[+] rsanchez1|14 years ago|reply
This seems to get posted every few months. I guess people don't notice the search field at the bottom of the page.
[+] altrego99|14 years ago|reply
OTOH, few months seems to me a good balance to recur on good posts without being too frequent.