Skip to content
Browse files

I hit up my local bbs for some warez

fixes #1
  • Loading branch information
db48x committed Apr 15, 2015
1 parent d132a37 commit 0c1326b2dbb6097f417a3f49e1441ff7c053e3b3
Showing with 43 additions and 4 deletions.
  1. +42 −4 example_dosbox.html
  2. +1 −0 examples/
@@ -1,3 +1,33 @@
The Emularity: An Example Computer Loader
For use with The Emularity, downloadable at
SIMPLE STEPS for trying an emulated computer ("Doom (shareware
edition)" for the PC).
* Check out this repository in your browser-accessible directory;
this file as well as es6-promise.js, browserfs.js and loader.js are
required. The logo and images directories are optional, but the
splash screen looks quite a lot better when they're available.
* Use "git annex get emulators/em-dosbox/dosbox-sync.js.gz" to download
the compiled emulator; if you don't have git-annex you can download
it from IA manually.
* Use "git annex get emulators/em-dosbox/dosbox-sync.mem.gz" to
download the compiled emulator's memory initialization file; if you
don't have git-annex you can download it from IA manually.
* Use "git annex get examples/"
to download the Doom v1.9 binaries; these can be downloaded from IA manually.
* Visit your example_dosbox.html file with a modern
Javascript-capable browser.

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
@@ -11,13 +41,21 @@
<script type="text/javascript">
var emulator = new Emulator(document.querySelector("#canvas"),
new DosBoxLoader(DosBoxLoader.emulatorJS("emulators/em-dosbox/dosbox.js"),
DosBoxLoader.nativeResolution(640, 400),
new DosBoxLoader(DosBoxLoader.emulatorJS("emulators/em-dosbox/dosbox-sync.js"),
DosBoxLoader.nativeResolution(640, 480),
DosBoxLoader.fetchFile("Game File",
emulator.start({ waitAfterDownloading: true });

function locateAdditionalFiles(filename) {
if (filename === "dosbox.html.mem") {
return "emulators/em-dosbox/dosbox-sync.mem";
return "emulators/em-dosbox/"+ filename;

0 comments on commit 0c1326b

Please sign in to comment.
You can’t perform that action at this time.