60 lines
1.4 KiB
HTML
60 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Javascript PC Emulator</title>
|
|
<style>
|
|
.term {
|
|
font-family: courier,fixed,swiss,monospace,sans-serif;
|
|
font-size: 14px;
|
|
color: #f0f0f0;
|
|
background: #000000;
|
|
}
|
|
|
|
.termReverse {
|
|
color: #000000;
|
|
background: #00ff00;
|
|
}
|
|
#note {
|
|
font-size: 12px;
|
|
}
|
|
#copyright {
|
|
font-size: 10px;
|
|
}
|
|
#clipboard {
|
|
font-size: 12px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body onload="start()">
|
|
<table border="0">
|
|
<tr valign="top"><td>
|
|
<script type="text/javascript" src="term.js"></script>
|
|
<script type="text/javascript">
|
|
<!--
|
|
function include(filename)
|
|
{
|
|
document.write('<script type="text/javascript" src="' + filename +
|
|
'"><' + '/script>');
|
|
}
|
|
function test_typed_arrays()
|
|
{
|
|
return (window.Uint8Array &&
|
|
window.Uint16Array &&
|
|
window.Int32Array &&
|
|
window.ArrayBuffer);
|
|
}
|
|
if (test_typed_arrays()) {
|
|
include("cpux86-ta.js");
|
|
} else {
|
|
include("cpux86.js");
|
|
document.write('<canvas id="dummy_canvas" width="1" height="1"></canvas>');
|
|
}
|
|
-->
|
|
</script>
|
|
<script type="text/javascript" src="jslinux.js"></script>
|
|
<div id="copyright">© 2011 Fabrice Bellard - <a href="news.html">News</a> - <a href="faq.html">FAQ</a> - <a href="tech.html">Technical notes</a></div>
|
|
<td><input type="button" value="Clear clipboard" onclick="clear_clipboard();"><br><textarea row="4" cols="16" id="text_clipboard"></textarea>
|
|
</table>
|
|
</body>
|
|
</html>
|