Set up the environment with:
$ chmod +x tasks/*.sh # Enables the execution of the scripts
$ tasks/build.sh # Build the emulator
$ tasks/gendisk.sh # Creates a disk image
There is a WIP assembler, that comes with a 'drawing' program
$ npx tsx src/assembler/assembler.ts src/assembler/draw.asm boot.bin # Builds the program
$ sudo tasks/updboot.sh # Saves it to the boot disk
And then you can serve the page, and head over to http://localhost:3232
$ npm run serve
- When the system boots, the first kind of error that can occur is with an orange spiral filling the screen up. In that case, it is a significant JS-side error and you should report to the console for more information.
- A blue floppy disk icon means that the boot disk image could not be found, make sure it is available in the same directory as the page.
- A red floppy disk icon means that the boot disk image is not the expected size (1M).
- A yellow floppy disk icon means that the boot file could not be found at the root of the file system or that it itself is corrupted.