News for hackers. Stuff that matters.
Re:Show HN: My x86 emulator written in JavaScript by mzs on Thursday October 17, 2013 @05:31PM (#6568267)
I tried the freedos image, says something about 400kips and then down to 0. Nothing ever shows. FF 17.0.9 ESR on 1386 freebsd 8.3
Re:Show HN: My x86 emulator written in JavaScript by g3 on Thursday October 17, 2013 @05:44PM (#6568335)
I'm testing in Firefox 24. If you could tell me what the error console outputs, I'll try to fix it.
Re:Show HN: My x86 emulator written in JavaScript by mzs on Thursday October 17, 2013 @06:55PM (#6568728)
Thanks, it's under the error tab:

ReferenceError: requestAnimationFrame is not defined http://copy.sh/v24/v86_all.js Line: 239

Re:Show HN: My x86 emulator written in JavaScript by mschuster91 on Thursday October 17, 2013 @09:43PM (#6569291)
Update to a newer Firefox. Your FF is dead old and doesnt support the new HTML5 methods... and @author, maybe add a polyfill?
Re:Show HN: My x86 emulator written in JavaScript by greglindahl on Thursday October 17, 2013 @10:32PM (#6569457)
FF 24 is the latest stable. FF's docs say they added this function in FF 4.0, which was several years ago. So it's a bit more complicated than you make it out to be.

EDIT: I thought FF24 wasn't working, turns out I was confused between my Linux desktop's and Mac laptop's FF versions. Sorry!

Re:Show HN: My x86 emulator written in JavaScript by bzbarsky on Thursday October 17, 2013 @10:50PM (#6569498)
It's actually not all that complicated.

Firefox 4 added mozRequestAnimationFrame.

Firefox 23 added the unprefixed version.

It's documented in the browser compatibility table at https://developer.mozilla.org/en-US/docs/Web/API/window.requ... (note that "moz" next to the 4.0).

Re:Show HN: My x86 emulator written in JavaScript by mzs on Friday October 18, 2013 @01:18PM (#6572537)
That must have done the trick, it starts now, thank you for your help.
Re:Show HN: My x86 emulator written in JavaScript by mzs on Friday October 18, 2013 @01:17PM (#6572533)
FF 24.0 ESR on FreeBSD is getting there but still some issues:

http://freebsd.1045724.n5.nabble.com/Problem-with-FireFox-24...