Skip to content

nzeemin/ukncbtl-wasm

Repository files navigation

ukncbtl-wasm

UKNCBTL — UKNC Back to Life! emulator, WASM version.

UKNCBTL is cross-platform UKNC emulator for Windows/Linux/Mac OS X. UKNC (УКНЦ, Электроника МС-0511) is soviet school computer based on two PDP-11 compatible processors KM1801VM2.

This is UKNCBTL emulator version for WebAssembly (WASM) to compile with Emscripten and to run in any modern browser.

Take a look at the emulator here: https://nzeemin.github.io/ukncbtl-online.html

Emulator files

This is the files needed to run the emulator, the following files are the result of the compilation, plus the static keyboard image:

  • emul.js
  • emul.wasm
  • emul.html
  • index.html
  • keyboard.png

To make it work you have to put the files on web server; WebAssembly will not work just from a file opened in a browser.

Emulator URL parameters

The emulator recognizes and uses the following (optional) URL parameters:

  • state=URL — load saved emulator state (.uknc file) from the URL and apply it
  • diskN=URL — load disk image (.dsk file) from the URL and attach it; N=0..3
  • run=1 — run the emulator
  • color=P — use palette P=1..3, or rgb/grey/grb

For the state and diskN parameters it is allowed to use compressed images in .zip format; in this case the file name should end with .zip, the state or disk image file should be the only file in the archive.

Note that the URLs are to download files from the Web by JavaScript code, so that's under restriction of Cross-Origin Resource Sharing (CORS) policy defined on your server.


The UKNCBTL project consists of:

About

UKNCBTL emulator as WebAssembly.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors