emulators

Emulators (dos) with standartized API

Usage no npm install needed!

<script type="module">
  import emulators from 'https://cdn.skypack.dev/emulators';
</script>

README

Emulators for js-dos 7.xx

Using Docker

Build image

    docker build -t emulators . 

Test image

    docker run -p 8080:8080 -ti emulators

Open http://localhost:8080/test/test.html in browser, all test should pass

Development

Run inside the project dir:

    docker run -v `pwd`/src:/app/src -v `pwd`/test:/app/test -v `pwd`/dist:/app/dist -ti emulators bash
    source /emsdk/emsdk_env.sh
    gulp OR ./node_modules/.bin/tsc --watch

Use your code editor to edit the content of src and test. In the docker VM you can run gulp to build everything into dist OR use ./node_modules/.bin/tsc --watch if you need only compile time checks.