Skip to content

Commit

Permalink
Update example_console.html
Browse files Browse the repository at this point in the history
  • Loading branch information
textfiles committed Apr 14, 2015
1 parent 9af9f08 commit 4307d8e
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions example_console.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
<!-- The Emularity: An Example Console Loader -->
<!-- For use with The Emularity, downloadable at http://www.emularity.com/ -->

<!-- SIMPLE STEPS to trying an emulated console ("Halo 2600" for the Atari VCS) -->

<!-- * 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 <file>" to download emulators/jsmess/messa2600.js.gz;
if you don't have git-annex you can download it from IA manually
(https://archive.org/download/emularity_engine_jsmame/messa2600.js.gz) -->
<!-- * Download the Halo 2600 from https://archive.org/download/atari_2600_halo_2600/atari_2600_halo_2600.bin -->
<!-- * Place the atari_2600_halo_2600.bin file in an "examples" subdirectory. -->
<!-- * Visit your example_console.html file with a modern Javascript-capable browser. -->

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Expand All @@ -14,13 +30,13 @@
new JSMESSLoader(JSMESSLoader.driver("a2600"),
JSMESSLoader.nativeResolution(352, 223),
JSMESSLoader.emulatorJS("emulators/jsmess/messa2600.js"),
JSMESSLoader.mountFile("Pitfall_Activision_1982.bin",
JSMESSLoader.mountFile("atari_2600_halo_2600.bin",
JSMESSLoader.fetchFile("Game File",
"examples/Pitfall_Activision_1982.bin")),
"examples/atari_2600_halo_2600.bin")),
JSMESSLoader.mountFile("a2600.cfg",
JSMESSLoader.fetchFile("Config File",
"examples/a2600.cfg")),
JSMESSLoader.peripheral("cart", "Pitfall_Activision_1982.bin")))
JSMESSLoader.peripheral("cart", "atari_2600_halo_2600.bin")))
emulator.setScale(3).start({ waitAfterDownloading: true });
</script>
</body>
Expand Down

0 comments on commit 4307d8e

Please sign in to comment.