Add reset button

This commit is contained in:
Will Scullin 2014-01-05 10:31:29 -08:00
parent 212db7cc77
commit c2083ce2f4

View File

@ -58,6 +58,7 @@
<script type="text/javascript" src="js/disk2.js"></script>
<script type="text/javascript" src="js/ramfactor.js"></script>
<script type="text/javascript" src="js/thunderclock.js"></script>
<script type="text/javascript" src="js/block.js"></script>
<script type="text/javascript" src="js/cpu6502.js"></script>
<script type="text/javascript" src="js/base64.js"></script>
<script type="text/javascript" src="js/ui/keyboard2e.js"></script>
@ -251,13 +252,15 @@ var parallel = new Parallel(io, new Printer(), 1);
var disk2 = new DiskII(io, drivelights, 6);
var slot3 = new Slot3(mmu, rom);
var slinky = new RAMFactor(mmu, io, 2, 1024 * 1024);
var clock = new Thunderclock(mmu, io, 7);
// var clock = new Thunderclock(mmu, io, 7);
var block = new Block(io, null, 5);
mmu.addSlot(1, parallel);
mmu.addSlot(2, slinky);
mmu.addSlot(3, slot3);
mmu.addSlot(6, disk2);
mmu.addSlot(7, clock);
// mmu.addSlot(7, clock);
mmu.addSlot(5, block);
cpu.addPageHandler(mmu);
@ -924,6 +927,7 @@ $(function() {
<div class="inset">
<div id="khz" onclick="showFPS = !showFPS">0KHz</div>
<input type="button" value="Pause" onclick="pauseRun(this)" />
<input type="button" value="Reset" onclick="reset()" />
<div style="float: right">
<input type="button" onclick="window.open('about.html','_html')"
name="About" value="About">