5 ms·
> 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) actu
by iso8859-1 14y ago
> 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 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?
- danellis 14y agoI 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.
- iso8859-1 14y agoWill you open source it? :) Found you on Github, it's not there.
- danellis 14y agoOh, 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.
- iso8859-1 14y agoDid you consider using an existing platform like https://github.com/asmblah/jemul8 https://github.com/asmblah/jemul8 ? Would be nice with a multiple-CPU emulator in JavaScript.
- danellis 14y agoI 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.
- vidarh 14y agoYou can boot Linux in the browser already. Or do you have another interesting use specifically for an ARM emulator