Tying up some loose ends

This commit is contained in:
2023-03-11 16:43:01 -06:00
parent b77f2a5ab1
commit 1cc268e5d0
5 changed files with 28 additions and 19 deletions
+5 -5
View File
@@ -77,7 +77,7 @@ class CPU extends Toolkit.Window {
// Processing by key: CTRL up
else switch (e.key) {
case "F10":
this.debug.app.runNext(this.index, { refresh: true });
this.debug.app.runToNext(this.index, { refresh: true });
break;
case "F11":
this.debug.app.singleStep(this.index, { refresh: true });
@@ -431,7 +431,7 @@ class DisassemblerPane extends Toolkit.ScrollPane {
// Ensure PC is visible in the view
followPC(pc = null) {
let tall = this.tall(false);
let tall = this.tall(true);
let count = !this.dasm ? 0 : Math.min(this.dasm.length - 10, tall);
// Determine whether PC already is visible
@@ -563,7 +563,7 @@ class DisassemblerPane extends Toolkit.ScrollPane {
// Configure layout
this.view.element.style.gridTemplateColumns =
"repeat(" + (showBytes + 3) + ", max-content)";// auto";
"repeat(" + (showBytes + 3) + ", max-content)";
}
// Stop receiving updates from the simulation
@@ -1249,7 +1249,7 @@ class RegisterPane extends Toolkit.SplitPane {
this.scrSystem = new Toolkit.ScrollPane(cpu.debug.app, {
class : "tk scroll-pane scr-system",
overflowX: "auto",
overflowY: "scroll",
overflowY: "auto",
view : this.lstSystem,
style : {
position: "relative"
@@ -1271,7 +1271,7 @@ class RegisterPane extends Toolkit.SplitPane {
this.scrProgram = new Toolkit.ScrollPane(cpu.debug.app, {
class : "tk scroll-pane scr-program",
overflowX: "auto",
overflowY: "scroll",
overflowY: "auto",
view : this.lstProgram
});
this.secondary = this.scrProgram;