Live data from Hacker News

jor1k: OR1000 Javascript Emulator Running Linux

s-macke.github.io

11–20 of 71 posts

Re: jor1k: OR1000 Javascript Emulator Running Linux

#12

I am using firefox 23.0, the program appears stuck at the decompressing step while showing 0 MIPS. Also restart with asm.js button doesn't appear to work.

Works for me on Firefox 23.0.1 after a fairly long delay. Also worked on Chrome 29.0.1547.66. Edit - one oddity: on Chrome the console does not register the spacebar.

You'll need to specify which version of chrome. Space works fine for me on Version 29.0.1547.66 m

Re: jor1k: OR1000 Javascript Emulator Running Linux

#14
post #3

Two things: 1) I am waiting for a version using networking. I know there are security issues but there are also workarounds. 2) My notebook is hot, so I checked and the Chrome CPU console is at 25% even if I am not doing anything in the console.

I'm curious about the CPU usage as well. The Chrome worker process on my system is pegged at 108% just sitting at an idle console :(

Still, this is extremely cool, especially seeing an architecture from the OpenCores project being used.

Re: jor1k: OR1000 Javascript Emulator Running Linux

#20
post #3

Two things: 1) I am waiting for a version using networking. I know there are security issues but there are also workarounds. 2) My notebook is hot, so I checked and the Chrome CPU console is at 25% even if I am not doing anything in the console.

I think the main issue is that the console and framebuffer use canvas elements which are continuously refreshed by a javascript timeout. This tends to use up all of a single core, no matter how little of the screen is actually changed. Perhaps using requestAnimationFrame could improve the CPU utilization.
Post reply on HN