Jump to content

CDC display code

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Glass Tomato (talk | contribs) at 17:33, 25 June 2012 (Add external link to Charsets for CDC machines). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Display code is the 6-bit character set used by many computer systems manufactured by Control Data Corporation, notably the CDC 6600 in 1964. The CDC 6000 series, and their followons, had 60 bit words. As such, typical usage packed 10 characters per word.

There were several variations of display code, notably the 63-character character set, and the 64-character character set. There were also 'CDC graphic' and 'ASCII graphic' variants of both the 63- and 64-character sets. The choice between 63- or 64-character character set, and between CDC or ASCII graphic was site-selectable. Generally, early CDC customers started out with the 63-character character set, and CDC graphic print trains on their line printers. As time-sharing became prevalent, almost all sites used the ASCII variant - so that line printer output would match interactive usage. Later CDC customers were also more likely to use the 64-character character set.

A later variation, called 6/12 display code, was used in the Kronos and NOS timesharing systems in order to support full ASCII capabilities. In 6/12 mode, an escape character (the circumflex, octal 76) would indicate that the following letter was lower case. Thus, upper case and other characters were 6 bits in length, and lower case characters were 12 bits in length.

The PLATO system used a further variant of 6/12 display code. Noting that lower case letters were most common in typical PLATO usage, the roles were reversed. Lower case letters were the norm, and the escape character preceded upper case letters.

The typical text file format used a zero-byte terminator to signify the end of each record. The zero-byte terminator was indicated by, at least, the final twelve bits of a 60-bit word being set to zero.[1] The terminator could actually be anywhere from 12- to 66-bits long - depending on the length of the record. This caused an ambiguity in the 64-character character set, when a colon character needed to be the final character in a record. In such cases a blank character was typically appended to the record after the trailing colon.

Display code characters (64-character character set version)

ASCIICDC
BinaryDecimalOctalGraphicGraphic Name 
000 000000::colon[2]
000 001101AA 
000 010202BB 
000 011303CC 
000 100404DD 
000 101505EE 
000 110606FF 
000 111707GG 
001 000810HH 
001 001911II 
001 0101012JJ 
001 0111113KK 
001 1001214LL 
001 1011315MM 
001 1101416NN 
001 1111517OO 
010 0001620PP 
010 0011721QQ 
010 0101822RR 
010 0111923SS 
010 1002024TT 
010 1012125UU 
010 1102226VV 
010 1112327WW 
011 0002430XX 
011 0012531YY 
011 0102632ZZ 
011 011273300 
011 100283411 
011 101293522 
011 110303633 
011 111313744 
ASCIICDC
BinaryDecimalOctalGraphicGraphic Name 
100 000324055 
100 001334166 
100 010344277 
100 011354388 
100 100364499 
100 1013745++ 
100 1103846-- 
100 1113947** 
101 0004050// 
101 0014151(( 
101 0104252)) 
101 0114353$$ 
101 1004454== 
101 1014555  blank
101 1104656,, 
101 1114757.. 
110 0004860#equiv
110 0014961[[ 
110 0105062]] 
110 0115163%%[3]
110 1005264"not eq
110 1015365_concat[4]
110 1105466!log OR
110 1115567&log AND
111 0005670'super
111 0015771?sub[5]
111 0105872<< 
111 0115973>> 
111 1006074@ 
111 1016175\ 
111 1106276^¬NOT
111 1116377;; 
  1. ^ CDC often used the term byte to refer to 12-bit quantities, even though characters were only 6-bits long.
  2. ^ Display code 00 has no associated graphic in the 63-character set
  3. ^ Display code 63 (octal) is a : (colon) in the 63-character set
  4. ^ In CDC PASCAL, this is the left brace, {, character
  5. ^ In CDC PASCAL, this is the right brace, }, character

6/12 display code

The NOS 6/12 display code is one of the character sets used on CDC Cyber NOS computers to represent all ASCII characters.

ASCII display code
Dec Hex Abbr Dec Oct 6/12
0 00 NUL 62 32 76 40 ^5
1 01 SOH 62 33 76 41 ^6
2 02 STX 62 34 76 42 ^7
3 03 ETX 62 35 76 43 ^8
4 04 EOT 62 36 76 44 ^9
5 05 ENQ 62 37 76 45 ^+
6 06 ACK 62 38 76 46 ^-
7 07 BEL 62 39 76 47 ^*
8 08 BS 62 40 76 50 ^/
9 09 HT 62 41 76 51 ^(
10 0A LF 62 42 76 52 ^)
11 0B VT 62 43 76 53 ^$
12 0C FF 62 44 76 54 ^=
13 0D CR 62 45 76 55
14 0E SO 62 46 76 56 ^,
15 0F SI 62 47 76 57 ^.
16 10 DLE 62 48 76 60 ^#
17 11 DC1 62 49 76 61 ^[
18 12 DC2 62 50 76 62 ^]
19 13 DC3 62 51 76 63 ^%
20 14 DC4 62 52 76 64 ^"
21 15 NAK 62 53 76 65 ^_
22 16 SYN 62 54 76 66 ^!
23 17 ETB 62 55 76 67 ^&
24 18 CAN 62 56 76 70 ^'
25 19 EM 62 57 76 71 ^?
26 1A SUB 62 58 76 72 ^<
27 1B ESC 62 59 76 73 ^>
28 1C FS 62 60 76 74 ^@
29 1D GS 62 61 76 75 ^\
30 1E RS 62 62 76 76 ^^
31 1F US 62 63 76 77 ^;
ASCII display code
Dec Hex Glyph Dec Oct 6/12
32 20 45 55
33 21 ! 54 66 !
34 22 " 52 64 "
35 23 # 48 60 #
36 24 $ 43 53 $
37 25 % 51 63 %
38 26 & 55 67 &
39 27 ' 56 70 '
40 28 ( 41 51 (
41 29 ) 42 52 )
42 2A * 39 47 *
43 2B + 37 45 +
44 2C , 46 56 ,
45 2D - 38 46 -
46 2E . 47 57 .
47 2F / 40 50 /
48 30 0 27 33 0
49 31 1 28 34 1
50 32 2 29 35 2
51 33 3 30 36 3
52 34 4 31 37 4
53 35 5 32 40 5
54 36 6 33 41 6
55 37 7 34 42 7
56 38 8 35 43 8
57 39 9 36 44 9
58 3A : 60 4 74 04 @D
59 3B ; 63 77 ;
60 3C < 58 72 <
61 3D = 44 54 =
62 3E > 59 73 >
63 3F ? 57 71 ?
ASCII display code
Dec Hex Glyph Dec Oct 6/12
64 40 @ 60 1 74 01 @A
65 41 A 1 01 A
66 42 B 2 02 B
67 43 C 3 03 C
68 44 D 4 04 D
69 45 E 5 05 E
70 46 F 6 06 F
71 47 G 7 07 G
72 48 H 8 10 H
73 49 I 9 11 I
74 4A J 10 12 J
75 4B K 11 13 K
76 4C L 12 14 L
77 4D M 13 15 M
78 4E N 14 16 N
79 4F O 15 17 O
80 50 P 16 20 P
81 51 Q 17 21 Q
82 52 R 18 22 R
83 53 S 19 23 S
84 54 T 20 24 T
85 55 U 21 25 U
86 56 V 22 26 V
87 57 W 23 27 W
88 58 X 24 30 X
89 59 Y 25 31 Y
90 5A Z 26 32 Z
91 5B [ 49 61 [
92 5C \ 61 75 \
93 5D ] 50 62 ]
94 5E ^ 60 2 74 02 @B
95 5F _ 53 65 _
ASCII display code
Dec Hex Glyph Dec Oct 6/12
96 60 ` 60 7 74 07 @G
97 61 a 62 1 76 01 ^A
98 62 b 62 2 76 02 ^B
99 63 c 62 3 76 03 ^C
100 64 d 62 4 76 04 ^D
101 65 e 62 5 76 05 ^E
102 66 f 62 6 76 06 ^F
103 67 g 62 7 76 07 ^G
104 68 h 62 8 76 10 ^H
105 69 i 62 9 76 11 ^I
106 6A j 62 10 76 12 ^J
107 6B k 62 11 76 13 ^K
108 6C l 62 12 76 14 ^L
109 6D m 62 13 76 15 ^M
110 6E n 62 14 76 16 ^N
111 6F o 62 15 76 17 ^O
112 70 p 62 16 76 20 ^P
113 71 q 62 17 76 21 ^Q
114 72 r 62 18 76 22 ^R
115 73 s 62 19 76 23 ^S
116 74 t 62 20 76 24 ^T
117 75 u 62 21 76 25 ^U
118 76 v 62 22 76 26 ^V
119 77 w 62 23 76 27 ^W
120 78 x 62 24 76 30 ^X
121 79 y 62 25 76 31 ^Y
122 7A z 62 26 76 32 ^Z
123 7B { 62 27 76 33 ^0
124 7C | 62 28 76 34 ^1
125 7D } 62 29 76 35 ^2
126 7E ~ 62 30 76 36 ^3
127 7F DEL 62 31 76 37 ^4