Improve JIT of realiased words
Re-enable JIT for now
Oops
Dusk OS has a peculiar target: WASM on a modern browser. It's represented as a graphical console with a fully functional Dusk OS prompt in a browser tab.
npm -g install assemblyscript
AssemblyScript is not strictly needed, you can also use compile.html
.
make kernel.wasm
or open compile.html
in a browser to build it.make wasm.img
.index.html
.kernel.wasm
.wasm.img
Note that the WASM target is much, much slower than other Dusk OS targets.
The appropriate version of Dusk is automatically downloaded by Make. If you
already have a Dusk you want to target, you can use the DUSKDIR
environment
variable.
In a hurry? You can see this thing in action at https://schierlm.users.sourceforge.net/duskos-wasm-temp/
Most of the code in Dusk OS has been written by Virgil Dupras, but the WASM port has been written by Michael Schierl.