ptb view
vCPU is library that can be used to emulate literally almost any CPU in the world in pure JavaScript. This library can run in either NodeJS or your browser.
Each opcodes are setup with opcode functions and opcode comeback functions. I'm not going to detail it here, but if you would like to get started with this library, please check out the documentation.
Yes! Please keep in mind as of version 0.0.1, there is no standardized way of setting a CPU id. This must be done in the opcodes; and therefore, requires a different set of opcodes per CPU core. Each CPU model is different, so you won't find this in our devdocs.
The latest version of this library is vCPU 0.0.1 Stable Release
. A string will always be appended to the beginning of each file along with a copyright notice.
This software library is licensed under the GNU GPL v3.0 license. You can learn more about the exact terms in our LICENSE file.