Redefine the graphics SCAN characters

This commit is contained in:
Jason Hood 2017-11-29 11:42:47 +10:00
parent e2f9b4e417
commit 1754f68ac9
3 changed files with 12 additions and 10 deletions

13
ANSI.c
View File

@ -164,7 +164,8 @@
add DECPS Play Sound;
use intermediate byte '+' to use buffer, not window;
ESC followed by a control character will display that character;
added palette sequences.
added palette sequences;
change the scan lines in the graphics set to their actual Unicode chars.
*/
#include "ansicon.h"
@ -234,11 +235,11 @@ const WCHAR G1[] =
L'\x250c', // l - Box Drawings Light Down And Right
L'\x2514', // m - Box Drawings Light Up And Right
L'\x253c', // n - Box Drawings Light Vertical And Horizontal
L'\x00af', // o - SCAN 1 - Macron
L'\x25ac', // p - SCAN 3 - Black Rectangle
L'\x2500', // q - SCAN 5 - Box Drawings Light Horizontal
L'_', // r - SCAN 7 - Low Line
L'_', // s - SCAN 9 - Low Line
L'\x23ba', // o - Horizontal Scan Line-1
L'\x23bb', // p - Horizontal Scan Line-3
L'\x2500', // q - Box Drawings Light Horizontal (SCAN 5)
L'\x23bc', // r - Horizontal Scan Line-7
L'\x23bd', // s - Horizontal Scan Line-9
L'\x251c', // t - Box Drawings Light Vertical And Right
L'\x2524', // u - Box Drawings Light Vertical And Left
L'\x2534', // v - Box Drawings Light Up And Horizontal

BIN
G1.txt

Binary file not shown.

View File

@ -256,11 +256,11 @@ DEC Special Graphics Character Set
l U+250C Box Drawings Light Down And Right
m U+2514 Box Drawings Light Up And Right
n U+253C Box Drawings Light Vertical And Horizontal
o U+00AF Macron (SCAN 1)
p U+25AC Black Rectangle (SCAN 3)
o U+23BA Horizontal Scan Line-1
p U+23BB Horizontal Scan Line-3
q U+2500 Box Drawings Light Horizontal (SCAN 5)
r U+005F Low Line (SCAN 7)
s U+005F Low Line (SCAN 9)
r U+23BC Horizontal Scan Line-7
s U+23BD Horizontal Scan Line-9
t U+251C Box Drawings Light Vertical And Right
u U+2524 Box Drawings Light Vertical And Left
v U+2534 Box Drawings Light Up And Horizontal
@ -311,6 +311,7 @@ Version History
* go back to saving the buffer cursor position;
* preserve escape that isn't part of a sequence;
* escape control characters;
* change the graphics SCAN characters to their Unicode equivalents;
+ use the system default sound for the bell;
+ added Play Sound DECPS;
+ added '+' intermediate byte to use the buffer, rather than the window;