mirror of
https://github.com/whscullin/apple2js.git
synced 2024-01-12 14:14:38 +00:00
Add reset button
This commit is contained in:
parent
212db7cc77
commit
c2083ce2f4
@ -58,6 +58,7 @@
|
|||||||
<script type="text/javascript" src="js/disk2.js"></script>
|
<script type="text/javascript" src="js/disk2.js"></script>
|
||||||
<script type="text/javascript" src="js/ramfactor.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/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/cpu6502.js"></script>
|
||||||
<script type="text/javascript" src="js/base64.js"></script>
|
<script type="text/javascript" src="js/base64.js"></script>
|
||||||
<script type="text/javascript" src="js/ui/keyboard2e.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 disk2 = new DiskII(io, drivelights, 6);
|
||||||
var slot3 = new Slot3(mmu, rom);
|
var slot3 = new Slot3(mmu, rom);
|
||||||
var slinky = new RAMFactor(mmu, io, 2, 1024 * 1024);
|
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(1, parallel);
|
||||||
mmu.addSlot(2, slinky);
|
mmu.addSlot(2, slinky);
|
||||||
mmu.addSlot(3, slot3);
|
mmu.addSlot(3, slot3);
|
||||||
mmu.addSlot(6, disk2);
|
mmu.addSlot(6, disk2);
|
||||||
mmu.addSlot(7, clock);
|
// mmu.addSlot(7, clock);
|
||||||
|
mmu.addSlot(5, block);
|
||||||
|
|
||||||
cpu.addPageHandler(mmu);
|
cpu.addPageHandler(mmu);
|
||||||
|
|
||||||
@ -924,6 +927,7 @@ $(function() {
|
|||||||
<div class="inset">
|
<div class="inset">
|
||||||
<div id="khz" onclick="showFPS = !showFPS">0KHz</div>
|
<div id="khz" onclick="showFPS = !showFPS">0KHz</div>
|
||||||
<input type="button" value="Pause" onclick="pauseRun(this)" />
|
<input type="button" value="Pause" onclick="pauseRun(this)" />
|
||||||
|
<input type="button" value="Reset" onclick="reset()" />
|
||||||
<div style="float: right">
|
<div style="float: right">
|
||||||
<input type="button" onclick="window.open('about.html','_html')"
|
<input type="button" onclick="window.open('about.html','_html')"
|
||||||
name="About" value="About">
|
name="About" value="About">
|
||||||
|
Loading…
Reference in New Issue
Block a user