News for hackers. Stuff that matters.
Re:Linux on an 8-bit micro by iso8859-1 on Saturday April 20, 2013 @05:33PM (#5582889)
> There are some real ports of Linux for "limited" architectures, like uClinux

reginaldo (a guy who posted his emulator (jslm32) last time this was on HN) actually uses uClinux on LatticeMico32.

[1]: https://github.com/ubercomp/jslm32

I'm considering trying to get this to compile on Emscripten. It's so self-contained that I think it will be fairly unproblematic. Emscripten's 64-bit math emulation surely won't be needed.

Does anyone know if a ARM emulator in JavaScript exists already?

Re:Linux on an 8-bit micro by danellis on Saturday April 20, 2013 @07:29PM (#5583228)
I started writing one in Dart a couple of days ago, but I know others already exist, including ones that port existing emulators (such as QEMU) using Emscripten.
Re:Linux on an 8-bit micro by iso8859-1 on Saturday April 20, 2013 @08:16PM (#5583322)
Will you open source it? :) Found you on Github, it's not there.
Re:Linux on an 8-bit micro by danellis on Sunday April 21, 2013 @12:27AM (#5583853)
Oh, absolutely. It's not like I'll use it for anything other than saying, "Hey, look at RISC OS running (slowly) in a browser!", which is the end goal.
Re:Linux on an 8-bit micro by iso8859-1 on Sunday April 21, 2013 @11:51AM (#5585208)
Did you consider using an existing platform like https://github.com/asmblah/jemul8 ? Would be nice with a multiple-CPU emulator in JavaScript.
Re:Linux on an 8-bit micro by danellis on Monday April 22, 2013 @12:29AM (#5587772)
I think it would be more trouble than it's worth to take an x86 emulator and try to make it do ARM as well, unless it was written with multiple CPU types in mind in the first place.

But more importantly, it's written in JavaScript -- this is an exercise in learning Dart.

I do refer to various C-based implementations from time to time, though.

Re:Linux on an 8-bit micro by vidarh on Sunday April 21, 2013 @07:41AM (#5584571)
You can boot Linux in the browser already. Or do you have another interesting use specifically for an ARM emulator
Re:Linux on an 8-bit micro by andthen22 on Sunday April 21, 2013 @08:34AM (#5584653)
if you can boot Linux in the browser, you can just run arm qemu or even bochs from it. 30 seconds from now you'll have an arm emulator in javascript.

use that i7 or i9 at 3 ghz, I say.

Re:Linux on an 8-bit micro by iso8859-1 on Sunday April 21, 2013 @04:55PM (#5586378)
jsLinux is not FOSS.