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;
font-family: "Andale Mono", "Menlo", "Lucida Console", monospace;
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);
}
div.mem_info a {
@ -316,12 +314,11 @@ a.dropdown-toggle:hover {
font-weight: 400;
}
div.replaydiv {
position:absolute;
padding:15px;
left:50%;
width:100%;
bottom:0;
right:0;
background-color: #666;
z-index:1;
background-color: #333;
padding:0.5em;
}
.slider {
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)
- break on BRK/illegal opcode?
- multiple breakpoints, expression breakpoints
- better disasm/listing selection
- watchpoints
- breakpoints
- debug inspector
- MAME single step (?)
- step over
- slowdown beam for all platforms?
- more kbd shortcuts
- PC x86 support
- show errors in list (maybe window list?)
- can't see 1st line in editor sometimes (when scrolling cursor past bottom of screen)
@ -47,7 +45,6 @@ TODO:
- navigator.getGamepads
- VCS library
- better VCS single stepping, maybe also listings
- New File (include file)
- VCS skips step on lsr/lsr after run to line
- bring back the profiler!
- links to external tools in ide
@ -56,7 +53,6 @@ TODO:
- why loadState() on verilog kill perf?
- click to break on raster position
- restructure src/ folders
- spinner disappears sometimes (and compiles even when not spinning...) (undo?)
- quantify verilog "graph iterations"
- debug bankswitching for funky formats
- 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
- requestInterrupt needs to be disabled after breakpoint?
- verilog: when paused scope doesn't work
- resize memory dump window
- C/asm formatter
- fix WebAudio (https://news.ycombinator.com/item?id=18066474)
- Safari: verilog scope doesn't work
- share playable link w/ verilog?
- allow download of JSASM output
- update bootstrap/jquery
- update bootstrap
- clean BOM from verilog
- $readmemb/h
- maybe don't have grey space with line numbers until inline ASM used?
- batariBasic: proper line numbers, listing, syntax highlighting
- batariBasic: proper line numbers, debugging
- show player controls for each platform, allow touch support
- granular control over time scrubbing, show CPU state
- error showing replay div before rom starts
- compiler flags for final ROM build
- coleco sprites need brev
- workermain: split build functions, better msg types
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>
&nbsp;
<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>
<ul class="dropdown-menu pull-right" aria-labelledby="dropdownMenuButton">
<li>
@ -202,12 +202,6 @@ if (window.location.host.endsWith('8bitworkshop.com')) {
<div id="workspace">
</div>
<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 style="display:flex">
<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>
</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 id="mem_info" class="mem_info" style="display:none">
</div>

View File

@ -71,7 +71,7 @@ export class SourceEditor implements ProjectView {
}
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';
this.editor = CodeMirror(parent, {
theme: 'mbo',