mirror of
https://github.com/mist64/perfect6502.git
synced 2024-12-28 11:31:50 +00:00
remove html crap
This commit is contained in:
parent
ca5fe121d5
commit
aacd2d2683
@ -1,5 +1,3 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<title>Visual 6502 in JavaScript</title>
|
<title>Visual 6502 in JavaScript</title>
|
||||||
<style type="text/css">@import "wires.css";</style>
|
<style type="text/css">@import "wires.css";</style>
|
||||||
@ -10,50 +8,10 @@
|
|||||||
<script src="chipsim.js"></script>
|
<script src="chipsim.js"></script>
|
||||||
<script src="memtable.js"></script>
|
<script src="memtable.js"></script>
|
||||||
<script src="macros.js"></script>
|
<script src="macros.js"></script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
function handleOnload() {
|
|
||||||
if((navigator.appName == 'Microsoft Internet Explorer') && (parseInt(navigator.appVersion,10)<9)){
|
|
||||||
document.getElementById('browsertrouble').innerHTML=
|
|
||||||
'<p>Sorry, '+navigator.appName+' not supported - showing you a picture instead!</p>';
|
|
||||||
document.getElementById('frame').innerHTML='<a href="browsertrouble.html"><img src="images/jssim2.png" style="border:10px"></a>';
|
|
||||||
}else{
|
|
||||||
setTimeout(setup,200);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body onload="handleOnload();">
|
<body onload="setTimeout(setup,200);">
|
||||||
<br />
|
|
||||||
<span id="title"><a href="http://visual6502.org">The Visual 6502</a></span>
|
|
||||||
<span id="plain">
|
|
||||||
<br />
|
|
||||||
<a href="http://www.visual6502.org/faq.html">FAQ</a>
|
|
||||||
<a href="http://blog.visual6502.org">Blog</a>
|
|
||||||
<a href="http://www.visual6502.org/links.html">Links</a> 
|
|
||||||
<br /><br />
|
|
||||||
This simulator uses HTML5 features only found on the latest versions of browsers and needs
|
|
||||||
lots of RAM. If you have trouble, please <a href="browsertrouble.html">check compatibility.</a>
|
|
||||||
<br />
|
|
||||||
<span id="browsertrouble"></span>
|
|
||||||
<br />
|
|
||||||
Hit '>' to zoom in, '<' to zoom out
|
|
||||||
<br />
|
|
||||||
Right-click to scroll around
|
|
||||||
<br />
|
|
||||||
Enter your own program into the array of RAM
|
|
||||||
<br />
|
|
||||||
<br />
|
|
||||||
</span>
|
|
||||||
<div class="frame" id="frame">
|
<div class="frame" id="frame">
|
||||||
<div class="chip" id="chip">
|
|
||||||
<canvas class="chip" id="chipbg"></canvas>
|
|
||||||
<canvas class="chip" id="overlay"></canvas>
|
|
||||||
<canvas class="chip" id="hilite"></canvas>
|
|
||||||
<canvas class="chip" id="hitbuffer"></canvas>
|
|
||||||
</div>
|
|
||||||
<div class = "buttons">
|
<div class = "buttons">
|
||||||
<div style="position:relative; float:left;">
|
<div style="position:relative; float:left;">
|
||||||
<a href ="javascript:stopChip()"id="stop"><img class="navstop" src="images/stop.png"></a>
|
<a href ="javascript:stopChip()"id="stop"><img class="navstop" src="images/stop.png"></a>
|
||||||
@ -68,17 +26,5 @@ Enter your own program into the array of RAM
|
|||||||
<p class="status" id="status">x: 0<br>y: 0</p>
|
<p class="status" id="status">x: 0<br>y: 0</p>
|
||||||
<table class="memtable" id="memtable"></table>
|
<table class="memtable" id="memtable"></table>
|
||||||
</div>
|
</div>
|
||||||
<div id="updateShow"> Show:
|
|
||||||
<input type="checkbox" name="0" id="updateShow0" onchange="updateShow(this.name,this.checked)" />(metal)
|
|
||||||
<input type="checkbox" name="1" id="updateShow1" onchange="updateShow(this.name,this.checked)" />(switched diffusion)
|
|
||||||
<input type="checkbox" name="3" id="updateShow3" onchange="updateShow(this.name,this.checked)" />(grounded diffusion)
|
|
||||||
<input type="checkbox" name="4" id="updateShow4" onchange="updateShow(this.name,this.checked)" />(powered diffusion)
|
|
||||||
<input type="checkbox" name="5" id="updateShow5" onchange="updateShow(this.name,this.checked)" />(polysilicon)
|
|
||||||
<input type="checkbox" name="2" id="updateShow2" onchange="updateShow(this.name,this.checked)" />(diode)
|
|
||||||
</div>
|
|
||||||
<br />
|
|
||||||
<br />
|
|
||||||
In addition to this JavaScript project, see our <a href="../python6502.html">Python-based simulator</a> which may be easier to customize, verify, and apply to the study of long programs.<br />
|
|
||||||
<br />
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
38
js/wires.css
38
js/wires.css
@ -35,35 +35,6 @@ div.frame {
|
|||||||
height: 600px;
|
height: 600px;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.chip {
|
|
||||||
background: lightgray;
|
|
||||||
border: 2px solid gray;
|
|
||||||
position: absolute;
|
|
||||||
width: 800px;
|
|
||||||
height: 600px;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
canvas.chip {
|
|
||||||
position: absolute;
|
|
||||||
width: 600px;
|
|
||||||
height: 600px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.buttons{
|
|
||||||
position: absolute;
|
|
||||||
top: -5px;
|
|
||||||
left: 820px;
|
|
||||||
}
|
|
||||||
|
|
||||||
p.status {
|
|
||||||
position: absolute;
|
|
||||||
left: 820px;
|
|
||||||
top: 20px;
|
|
||||||
font-family: monospace;
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
img.navbutton{
|
img.navbutton{
|
||||||
border: 0px;
|
border: 0px;
|
||||||
}
|
}
|
||||||
@ -79,15 +50,6 @@ img.navstop{
|
|||||||
border: 0px;
|
border: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
table.memtable {
|
|
||||||
position: absolute;
|
|
||||||
top: 78px;
|
|
||||||
left: 820px;
|
|
||||||
font-family: monospace;
|
|
||||||
font-size: 12px;
|
|
||||||
border-spacing: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#title {
|
#title {
|
||||||
font-size:30px;
|
font-size:30px;
|
||||||
font-weight:bold;
|
font-weight:bold;
|
||||||
|
Loading…
Reference in New Issue
Block a user