Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

179 lines (170 sloc) 7.552 kb
<!DOCTYPE html>
<html>
<head>
<title>carrot16</title>
<script type="text/javascript" src="js/lib/jquery-1.8.3.js"></script>
<script type="text/javascript" src="js/lib/jquery.hotkeys.js"></script>
<script type="text/javascript" src="js/lib/bootstrap-2.2.2.min.js"></script>
<script type="text/javascript" src="js/lib/sprintf-0.7-beta1.js"></script>
<script type="text/javascript" src="js/lib/d16asm.js"></script>
<script type="text/javascript" src="js/built/emulator.js"></script>
<script type="text/javascript" src="js/built/ui.js"></script>
<script type="text/javascript" src="js/built/webui.js"></script>
<link rel="stylesheet" href="css/bootstrap-2.2.2.css" />
<link rel="stylesheet" href="css/carrot16.css" />
<link rel="stylesheet" href="css/editor.css" />
<link rel="shortcut icon" type="image/png" href="./images/carrot.png" />
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<ul class="nav">
<li>
<a class="brand" href="#">
<img src="images/carrot.png" class="navbar-image"></img>
carrot16
</a>
</li>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown">
File
<b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li>
<a id="menu-new">New code<span class="pull-right">&#x25c6;N</span></a>
</li>
<li>
<a id="menu-load">Open...<span class="pull-right">&#x25c6;O</span></a>
</li>
<li>
<a id="menu-rename">Rename...<span class="pull-right">&#x25c6;R</span></a>
</li>
<li>
<a id="menu-save">Save (download) &nbsp;&nbsp;<span class="pull-right">&#x25c6;S</span></a>
</li>
<li class="divider"></li>
<li>
<a id="menu-load-image">Open memory image...</a>
</li>
<li>
<a id="menu-save-image">Save memory image</a>
</li>
<li>
<a id="menu-disassemble">Disassemble<span class="pull-right">&#x25c6;D</span></a>
</li>
<li class="divider"></li>
<li>
<a id="menu-close">Close tab<span class="pull-right">&#x25c6;W</span></a>
</li>
</ul>
</li>
<li class="divider-vertical"></li>
<li id="tab-memory" class="tab">
<a href="#">Memory</a>
</li>
<li id="code-tab-prototype">
<a href="#">(untitled)</a>
</li>
</ul>
</div>
</div>
<div class="navbar-spacer"></div>
<div class="row-fluid main noscroll" id="body">
<!-- panel with monitor and debugging -->
<div id="right_panel">
<div class="screen_frame">
<canvas id="screen" width="384" height="288"></canvas>
<img id="loading_overlay" src="images/nya-elek.png" width="384" height="288" />
<img id="static_overlay" src="images/static.gif" width="384" height="288" />
<img id="fire_overlay" src="images/animated-fire.gif" />
</div>
<div class="notice">Keyboard input is available while the program is running.</div>
<div class="row-fluid buttons">
<div class="span4">
<!-- this is really evil. it's to get around rendering bugs in chrome for "file" inputs -->
<div id="load_hack">
<button class="btn btn-success" onclick="run()" id="button_run">&#8595; Run (F2)</button>
<input type="file" id="load_input" />
</div>
</div>
<div class="span4">
<button class="btn" onclick="step()">&#8618; Step (F3)</button>
</div>
<div class="span4">
<button class="btn" onclick="stepOver()">&#x2198; Over (F4)</button>
</div>
</div>
<div class="row-fluid buttons">
<div class="span4">
<button class="btn" id="button_reset" onclick="reset()">&#8634; Reset (F1)</button><br/>
</div>
</div>
<div class="registers">
<table border=0 class="mono">
<tr>
<td class="reg_name pointer" id="PC">PC</td><td id="regPC" class="r_pc pointer editable">0</td>
<td class="reg_name pointer" id="SP">SP</td><td id="regSP" class="r_sp pointer editable">0</td>
<td class="reg_name pointer" id="IA">IA</td><td id="regIA" class="r_ia pointer editable">0</td>
<td rowspan=5 id="cpu_heat_box">
<canvas id="cpu_heat" height="100" width="1"></canvas>
</td>
</tr>
<tr>
<td class="reg_name pointer" id="A">A</td><td id="regA" class="pointer editable">0</td>
<td class="reg_name pointer" id="B">B</td><td id="regB" class="pointer editable">0</td>
<td class="reg_name pointer" id="C">C</td><td id="regC" class="pointer editable">0</td>
</tr>
<tr>
<td class="reg_name pointer" id="X">X</td><td id="regX" class="pointer editable">0</td>
<td class="reg_name pointer" id="Y">Y</td><td id="regY" class="pointer editable">0</td>
<td class="reg_name pointer" id="Z">Z</td><td id="regZ" class="pointer editable">0</td>
</tr>
<tr>
<td class="reg_name pointer" id="I">I</td><td id="regI" class="pointer editable">0</td>
<td class="reg_name pointer" id="J">J</td><td id="regJ" class="pointer editable">0</td>
<td class="reg_name pointer"></td>
</tr>
<tr>
<td class="reg_name pointer" id="EX">EX</td><td id="regEX" class="pointer editable">0</td>
<td colspan=4 class="cycles"><span id="cycles">0</span> cycles</td>
</tr>
</table>
</div>
</div>
<!-- panel with active tab -->
<div class="noscroll" id="left_panel">
<!-- prototype editor pane -->
<div class="pane pane-editor" id="codeview-prototype">
<div class="editor">
<div class="editor-text-background editor-side-padding"></div>
<div class="editor-scroll">
<div class="editor-highlight-line editor-highlight-line-cursor"></div>
<div class="editor-highlight-line code-pc-line"></div>
<div class="editor-gutter editor-mono"></div>
<div class="editor-listing editor-mono"></div>
<div class="editor-text editor-side-padding editor-mono editable" tabindex="-1">
<div class="editor-cursor"></div>
</div>
</div>
</div>
</div>
<!-- memory view pane -->
<div class="pane noscroll" id="pane-memory" tabindex="-1">
<div id="memory-addr-background"></div>
<div id="memory-dump-background"></div>
<div id="memory-view" class="noscroll" onscroll="webui.MemView.update()">
<div id="memory-scroller">
<div class="mono" id="memory-addr"></div>
<div class="mono" id="memory-dump"></div>
</div>
</div>
</div>
</div>
</div>
<div class="row-fluid log_frame" id="log_frame">
<div class="span12" id="log">
</div>
</div>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.