From 14f3667e7e27d9ae73eeff57224830fed7345980 Mon Sep 17 00:00:00 2001 From: Steven Hugg Date: Mon, 2 Jan 2017 20:42:15 -0500 Subject: [PATCH] started on asteroids vector driver --- doc/notes.txt | 1 + index.html | 22 +-- src/emu.js | 198 +++++++++++++++++++++++ src/platform/apple2.js | 235 +++++++++++++++++++++++++++ src/platform/atarivec.js | 334 +++++++++++++++++++++++++++++++++++++++ src/platform/vcs.js | 12 +- src/ui.js | 40 +++-- src/util.js | 207 ++++++++++++++++++++++++ 8 files changed, 1022 insertions(+), 27 deletions(-) create mode 100644 src/emu.js create mode 100644 src/platform/apple2.js create mode 100644 src/platform/atarivec.js create mode 100644 src/util.js diff --git a/doc/notes.txt b/doc/notes.txt index 411cee67..26651923 100644 --- a/doc/notes.txt +++ b/doc/notes.txt @@ -22,3 +22,4 @@ TODO: - break on BRK/illegal opcode? - start analysis from vector address +cat ~/Downloads/appleiigo.rom | hexdump -v -e '"\n" 32/1 "%u,"' ; echo diff --git a/index.html b/index.html index 85af5fda..d15854b9 100644 --- a/index.html +++ b/index.html @@ -25,12 +25,12 @@ body { .gutter-info { width: 1em; } -.tooltip { +.tooltipbox { position: relative; display: inline-block; border-bottom: 1px dotted black; } -.tooltip .tooltiptext { +.tooltipbox .tooltiptext { visibility: hidden; width: 120px; background-color: black; @@ -43,7 +43,7 @@ body { position: absolute; z-index: 10; } -.tooltip:hover .tooltiptext { +.tooltipbox:hover .tooltiptext { visibility: visible; } #notebook { @@ -57,7 +57,7 @@ div.editor { bottom:0; right:0; width:50%; - height:100vh; + height:120vh; background-color:#999; line-height:1.25; font-size:12pt; @@ -67,16 +67,17 @@ div.emulator { left:50%; top:0; width:50%; - height:100vh; + height:120vh; overflow-y: scroll; background-color: #666; + margin-top: 20px auto 0; } div.mem_info { - position: absolute; + position: fixed; + left: 51%; bottom: 10px; background-color: #333; color: #66ff66; - left: 20px; white-space: pre; padding: 20px; z-index: 2; @@ -144,7 +145,7 @@ a.dropdown-toggle { -
+