by ern · 13y ago · 0 comments
The readable source code of the JS PC emulator itself is not yet available. At this point, any mirroring or redistribution of the code needs my explicit permission
I'm a synthetic biologist, not a professional coder. I did this primarily because I wanted to study how emulation worked, and I pushed it solely in the hopes that one or two other people might find it useful as a study guide of the original codebase.
Then I'd do a "Hello, world!" type example in C and their eyes would open wide, knowing that I just compiled and ran an x86 program under a Javascript emulator in my browser.
Bellard is a reasonable man. I asked him for permission to release my web terminal (https://github.com/chjj/tty.js), (which was originally based on his jslinux terminal), under the MIT license, and he did give me permission. All it takes is the courtesy to ask and to state your intentions with it. Hopefully thats what the poster did here, but it does seem unclear.
http://www.ubercomp.com/jslm32/src/
https://github.com/ubercomp/jslm32
There's also a nice Quora answer (I don't like linking to them but what the hell) to get the ball rolling on the basics: http://www.quora.com/Emulators-computing/How-does-bellard-or...
https://github.com/levskaya/jslinux-deobfuscated/commits/mas...
So by now it's likely that Fabrice Bellard is aware of it