source: buchla-68k/orig/GP/ASCII.H@ 6888aa2

Last change on this file since 6888aa2 was 3ae31e9, checked in by Thomas Lopatic <thomas@…>, 7 years ago

Imported original source code.

  • Property mode set to 100755
File size: 1.3 KB
RevLine 
[3ae31e9]1/*
2 ==========================================================================
3 ascii.h -- Standard ASCII character definitions
4 Version 5 -- 1987-06-03 -- D.N. Lynx Crowe
5 ==========================================================================
6*/
7
8#define A_NUL 0x00 /* ^@ */
9#define A_SOH 0x01 /* ^A */
10#define A_STX 0x02 /* ^B */
11#define A_ETX 0x03 /* ^C */
12#define A_EOT 0x04 /* ^D */
13#define A_ENQ 0x05 /* ^E */
14#define A_ACK 0x06 /* ^F */
15#define A_BEL 0x07 /* ^G */
16#define A_BS 0x08 /* ^H */
17#define A_HT 0x09 /* ^I */
18#define A_LF 0x0A /* ^J */
19#define A_VT 0x0B /* ^K */
20#define A_FF 0x0C /* ^L */
21#define A_CR 0x0D /* ^M */
22#define A_SO 0x0E /* ^N */
23#define A_SI 0x0F /* ^O */
24
25#define A_DLE 0x10 /* ^P */
26#define A_DC1 0x11 /* ^Q */
27#define A_DC2 0x12 /* ^R */
28#define A_DC3 0x13 /* ^S */
29#define A_DC4 0x14 /* ^T */
30#define A_NAK 0x15 /* ^U */
31#define A_SYN 0x16 /* ^V */
32#define A_ETB 0x17 /* ^W */
33#define A_CAN 0x18 /* ^X */
34#define A_EM 0x19 /* ^Y */
35#define A_SUB 0x1A /* ^Z */
36#define A_ESC 0x1B /* ^[ */
37#define A_FS 0x1C /* ^\ */
38#define A_GS 0x1D /* ^] */
39#define A_RS 0x1E /* ^^ */
40#define A_US 0x1F /* ^_ */
41
42#define A_DEL 0x7F /* DEL */
43
44#define A_XON 0x11 /* DC1 = old ASCII XON */
45#define A_XOFF 0x13 /* DC3 = old ASCII XOFF */
46
47#define CTL(x) (x - '@')
Note: See TracBrowser for help on using the repository browser.