v6502/vm/machine.html

67 lines
3 KiB
HTML

<!--
6502 Based Virtual Computer
Copyright (C) 2011 Scott C. Duensing <scott@jaegertech.com>
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 2 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, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-->
<html>
<head>
<!--
<script src="https://getfirebug.com/firebug-lite.js" type="text/javascript" language="javascript"></script>
<script src="ConsoleDummy.js" type="text/javascript" language="javascript"></script>
-->
<title>Virtual Computer Test</title>
<script src="computer/ram.js" type="text/javascript" language="javascript"></script>
<script src="computer/cpu6502.js" type="text/javascript" language="javascript"></script>
<script src="computer/textDisplayCanvas.js" type="text/javascript" language="javascript"></script>
<script src="computer/keyboard.js" type="text/javascript" language="javascript"></script>
<script src="computer/prng.js" type="text/javascript" language="javascript"></script>
<script src="computer/clock.js" type="text/javascript" language="javascript"></script>
<!-- script src="software/basic-v6502.js" type="text/javascript" language="javascript"></script -->
<!-- script src="software/6502_functional_test.js" type="text/javascript" language="javascript"></script -->
<script src="software/krusader-v6502.js" type="text/javascript" language="javascript"></script>
<script src="lzwCompress.js" type="text/javascript" language="javascript"></script>
<script src="utils.js" type="text/javascript" language="javascript"></script>
</head>
<body>
<table border="0" cellspacing="5" style="margin-left:auto; margin-right:auto;">
<tr>
<td colspan="2">
<div id="display"></div>
</td>
<td valign="top" align="center">
<p>Memory X-Ray</p>
<div id="memory" style="border:1px solid black;"></div>
</td>
</tr><tr>
<td>
<input type="button" value="Save Snapshot" onclick="javascript:util.saveSnapshot();">
<input type="button" value="Load Snapshot" onclick="javascript:util.loadSnapshot();">
</td>
<td>
<input type="button" id="PauseButton" value="Pause Computer" onclick="javascript:util.toggleCPU('PauseButton');">
</td>
<td align="right">
<input type="button" value="Load Paste Box Contents" onclick="javascript:util.loadPasteBox('PasteBox');">
</td>
</tr><tr>
<td colspan="3" align="center">
<textarea id="PasteBox" cols="125" rows="10"></textarea>
</td>
</tr>
</table>
<script src="machine.js" type="text/javascript" language="javascript"></script>
</body>
</html>