-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathkeys_of_kraal.html
88 lines (71 loc) · 3.04 KB
/
keys_of_kraal.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!DOCTYPE HTML>
<html manifest="cache-manifest.manifest">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<!-- JSNascom: A Nascom 2 emulator in JavaScript
Copyright (C) 2011 Tommy Thorn
Contact details: <nascomhomepage@thorn.ws>
based on
JSSpeccy: A ZX Spectrum emulator in Javascript
Copyright (C) 2009 Matthew Westcott
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Contact details: <matthew@west.co.tt>
Matthew Westcott, 14 Daisy Hill Drive, Adlington, Chorley,
Lancs PR6 9NE UNITED KINGDOM -->
<head>
<title>JavaScript Nascom 2 Emulator Keys of Kraal</title>
<!-- Tricks and help from
http://matt.might.net/articles/how-to-native-iphone-ipad-apps-in-javascript/
-->
<!-- use apple-touch-icon-precomposed to avoid the glossy finish,
alternative is apple-touch-icon -->
<link rel="apple-touch-icon-precomposed"
href="images/appIcon.png" />
<link rel="apple-touch-startup-image"
href="images/default.png" />
<!-- Prevent scaling -->
<meta name = "viewport" content = "user-scalable=no, width=device-width" />
<!-- Eliminate url and button bars if added to home screen -->
<meta name="apple-mobile-web-app-capable" content="yes" />
<!-- Choose how to handle the phone status bar -->
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<style>
body {
margin: 0px ;
}
</style>
<script>
// To be called when there's a move event on the body itself:
function BlockMove(event) {
// Tell Safari not to move the window.
event.preventDefault() ;
}
</script>
<script type="text/javascript" src="rom_font.js"></script>
<script type="text/javascript" src="rom_monitor.js"></script>
<script type="text/javascript" src="rom_basic.js"></script>
<script type="text/javascript" src="z80/z80_full.js"></script>
<script type="text/javascript" src="z80/z80_ops_full.js"></script>
<script type="text/javascript" src="repo.js"></script>
<script type="text/javascript" src="nascom.js"></script>
</head>
<body onload="nascom_init(); start_keys();" onUnload="nascom_unload();">
<h1>JavaScript Nascom 2 Emulator Keys of Kraal</h1>
<table border="0">
<tr valign="top"><td>
<!-- <h1>Nascom 2</h1> -->
<canvas id="screen" width="384" height="240"></canvas>
<td>
<!-- KBD: <input id="t1" autocapitalize="off" value="" size=6 onchange="form_enter();"><br> -->
<button id="reset">Reset</button>
</table>
</body>
</html>