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
- Host: GitHub
- URL: https://github.com/lrusso/dos
- Owner: lrusso
- Created: 2025-05-10T21:48:34.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-10T22:23:03.000Z (about 1 year ago)
- Last Synced: 2025-05-10T22:28:21.147Z (about 1 year ago)
- Topics: browser, disk, dos, emulator, images, javascript, vanilla, web
- Language: JavaScript
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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