-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathq8a.html
127 lines (122 loc) · 5.74 KB
/
q8a.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<link href="ie10-viewport-bug-workaround.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="scrolling-nav.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<script defer src="pos.js"></script>
<script defer src="lz-string.js"></script>
<script defer src="vm.js"></script>
<script defer src="assembler.js"></script>
<script defer src="q8.js"></script>
</head>
<body id="page-top" data-target=".navbar-fixed-top" onload="start_q8()">
<nav class="navbar navbar-inverse navbar-fixed-top top-nav-collapse">
<div class="container">
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
</button>
<a class="navbar-brand page-scroll" href="index.html">Quine8</a>
<a class="navbar-brand page-scroll" id="back" href="divisor.html">Previous</a>
<a class="navbar-brand page-scroll" id="next" href="next.html">Next</a>
</div>
</div>
</nav>
<section>
<div style="text-align: center; margin-top: 5em;">
<h1>Quine8</h1>
<h4 style="color: #909090; margin-bottom: -0.5em;">Your URL is your saved program. Keep it safe and share it with your friends!</h4>
<h5 style="color: #B0B0B0; margin-bottom: 1.5em;">If you are looking for an instruction table, scroll down, or expand the browser window</h5>
<div id="challenge_box" hidden>
<h4 id="challenge_desc" style="margin-top: -0.5em;">This is a challenging challenge</h4>
<button type="button" id="prev_challenge" style="margin-bottom: 1em;">Prev Challenge</button>
<button type="button" id="reset_challenge" style="margin-bottom: 1em;">Reset Challenge</button>
<button type="button" id="next_challenge" style="margin-bottom: 1em;">Next Challenge</button>
</div>
<div class="my_container">
<div>
<div>
<div id="button_box">
<button type="button" id="step">Step</button>
<button type="button" id="start">Go/Stop</button>
<button type="button" id="reset">Reset</button>
<button type="button" id="clear">Clear</button>
<br>
<button type="button" id="tps_slow">Slow Speed</button>
<button type="button" id="tps_norm">Normal Speed</button>
<button type="button" id="tps_full">Full Speed</button>
<br>
<button type="button" id="switch_base">Decimal/Hex</button>
<button type="button" id="io_filter">Toggle I/O Highlight</button>
</div>
</div>
<div>
<div id="gl_div">
<canvas id="canvas" width="576" height="576">NOT SUPPORT!</canvas>
</div>
</div>
<table id="reg_box" style="margin-bottom: 5px; margin-left: 94.5px;">
<tr>
<td class="reg">Register A:</td><td class="regs" id="reg_a">0</td>
<td></td>
<td class="reg">Register B:</td><td class="regs" id="reg_b">0</td></tr>
</table>
<div id="flag_box">
<table>
<tr><td>Error: </td><td id="f_err">false</td></tr>
</table>
<table>
<tr><td>Z Flag: </td><td id="f_zero">false</td>
<td>Eq Flag: </td><td id="f_eq">false</td></tr>
<tr><td>G Flag: </td><td id="f_great">false</td>
<td>L Flag: </td><td id="f_less">false</td></tr>
</table>
<table>
<tr><td>JSP Enabled? </td><td id="f_stack_enabled">false</td>
<td style="padding-left: 0.5em;">JSP: </td><td id="f_jsp">0</td></tr>
</table>
</div>
<p id="debug"></p>
<br>
<table id="inputs" style="margin-top: -1.5em; margin-bottom: 0.5em;">
<thead><tr><th>User Input</th><th>Function</th></tr></thead>
<tr><td>Arrows Keys / Left Click</td><td>move tile selection box</td></tr>
</table>
</div>
<div id="asm_box">
<h3>Assembler Input</h3>
<textarea cols="40" rows="35" spellcheck=false id="asm_in"></textarea>
<p id="asm_err" style="color: #F00;"><br></p>
</div>
<div id="op_table_blob">
<div id="op_table_iso"></div>
</div>
</div>
</div>
</section>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="../../assets/js/vendor/jquery.min.js"><\/script>')</script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<link href="style.css" rel="stylesheet">
<script src="ie10-viewport-bug-workaround.js"></script>
<script src="jquery.easing.min.js"></script>
<script src="scrolling-nav.js"></script>
</body>
<footer style="margin-top: 4em; padding-bottom: 4em; background-color: #555"></footer>
</html>