From 80da6cc1df74bf87f93fa19fca8e37ce8c3040de Mon Sep 17 00:00:00 2001 From: Andy McFadden Date: Sun, 21 Oct 2018 18:46:03 -0700 Subject: [PATCH] Replace symbol used to indicate embedded instructions We were using \u23e9, BLACK RIGHT-POINTING DOUBLE TRIANGLE, but neither Win7 SP1 nor Linux was able to display the glyph. It also gets all puffy in web browsers. We now use \u25bc, BLACK DOWN-POINTING TRIANGLE, which seems to work everywhere. It also feels more appropriate, because it appears next to the "containing" opcode, with the embedded instruction appearing on the following line. --- SourceGen/DisplayList.cs | 3 ++- SourceGen/RuntimeData/Help/intro.html | 6 +++--- SourceGen/RuntimeData/Help/mainwin.html | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/SourceGen/DisplayList.cs b/SourceGen/DisplayList.cs index d92bb14..b14cd54 100644 --- a/SourceGen/DisplayList.cs +++ b/SourceGen/DisplayList.cs @@ -1093,7 +1093,8 @@ namespace SourceGen { // $00 is followed by actual code. (But be a little freaked out that your // code is running into a BRK.) //opcodeStr = opcodeStr + " \u00bb"; // RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK - opcodeStr = opcodeStr + " \u23e9"; // BLACK RIGHT-POINTING DOUBLE TRIANGLE + //opcodeStr = opcodeStr + " \u23e9"; // BLACK RIGHT-POINTING DOUBLE TRIANGLE + opcodeStr = opcodeStr + " \u25bc"; // BLACK DOWN-POINTING TRIANGLE } string formattedOperand = null; diff --git a/SourceGen/RuntimeData/Help/intro.html b/SourceGen/RuntimeData/Help/intro.html index 6f4f15b..a3d42b7 100644 --- a/SourceGen/RuntimeData/Help/intro.html +++ b/SourceGen/RuntimeData/Help/intro.html @@ -246,9 +246,9 @@ end up with this:

          .ORG    $1000
          JMP     L1009
-         JMP ⏩  L10ef
-         BPL ⏩  L1053
-         JMP ⏩  L1230
+         JMP ▼   L10ef
+         BPL ▼   L1053
+         JMP ▼   L1230
          BMI     L101b
 L1009    CLC
 
diff --git a/SourceGen/RuntimeData/Help/mainwin.html b/SourceGen/RuntimeData/Help/mainwin.html index 1aad0dc..65f5cf8 100644 --- a/SourceGen/RuntimeData/Help/mainwin.html +++ b/SourceGen/RuntimeData/Help/mainwin.html @@ -116,7 +116,7 @@ assembler directive.

field. Double-click on this field to open the Edit Label dialog.
  • Opcode. The instruction or pseudo-opcode mnemonic. - If an instruction is embedded inside this one, a ⏩ symbol + If an instruction is embedded inside this one, a ▼ symbol will appear. If you double-click this field for an instruction or data item whose operand refers to an address in the file, the selection will