TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

GameBoy Color emulator entirely in JavaScript+HTML5

18 pointsby grantgabout 14 years ago

8 comments

T-Rabout 14 years ago
Impressive, but might I suggest using a public domain ROM, instead of exposing yourself to a lawsuit:<p><a href="http://www.zophar.net/pdroms/gameboy.html" rel="nofollow">http://www.zophar.net/pdroms/gameboy.html</a>
评论 #2428230 未加载
评论 #2428297 未加载
jamboabout 14 years ago
I'm getting "Please try using a standards compliant browser." in Safari 5 &#38; Chromium 12.<p>[edit: fix confirmed]
评论 #2428377 未加载
评论 #2428375 未加载
DarkShikariabout 14 years ago
What would be even more interesting is a JIT-based emulator that worked by compiling bytecode <i>into Javascript</i>, then relying on the browser to compile it back into machine code.<p>A machine-independent, JIT-compiled JS emulator might actually end up being faster than some purely-interpreted native-code emulators. And unlike a purely native JIT emulator, it wouldn't need a compilation component (the browser would do that itself).<p>Obviously such a thing would be dramatically slower than a native JIT emulator -- but surprisingly few emulators are JIT-based.<p>(Possible catch: I know for a fact that some Nintendo DS games use small amounts of self-modifying code. This probably is true of previous generations, too.)
评论 #2428381 未加载
wazooxabout 14 years ago
Impressive. Any information on the inner workings?
geuisabout 14 years ago
"Could not initialize the emulator properly. Please try using a standards compliant browser."<p>Getting this in Chrome 10.<p>I think your project needs a little love.
DiabloD3about 14 years ago
Doesn't seem to work in Firefox.
评论 #2428040 未加载
grantgabout 14 years ago
x is A<p>z is B<p>shift is Select<p>return is Start<p>D-Pad is Joypad
tudorizerabout 14 years ago
Why do you say it's an emulator? Looks like a ported game to me. Ported in JS, that is.
评论 #2428204 未加载
评论 #2428146 未加载