Skip to content

Instantly share code, notes, and snippets.

@db48x
Created July 29, 2016 02:56
Show Gist options
  • Select an option

  • Save db48x/4e723fe2d7e9596321fe1380443ee76e to your computer and use it in GitHub Desktop.

Select an option

Save db48x/4e723fe2d7e9596321fe1380443ee76e to your computer and use it in GitHub Desktop.
amiga example
var emulator = new Emulator(document.querySelector("#canvas"),
null,
new AMIGALoader(AMIGALoader.model("A2000"),
AMIGALoader.nativeResolution(720, 568),
AMIGALoader.emulatorJS("emulators/amiga/amiga.js"),
AMIGALoader.mountFile("Kickstart v3.1 r40.63 (1993)(Commodore)(A500-A600-A2000)[!].rom",
AMIGALoader.fetchFile("Bios",
"examples/Kickstart v3.1 r40.63 (1993)(Commodore)(A500-A600-A2000)[!].rom")),
AMIGALoader.rom("Kickstart v3.1 r40.63 (1993)(Commodore)(A500-A600-A2000)[!].rom"),
AMIGALoader.mountFile("17Bit-Cyclic.adf",
AMIGALoader.fetchFile("Game",
"examples/17Bit-Cyclic.adf")),
AMIGALoader.floppy(0, "17Bit-Cyclic.adf")))
emulator.setScale(3).start({ waitAfterDownloading: true });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment