Live data from Hacker News

Show HN: My x86 emulator written in JavaScript

copy.sh

91–100 of 194 posts

Re: Show HN: My x86 emulator written in JavaScript

#93
post #68
post #26

Earlier quoted context omitted.

I'm testing in Firefox 24. If you could tell me what the error console outputs, I'll try to fix it.

Thanks, it's under the error tab: ReferenceError: requestAnimationFrame is not defined http://copy.sh/v24/v86_all.js Line: 239

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

#95
It actually boots on Chrome.

On Android.

Then it usually dies for low memory - and I can't enter anything at all without keyboard (which doesn't pop up) - but still. The fact that I can boot up a x86 emulator in javascript in browser on ARM mobile phone is crazy.

Re: Show HN: My x86 emulator written in JavaScript

#96
post #68

Earlier quoted context omitted.

Thanks, it's under the error tab: ReferenceError: requestAnimationFrame is not defined http://copy.sh/v24/v86_all.js Line: 239

Update to a newer Firefox. Your FF is dead old and doesnt support the new HTML5 methods... and @author, maybe add a polyfill?

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

#97
I'm trying to run a custom basic x86 kernel (it was an assignment for my Computer Architecture course). But I can't get it to work =/. (This image works with bochs and in a virtual machine without problems). It seems that it can get to protected mode, enable interruptions, enable paging, but it fails loading the tasks =/

This is the error that I'm getting:

Unimplemented: load system segment descriptor, type = 9 Execution stopped

Here's a screenshot: http://i.imgur.com/DdCt8jX.png

Re: Show HN: My x86 emulator written in JavaScript

#98
post #29

Earlier quoted context omitted.

With emscripten, anything is possible nowadays. And it blows your mind.

Anything has been possible since 1999. Anything at all. http://www.zombo.com

I can't stop laughing. That was so weird and funny that I almost forgot what I was doing here on HN.

Re: Show HN: My x86 emulator written in JavaScript

#99
post #95

It actually boots on Chrome. On Android. Then it usually dies for low memory - and I can't enter anything at all without keyboard (which doesn't pop up) - but still. The fact that I can boot up a x86 emulator in javascript in browser on ARM mobile phone is crazy.

Works for me on Firefox for Android, no crashes yet.
Post reply on HN