Skip to content

Project Overview

Retro Jack edited this page Mar 26, 2026 · 49 revisions

Project Overview

LGR-DOS is a browser-based DOS prompt simulator used as an online emulator launcher. It presents visitors with an interactive DOS environment where they can browse and launch emulated titles running in the browser via Archive.org, ClassicReload, and similar services. It also hosts links to LGR's social channels.

How It Works

  1. index.html — Splash page. Auto-redirects to prompt/index.html after 2 seconds.
  2. prompt/index.html — The full DOS simulator. Loads in the browser, no server-side code required.

On load, AUTOEXEC.BAT runs automatically, which navigates to C:\EMULATORS and lists its contents — dropping the user straight into the emulator library.

Technology

  • Pure HTML + JavaScript, no frameworks or dependencies beyond classList.min.js (IE polyfill).
  • Characters are rendered as individual <div> elements using a bitmap font sprite sheet (img/f12.7.png).
  • The virtual filesystem is a plain JavaScript object tree defined directly in the HTML.
  • Supports keyboard input, command history (up/down arrows), and batch script execution.
  • Launching a title opens the online emulator URL in a new browser tab.

Clone this wiki locally