3 ms·
For the JSlinux one, from the wayback machine: >In the technical notes, an archive is given which explains how to build the various binary images. The readable
by molticrystal 8y ago
For the JSlinux one, from the wayback machine:
>In the technical notes, an archive is given which explains how to build the various binary images.
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.
And you can find the stuff referred to here:
http://web.archive.org/web/20141219111736/http://bellard.org/jslinux/tech.html http://web.archive.org/web/20141219111736/http://bellard.org...
---------
For tinyemu, my understanding is most of the code is in x86_machine.c , the actual cpu stuff is provided by kvm, the readme states:
>5) x86 emulator A small x86 emulator is included. It is not really an emulator because it uses the Linux KVM API to run the x86 code at near native performance.
> The x86 emulator uses the same set of VirtIO devices as the RISCV emulator and is able to run many operating systems.
>The x86 emulator accepts a Linux kernel image (bzImage). No BIOS image
is necessary.
> The x86 emulator comes from my JS/Linux project (2011) which was one
of the first emulator running Linux fully implemented in
Javascript. It is provided to allow easy access to the x86 images
hosted at https://bellard.org/jslinux https://bellard.org/jslinux