Skip to content

Project Overview

Retro-Jack edited this page May 10, 2026 · 49 revisions

Project Overview

GenX-DOS is a static page that recreates a 1990s DOS prompt in the browser. Visitors land at a fake BIOS POST screen, get dropped into a C:\> prompt, and navigate numbered menus to launch emulated games — all running locally in the page.

Boot flow

  1. index.html — fake Award BIOS POST. Redirects to prompt/ after 4s.
  2. prompt/index.html — the DOS terminal.
  3. On load, init() wires up the keyboard and runs AUTOEXEC.BAT.
  4. AUTOEXEC.BAT runs three commands in sequence — c: (cd to root), cls (clear), menu (run menu.bat) — which renders the boot configuration table and the root EMULATOR LAUNCHER menu.
  5. The user types a number (or a command name) to navigate.
  6. Selecting a game opens the emulator in a new tab via window.open.

Technology

  • Pure HTML + JavaScript. No build step, no frameworks, no dependencies.
  • Each visible character is its own <div> styled with a CSS background-position into a 12×12 CP437 sprite sheet.
  • The virtual filesystem is a JS object tree (prompt/javascript/fs.js).
  • Seven copied emulators live under emulators/ with bundled local ROMs/discs — BBC Micro, Acorn Archimedes, NES, Sega Genesis, Atari 2600, MS-DOS, and MSX (MSX1/MSX2/MSX2+). See Emulators.

Clone this wiki locally