-
Notifications
You must be signed in to change notification settings - Fork 0
Virtual Filesystem
Retro Jack edited this page Mar 26, 2026
·
56 revisions
The virtual filesystem is a JavaScript object defined in prompt/index.html. It simulates a single drive (C:) with directories and files. Each file either opens an online emulator URL or runs a batch script.
C:\
├── AUTOEXEC.BAT (runs on boot — navigates to C:\EMULATORS and lists contents)
├── CHANGES.BAT (shows changelog)
│
├── LGR\
│ ├── YOUTUBE.COM → https://www.youtube.com/@LGR
│ ├── BSKY.COM → https://bsky.app/profile/lgr-yt.bsky.social
│ ├── REDDIT.BAT → https://www.reddit.com/r/LGR/
│ ├── DONATE.BAT → http://donate.lazygamereviews.com/
│ └── PATREON.COM → https://www.patreon.com/LazyGameReviews
│
└── EMULATORS\
├── SW.BAT (lists EMULATORS directory)
└── DOS\
├── SW.BAT (navigates to DOS\SHAREWRE and lists files)
├── DOOM\ → Archive.org — The Ultimate Doom
├── DUKE2\ → Archive.org — Duke Nukem II
├── ZORK\ → Archive.org — Zork I
├── GALAXY\ → Archive.org — Commander Keen: Goodbye Galaxy
├── OOTW\ → Archive.org — Out of This World
├── EPICPIN\ → Archive.org — Epic Pinball
├── TYRIAN\ → Archive.org — Tyrian 2.1
├── SC2KCD\ → Archive.org — SimCity 2000 CD
├── WOLF3D\ → ClassicReload — Wolfenstein 3D
└── SHAREWRE\ (150+ shareware titles via ClassicDOSGames.com)
The EMULATORS directory is designed to grow. New platform subdirectories (e.g. ARCADE, WIN16, CONSOLE) can be added alongside DOS. See Customising the Filesystem for how to add them.
Each file in the fs array is a JavaScript object with:
| Property | Type | Description |
|---|---|---|
name |
string | Filename (e.g. doom.exe, autoexec.bat) |
link |
string | Online emulator URL — opens in a new tab when executed |
data |
string | Batch script commands (newline-separated) |
Files with link launch the emulator in a new tab. Files with data and a .bat extension run as batch scripts.