Converting Binary Code To An Ascii Character - Digital Equipment VT520 Programming Manual

Video terminal
Table of Contents

Advertisement

4. Use Table 7–3 to convert each binary number to the equivalent ASCII
character.
Table 7–3 lists the results of steps 3 and 4 for each possible binary value. All
you have to do is find the 6-digit binary number for each sixel bit pattern in
your character design.
Figure 7–4 shows this conversion for the uppercase D in this example.
You use this procedure to convert each character of your soft character set into a
string of sixel bit patterns. Then you can download your DRCS characters into
the terminal, using the DECDLD device control string described in Chapter 5.
Table 7–3 Converting Binary Code to an ASCII Character
Binary Value
Hex. Value
000000
00
000001
01
000010
02
000011
03
000100
04
000101
05
000110
06
000111
07
001000
08
001001
09
001010
A
001011
B
001100
C
001101
D
001110
E
001111
F
010000
10
010001
11
010010
12
010011
13
010100
14
010101
15
010110
16
010111
17
011000
18
011001
19
011010
1A
011011
1B
011100
1C
011101
1D
011110
1E
011111
1F
100000
20
Hex. Value + 3F
Character
Offset
Equivalent
3F
?
40
@
41
A
42
B
43
C
44
D
45
E
46
F
47
G
48
H
49
I
4A
J
4B
K
4C
L
4D
M
4E
N
4F
O
50
P
51
Q
52
R
53
S
54
T
55
U
56
V
57
W
58
X
59
Y
5A
Z
5B
[
5C
\
5D
]
5E
^
5F
_
Character Sets
7.6 Soft Character Sets
(continued on next page)
Character Sets 7–11

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VT520 and is the answer not in the manual?

This manual is also suitable for:

Vt525

Table of Contents