HNHacker News
TopNewBestAskShowJobs

grantg

62 karma · joined January 10, 2011

submissionscomments
grantg··on Gameboy color emulator entirely in Javascript
Just added Dvorak overrides.
grantg··on Gameboy color emulator entirely in Javascript
Just added Dvorak compatibility. :)
grantg··on Gameboy color emulator entirely in Javascript
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.

grantg··on [dead]
Down below on altavista's page: © 2012 Yahoo!

ouch

grantg··on Bsnes has emulated every SNES DSP
Keep up the good work Byuu.
grantg··on Full Gameboy Color Emulator in Javascript
I killed it myself.
grantg··on Full Gameboy Color Emulator in Javascript
I shut the party down, willy wonka style.
grantg··on Full Gameboy Color Emulator in Javascript
Trying to compile code to JavaScript results usually in sub-optimal performance. You have to manually do it to tweak the best performance out of the language. It's kinda retarded, but it's analogous to writing assembly code for performance critical apps. Also, I did it for the lulz.
grantg··on Full Gameboy Color Emulator in Javascript
Chrome runs the JavaScript execution the best, while sucky at graphics (Scaling via CSS is sluggish in chrome).

Firefox 4+ runs it overall well (Slight GC hiccups in Firefox 9 though).

IE9 runs it like crap (JavaScript execution is like firefox 3.6, slow as hell).

Opera 11.6 can't run it, because it doesn't follow the typed array spec, causing the emulated cpu to crash. Works in older opera versions though, but just a little faster than IE9.

Safari 5.1.X reloads the page when ever a game starts, because of a js engine regression that happened in safari 5.1.1. Works in webkit nightlies though, and Safari 5.0.X

grantg··on Full Gameboy Color Emulator in Javascript
Because I added a different version of Tetris than the one most people know. I should probably switch the one there with the later version that changed out its music.
grantg··on Firefox 9 uses type inference to improve JavaScript performance by 20-30%
So you did ycombinator's version of [deleted]. :P
grantg··on Legend Of Zelda - Link's Awakening, now playable in HTML5
Because these are OS-dependent bugs for certain browsers and should get fixed soon by the browser makers. :P
grantg··on Legend Of Zelda - Link's Awakening, now playable in HTML5
I bet the resource files are 503'ing from server overload. :/
grantg··on Legend Of Zelda - Link's Awakening, now playable in HTML5
Use Firefox 5 then. Problem solved?
grantg··on Legend Of Zelda - Link's Awakening, now playable in HTML5
Use Firefox 5, other browsers take a shit on putImageData performance when blitting to the canvas.
grantg··on Legend Of Zelda - Link's Awakening, now playable in HTML5
You see, the problem is that chrome has bugs. Try running it in Firefox 5 for windows. It's not my fault. period. See some comments in http://www.reddit.com/r/gaming/comments/i9s9h/legend_of_zeld... for other various chrome related issues.
grantg··on Legend Of Zelda - Link's Awakening, now playable in HTML5
Yup
grantg··on Legend Of Zelda - Link's Awakening, now playable in HTML5
Thanks
grantg··on Newegg stores your password in plaintext
Encryption is inadequate because others can still find out what your password was (Insert disgruntled employee or hacker that gets the master decyption key).

Hashing / SALTing is WAAAAAY safer.

grantg··on Newegg stores your password in plaintext
A website employee should only be able to reset the password at most if the passwords is properly SALTed or hashed. Storing passwords in plaintext or not hashing them had to be done. It's insecure to just encrypt the password and rather not hash it.

I'm waiting for NewEgg to pull a Gawker now. ;)

grantg··on Brick Nintendo before they brick you
Simply put, they don't want the DS hackers hacking the 3DS.
grantg··on Gameboy Color Emulated in JavaScript
This will be the sixth time we have created a thread about it and we have become exceedingly efficient at it.
grantg··on 2-D Glasses
2-D Glasses == Sunglasses FTFY
grantg··on GameBoy Color emulator coded entirely in JavaScript
A test (PD) ROM: http://www.grantgalitz.org/CrazyZone/
grantg··on GameBoy Color emulator entirely in JavaScript+HTML5
x is A

z is B

shift is Select

return is Start

D-Pad is Joypad

grantg··on GameBoy Color emulator entirely in JavaScript+HTML5
Edit: Fixed
grantg··on GameBoy Color emulator entirely in JavaScript+HTML5
Not a good idea with hand-coded ROMs for CPUs that are in single-digit MHz that use interrupts liberally, it would cause code cache invalidation a lot.

Some stats for SML2 running (Audio ON (web audio for mac in about:flags for chrome, mozAudio for Firefox 4), scaling OFF):

Chrome 12: http://i.imgur.com/JjpT5.jpg 27.0% CPU load

Firefox 4: http://i.imgur.com/yEzzw.jpg 68.6% CPU load

grantg··on GameBoy Color emulator entirely in JavaScript+HTML5
okay, removed offending ROMs, and put up a homebrew one: http://www.grantgalitz.org/CrazyZone/

The URL linked above now redirects to the homebrew ROM.

Edit: Oops, I overwrote the redirect, sorry. Try http://www.grantgalitz.org/CrazyZone/

grantg··on Super Mario Brothers GameBoy (and all GameBoy games) ported to HTML5
I took down the violating pages.

I put up a freeware ROM test page - http://www.grantgalitz.org/gbc_demo/

grantg··on Super Mario Brothers GameBoy (and all GameBoy games) ported to HTML5
See http://news.ycombinator.com/item?id=2268214

I took it down because the others posting about potential problems are right, so in order to use the emulator go to http://www.grantgalitz.org/gameboy/ and load in your OWN ROM files. Before I was providing the for you, but due to legalities, I am forcing you to provide your own. I didn't get a takedown notice, but I definitely don't want to get one, sorry for the inconvenience. :P

Page 1 of 2Next →