mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2025-01-12 15:30:15 +00:00
probe: only show value for certain ops
This commit is contained in:
parent
313dc2f863
commit
167b5aa2d8
@ -122,6 +122,7 @@ import { Probeable, ProbeAll } from "./devices";
|
||||
export enum ProbeFlags {
|
||||
CLOCKS = 0x00000000,
|
||||
EXECUTE = 0x01000000,
|
||||
HAS_VALUE = 0x10000000,
|
||||
MEM_READ = 0x12000000,
|
||||
MEM_WRITE = 0x13000000,
|
||||
IO_READ = 0x14000000,
|
||||
|
@ -1661,10 +1661,16 @@ function showWelcomeMessage() {
|
||||
// Instance the tour
|
||||
var is_vcs = platform_id.startsWith('vcs');
|
||||
var steps = [
|
||||
{
|
||||
element: "#dropdownMenuButton",
|
||||
placement: 'right',
|
||||
title: "Cookie Consent",
|
||||
content: 'Before we start, we should tell you that this website stores cookies and other data in your browser. You can review our <a href="/privacy.html" target="_new">privacy policy</a>.'
|
||||
},
|
||||
{
|
||||
element: "#platformsMenuButton",
|
||||
placement: 'right',
|
||||
title: "Welcome to 8bitworkshop!",
|
||||
title: "Platform Selector",
|
||||
content: "You're currently on the \"<b>" + platform_id + "</b>\" platform. You can choose a different one from the menu."
|
||||
},
|
||||
{
|
||||
|
@ -913,7 +913,7 @@ abstract class ProbeViewBaseBase {
|
||||
default: return "";
|
||||
}
|
||||
if (typeof addr == 'number') s += " " + this.addr2str(addr);
|
||||
if (typeof value == 'number') s += " = $" + hex(value,2);
|
||||
if ((op & ProbeFlags.HAS_VALUE) && typeof value == 'number') s += " = $" + hex(value,2);
|
||||
return s;
|
||||
}
|
||||
getOpRGB(op:number) : number {
|
||||
|
Loading…
x
Reference in New Issue
Block a user