From 19a38a3c5e7bf7be1fe68d2244260cf7044a2197 Mon Sep 17 00:00:00 2001 From: Steven Hugg Date: Mon, 2 Jul 2018 07:34:20 -0600 Subject: [PATCH] support multiple workspace windows; //#link "file" --- css/ui.css | 34 +- doc/notes.txt | 5 + index.html | 22 +- presets/vicdual/pc437.c | 261 +++++++++++++ presets/vicdual/skeleton.sdcc | 5 +- src/project.js | 130 ++++--- src/ui.js | 685 ++++++++++++++++++++-------------- src/util.js | 5 + src/worker/workermain.js | 42 +-- test/cli/teststore.js | 15 +- test/cli/testworker.js | 11 +- 11 files changed, 835 insertions(+), 380 deletions(-) create mode 100644 presets/vicdual/pc437.c diff --git a/css/ui.css b/css/ui.css index 53eaea19..7138cb46 100644 --- a/css/ui.css +++ b/css/ui.css @@ -60,12 +60,20 @@ div.editor { line-height:1.25; font-size:12pt; } +div.memdump { + background-color: #333; + color: #66ff66; + white-space: pre; + margin-top: 20px auto 0; + font-family: "Andale Mono", "Menlo", "Lucida Console", monospace; + font-size: 10pt; +} div.debugwindow { position:absolute; left:50%; top:0; width:50%; - background-color: #666; + background-color: #333; color: #66ff66; white-space: pre; margin-top: 20px auto 0; @@ -133,9 +141,9 @@ div.booklink { } div.twitbtn { position: fixed; - bottom: 0; - left: 50%; - padding: 6px; + bottom: 0%; + right: 0%; + padding: 10px; } a { color:#333399; @@ -200,7 +208,7 @@ div.emulator { width:100%; height:100%; padding:5%; - background:#333; + background:#555; } .emuvideo { border-radius:20px; @@ -247,3 +255,19 @@ canvas.pixelated { border-style:solid; font-family: "Andale Mono", "Menlo", "Lucida Console", monospace; } +.nav-tabs > li > a.tab { + line-height: 1.0; +} +.twitter-follow-button, +.twitter-follow-button:focus { + border-width:3px; + border-color:#9999ff; + background-color:#333399; + border-style:solid; + font-family: "Andale Mono", "Menlo", "Lucida Console", monospace; + color:#77aaaa; + padding:6px; +} +.twitter-follow-button:hover { + color:#99ffff; +} diff --git a/doc/notes.txt b/doc/notes.txt index 98a6b472..886ab25c 100644 --- a/doc/notes.txt +++ b/doc/notes.txt @@ -11,6 +11,7 @@ TODO: - debugging inside of bank switching??? relocated segs? - support 6502 test cases - DASM: macro forward refs +- asm: support macro expansion (need addr2line map) - support narrow screens - show other TIA internal values - case sensisitvity looking for mismatch variables @@ -25,6 +26,7 @@ TODO: - watchpoints - breakpoints - debug inspector +- better debug buttons - MAME single step (?) - step over - slowdown beam for all platforms? @@ -33,6 +35,9 @@ TODO: - show errors in list - can't see 1st line in editor sometimes - online help +- show self-modifying code insns left of editor +- facade/kbd shortcuts for emulators, focus +- checkmarks in pulldown menus WEB WORKER FORMAT diff --git a/index.html b/index.html index 7f19b164..f57f8027 100644 --- a/index.html +++ b/index.html @@ -81,8 +81,18 @@ ga('send', 'pageview'); + + + + + + + @@ -106,8 +116,6 @@ ga('send', 'pageview'); - - @@ -135,10 +143,6 @@ ga('send', 'pageview');
-
-
-
-
- -