-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
<title>example computer program</title> | ||
</head> | ||
<body> | ||
<canvas id="canvas" style="width: 50%; height: 50%; display: block; margin: 0 auto;"/> | ||
<script type="text/javascript" src="es6-promise.js"></script> | ||
<script type="text/javascript" src="browserfs.js"></script> | ||
<script type="text/javascript" src="loader.js"></script> | ||
<script type="text/javascript"> | ||
var emulator = new Emulator(document.querySelector("#canvas"), | ||
null, | ||
new SAELoader(SAELoader.model("A500"), | ||
SAELoader.fastMemory(2), | ||
SAELoader.nativeResolution(720, 568), | ||
SAELoader.emulatorJS("emulators/sae/scriptedamigaemulator.js"), | ||
SAELoader.mountFile("Kickstart v3.1 r40.63 (1993)(Commodore)(A500-A600-A2000)[!].rom", | ||
SAELoader.fetchFile("Bios", | ||
"examples/Kickstart v3.1 r40.63 (1993)(Commodore)(A500-A600-A2000)[!].rom")), | ||
SAELoader.rom("Kickstart v3.1 r40.63 (1993)(Commodore)(A500-A600-A2000)[!].rom"), | ||
SAELoader.mountFile("17Bit-Cyclic.adf", | ||
SAELoader.fetchFile("Game", | ||
"examples/17Bit-Cyclic.adf")), | ||
SAELoader.floppy(0, "17Bit-Cyclic.adf"))) | ||
emulator.setScale(3).start({ waitAfterDownloading: true }); | ||
</script> | ||
</body> | ||
</html> |
7acd3d8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where can i find the scriptedamigaemulator.js? What does it need to make this example to work?? where can i find the files??
7acd3d8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please accept my apologies, Manuel! I have indeed neglected to document this, but in the mean time you can clone the source code for SAE from https://github.com/naTmeg/ScriptedAmigaEmulator.