USASCII - X3.4-1967

U.S.A. Standard Code for Information Interchange
approved by the United States of America Standards Institute

Also known as:
ISO 646-US-1972 -- there is one notable difference: vertical bar instead of broken vertical bar
ISO 646-IRV-1991 -- capitalist forces displace ISO 646-IRV-1972 with ISO 646-US-1972, establishing the new International Reference Version of ISO 646-IRV-1991. BFD.

main computer information


This is a 7-bit character set. Holding a 7-bit character in a 8-bit byte is easy. What to do with that extra bit? Well, it's been used as an even parity bit, an odd parity bit, and as extensions to the glyph characters.

IBM in their code page 437 (IBM CP437, also known as OEM437) used the control characters and high-bit range for additional glyphs. Sometimes to get them on the display, the programmer had to use either some low level helper routines (interrupt calls), or change the bytes on the video card text page by setting the bytes directly.

Apple II's used the extra bit to indicate whether the text was inverse (or blinking) or not. With the Apple IIgs, Apple included extra interesting glyphs in those ranges.

Commodore's PET, VIC, and CBM personal computers used the extra bit for their own interesting glyphs. Like IBM, they also included glyphs in the control character range.

Other standards are supersets of X3.4-1967, or a close variant such as ISO 646-US-1972. Such standards like ISO 8859 family of character sets. Or "de facto" proprietary standards like Apple's MacRoman (extended ISO 646-US-1972) or Microsoft's Win1252 (extended ISO 8859-1).

Some computers actually use the standards as is: most Unix OS, Amiga OS, Linux OS.

The current standard that's worthy of compliance, in my humble opinion, is ISO 10646 commonly known as [Unicode], currently at v3.0 with v3.1 in beta (as of this writing, 2001-Jan-17). Using UTF-8 encoding of UCS-4 (31-bit universal character set).

Newline sequence: 0A (LF)
CP/M and Microsoft DOS and Windows idiosyncratically uses: 0D 0A (CR LF)
Apple's AppleDOS, ProDOS, GS/OS and MacOS idiosyncratically uses: 0D (CR)
Unix, AmigaOS, Linux, and many other OS's use the standard's specification.

hexadecimal
--00--
--10--
--20--
--30--
--40--
--50--
--60--
--70--
0
NUL DLE SP
0
@
P
`
p
1
SOH DC1
!
1
A
Q
a
q
2
STX DC2
"
2
B
R
b
r
3
ETX DC3
#
3
C
S
c
s
4
EOT DC4
$
4
D
T
d
t
5
ENQ NAK
%
5
E
U
e
u
6
ACK SYN
&
6
F
V
f
v
7
BEL ETB
'
7
G
W
g
w
8
BS CAN
(
8
H
X
h
x
9
HT EM
)
9
I
Y
i
y
A
LF SUB
*
:
J
Z
j
z
B
VT ESC
+
;
K
[
k
{
C
FF FS
,
<
L
\
l
¦
D
CR GS
-
=
M
]
m
}
E
SO RS
.
>
N
^
n
~
F
SI US
/
?
O
_
o
DEL

Legend
  light blue background indicates a control character
  normal colored background indicates a glyph (printable) character
NUL null
SOH start of heading
STX start of text
ETX end of text
EOT end of transmission
ENQ enquiry
ACK acknowledge
BEL bell (audible or attention signal)
BS backspace
HT horizontal tabulation
LF line feed
VT vertical tabulation
FF form feed
CR carriage return
SO shift out
SI shift in
DLE data link escape
DC1 device control 1 (XON)
DC2 device control 2
DC3 device control 3 (XOFF)
DC4 device control 4
NAK negative acknowledge
SYN synchronous idle
ETB end of transmission block
CAN cancel
EM end of medium
SUB substitute
ESC escape
FS file separator
GS group separator
RS record separator
US unit separator
SP space (normally whitespace glyph)
' apostrophe
, comma
< less than
> greater than
\ reverse slant
¦ broken vertical bar, Latin1 and Unicode: ¦ (&#166;)
DEL delete

Even Parity Grid (1 even parity bit + 7 data bits)
hexadecimal
--00--
--10--
--20--
--30--
--40--
--50--
--60--
--70--
0
00
90
A0
30
C0
50
60
F0
1
81
11
21
B1
41
D1
E1
71
2
82
12
22
B2
42
D2
E2
72
3
03
93
A3
33
B3
53
63
F3
4
84
14
24
B4
44
D4
E4
74
5
05
95
A5
35
C5
55
65
F5
6
06
96
A6
36
C6
56
66
F6
7
87
17
27
B7
47
D7
E7
77
8
88
18
28
B8
48
D8
E8
78
9
09
99
A9
39
C9
59
69
79
A
0A
9A
AA
3A
CA
5A
6A
FA
B
8B
1B
2B
BB
4B
DB
EB
7B
C
0C
9C
AC
3C
CC
5C
6C
FC
D
8D
1D
2D
BD
4D
DD
ED
7D
E
8E
1E
2E
BE
4E
DE
EE
7E
F
0F
9F
AF
3F
CF
5F
6F
FF


Lovingly handcrafted HTML, using VIM.
Best viewed with a computer.