An open API service indexing awesome lists of open source software.

https://github.com/lrusso/dos

DOS emulator in Vanilla JavaScript
https://github.com/lrusso/dos

browser disk dos emulator images javascript vanilla web

Last synced: about 1 year ago
JSON representation

DOS emulator in Vanilla JavaScript

Awesome Lists containing this project

README

          

# DOS

DOS emulator in JavaScript.

## Web:

https://lrusso.github.io/DOS/DOS.htm

## How to enable/disable the sound:

- On Mac you must press ```Command U```.
- On Windows/Linux you must press ```Ctrl U```.

## How to download the disk image:

- On Mac you must press ```Command I```.
- On Windows/Linux you must press ```Ctrl I```.

## How to use a different the disk image:

Update the ```DISK_DATA``` variable located in the ```DISK.js``` file with your new JSON.

## How to convert a IMG disk file to a JSON file:

- Open the Terminal.
- Run ```node imgConverter.js disk.img disk.json```

## How to delete the disk image from cache:

- Browse to https://lrusso.github.io/DOS/DOS.htm?clearcache

## Differences with the original project:

- Fixed issue when handling JSON5 files.
- Added a logic for enabling/disabling the sound.
- Fixed issue when locking the pointer several times.
- Removed a logic that was using REST for getting the resources.
- Easier approach for using a disk, just update the ```DISK_DATA``` variable.

## Based on the work of:

https://github.com/jeffpar/pcjs