made replaydiv stretch properly; smaller verilog gutter

This commit is contained in:
Steven Hugg 2018-11-26 16:14:23 -05:00
parent 8deda746fa
commit 958e20c700
4 changed files with 16 additions and 24 deletions

View File

@ -93,8 +93,6 @@ div.mem_info {
z-index: 12; z-index: 12;
font-family: "Andale Mono", "Menlo", "Lucida Console", monospace; font-family: "Andale Mono", "Menlo", "Lucida Console", monospace;
font-size: 12pt; font-size: 12pt;
-webkit-box-shadow: 3px 3px 5px rgba(0,0,0,.5);
-moz-box-shadow: 3px 3px 5px rgba(0,0,0,.5);
box-shadow: 3px 3px 5px rgba(0,0,0,.5); box-shadow: 3px 3px 5px rgba(0,0,0,.5);
} }
div.mem_info a { div.mem_info a {
@ -316,12 +314,11 @@ a.dropdown-toggle:hover {
font-weight: 400; font-weight: 400;
} }
div.replaydiv { div.replaydiv {
position:absolute; width:100%;
padding:15px;
left:50%;
bottom:0; bottom:0;
right:0; z-index:1;
background-color: #666; background-color: #333;
padding:0.5em;
} }
.slider { .slider {
margin-left: 1em; margin-left: 1em;

View File

@ -15,14 +15,12 @@ TODO:
- can't step after reset (or when funky frame; TIA frame is out of sync) - can't step after reset (or when funky frame; TIA frame is out of sync)
- break on BRK/illegal opcode? - break on BRK/illegal opcode?
- multiple breakpoints, expression breakpoints - multiple breakpoints, expression breakpoints
- better disasm/listing selection
- watchpoints - watchpoints
- breakpoints - breakpoints
- debug inspector - debug inspector
- MAME single step (?) - MAME single step (?)
- step over - step over
- slowdown beam for all platforms? - slowdown beam for all platforms?
- more kbd shortcuts
- PC x86 support - PC x86 support
- show errors in list (maybe window list?) - show errors in list (maybe window list?)
- can't see 1st line in editor sometimes (when scrolling cursor past bottom of screen) - can't see 1st line in editor sometimes (when scrolling cursor past bottom of screen)
@ -47,7 +45,6 @@ TODO:
- navigator.getGamepads - navigator.getGamepads
- VCS library - VCS library
- better VCS single stepping, maybe also listings - better VCS single stepping, maybe also listings
- New File (include file)
- VCS skips step on lsr/lsr after run to line - VCS skips step on lsr/lsr after run to line
- bring back the profiler! - bring back the profiler!
- links to external tools in ide - links to external tools in ide
@ -56,7 +53,6 @@ TODO:
- why loadState() on verilog kill perf? - why loadState() on verilog kill perf?
- click to break on raster position - click to break on raster position
- restructure src/ folders - restructure src/ folders
- spinner disappears sometimes (and compiles even when not spinning...) (undo?)
- quantify verilog "graph iterations" - quantify verilog "graph iterations"
- debug bankswitching for funky formats - debug bankswitching for funky formats
- spaces in filename don't parse code listing (DASM, maybe more) - spaces in filename don't parse code listing (DASM, maybe more)
@ -65,21 +61,20 @@ TODO:
- astrocade: run to cursor in hello world messes up emulation - astrocade: run to cursor in hello world messes up emulation
- requestInterrupt needs to be disabled after breakpoint? - requestInterrupt needs to be disabled after breakpoint?
- verilog: when paused scope doesn't work - verilog: when paused scope doesn't work
- resize memory dump window
- C/asm formatter - C/asm formatter
- fix WebAudio (https://news.ycombinator.com/item?id=18066474) - fix WebAudio (https://news.ycombinator.com/item?id=18066474)
- Safari: verilog scope doesn't work
- share playable link w/ verilog? - share playable link w/ verilog?
- allow download of JSASM output - allow download of JSASM output
- update bootstrap/jquery - update bootstrap
- clean BOM from verilog - clean BOM from verilog
- $readmemb/h - $readmemb/h
- maybe don't have grey space with line numbers until inline ASM used? - batariBasic: proper line numbers, debugging
- batariBasic: proper line numbers, listing, syntax highlighting
- show player controls for each platform, allow touch support - show player controls for each platform, allow touch support
- granular control over time scrubbing, show CPU state - granular control over time scrubbing, show CPU state
- error showing replay div before rom starts - error showing replay div before rom starts
- compiler flags for final ROM build - compiler flags for final ROM build
- coleco sprites need brev
- workermain: split build functions, better msg types
WEB WORKER FORMAT WEB WORKER FORMAT

View File

@ -171,7 +171,7 @@ if (window.location.host.endsWith('8bitworkshop.com')) {
<span class="logo-gradient hidden-xs hidden-sm">8bitworkshop</span> <span class="logo-gradient hidden-xs hidden-sm">8bitworkshop</span>
&nbsp; &nbsp;
<a class="btn btn-secondary dropdown-toggle" id="booksMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <a class="btn btn-secondary dropdown-toggle" id="booksMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
&gt;GET BOOKS <span class="caret"></span> GET BOOKS <span class="caret"></span>
</a> </a>
<ul class="dropdown-menu pull-right" aria-labelledby="dropdownMenuButton"> <ul class="dropdown-menu pull-right" aria-labelledby="dropdownMenuButton">
<li> <li>
@ -202,12 +202,6 @@ if (window.location.host.endsWith('8bitworkshop.com')) {
<div id="workspace"> <div id="workspace">
</div> </div>
<div class="emulator" id="emulator"> <div class="emulator" id="emulator">
<div id="javatari-div" style="float:center;margin:10px;display:none">
<div id="javatari-screen" style="margin: 0 auto; box-shadow: 2px 2px 10px rgb(60, 60, 60);"></div>
<div id="javatari-console-panel" style="margin: 0 auto; box-shadow: 2px 2px 10px rgb(60, 60, 60);"></div>
</div>
<div id="emuoverlay" class="emuoverlay" style="display:none">
</div>
<div id="replaydiv" class="replaydiv" style="display:none"> <div id="replaydiv" class="replaydiv" style="display:none">
<div style="display:flex"> <div style="display:flex">
<button id="replay_min" type="button" title="Start of replay"><span class="glyphicon glyphicon-fast-backward" aria-hidden="true"></span></button> <button id="replay_min" type="button" title="Start of replay"><span class="glyphicon glyphicon-fast-backward" aria-hidden="true"></span></button>
@ -218,6 +212,12 @@ if (window.location.host.endsWith('8bitworkshop.com')) {
<button id="replay_max" type="button" title="End of replay"><span class="glyphicon glyphicon-fast-forward" aria-hidden="true"></span></button> <button id="replay_max" type="button" title="End of replay"><span class="glyphicon glyphicon-fast-forward" aria-hidden="true"></span></button>
</div> </div>
</div> </div>
<div id="javatari-div" style="float:center;margin:10px;display:none">
<div id="javatari-screen" style="margin: 0 auto; box-shadow: 2px 2px 10px rgb(60, 60, 60);"></div>
<div id="javatari-console-panel" style="margin: 0 auto; box-shadow: 2px 2px 10px rgb(60, 60, 60);"></div>
</div>
<div id="emuoverlay" class="emuoverlay" style="display:none">
</div>
</div> </div>
<div id="mem_info" class="mem_info" style="display:none"> <div id="mem_info" class="mem_info" style="display:none">
</div> </div>

View File

@ -71,7 +71,7 @@ export class SourceEditor implements ProjectView {
} }
newEditor(parent:HTMLElement) { newEditor(parent:HTMLElement) {
var isAsm = this.mode=='6502' || this.mode =='z80' || this.mode=='verilog' || this.mode=='gas'; // TODO var isAsm = this.mode=='6502' || this.mode =='z80' || this.mode=='jsasm' || this.mode=='gas'; // TODO
var lineWrap = this.mode=='markdown'; var lineWrap = this.mode=='markdown';
this.editor = CodeMirror(parent, { this.editor = CodeMirror(parent, {
theme: 'mbo', theme: 'mbo',