Source

psk31 / varicode.h

Full commit
static const uint16_t varicode[256] = {
	[0x00] = 1aa80, // 1010101011 NUL
	[0x01] = 1b680, // 1011011011 SOH
	[0x02] = 16e80, // 1011101101 STX
	[0x03] = 1dd80, // 1101110111 ETX
	[0x04] = 1ae80, // 1011101011 EOT
	[0x05] = 1f580, // 1101011111 ENQ
	[0x06] = 1ee80, // 1011101111 ACK
	[0x07] = 17e80, // 1011111101 BEL
	[0x08] = 1fe80, // 1011111111 BS
	[0x09] = 1ee00, // 11101111 HT
	[0x0a] = 17000, // 11101 LF
	[0x0b] = 1ed80, // 1101101111 VT
	[0x0c] = 17680, // 1011011101 FF
	[0x0d] = 1f000, // 11111 CR
	[0x0e] = 15d80, // 1101110101 SO
	[0x0f] = 1ab80, // 1110101011 SI
	[0x10] = 1de80, // 1011110111 DLE
	[0x11] = 15e80, // 1011110101 DC1
	[0x12] = 16b80, // 1110101101 DC2
	[0x13] = 1eb80, // 1110101111 DC3
	[0x14] = 1b580, // 1101011011 DC4
	[0x15] = 1ad80, // 1101101011 NAK
	[0x16] = 16d80, // 1101101101 SYN
	[0x17] = 1d580, // 1101010111 ETB
	[0x18] = 1bd80, // 1101111011 CAN
	[0x19] = 17d80, // 1101111101 EM
	[0x1a] = 1db80, // 1110110111 SUB
	[0x1b] = 15580, // 1101010101 ESC
	[0x1c] = 17580, // 1101011101 FS
	[0x1d] = 1bb80, // 1110111011 GS
	[0x1e] = 1be80, // 1011111011 RS
	[0x1f] = 1fd80, // 1101111111 US
	[0x20] = 10000, // 1 [[Space (punctuation)|SP]]
	[0x21] = 1ff00, // 111111111 [[Exclamation mark|!]]
	[0x22] = 1f500, // 101011111 [[Quotation mark|"]]
	[0x23] = 15f00, // 111110101 [[Number sign|#]]
	[0x24] = 1b700, // 111011011 [[Dollar sign|$]]
	[0x25] = 15680, // 1011010101 [[Percent sign|%]]
	[0x26] = 1ba80, // 1010111011 [[Ampersand|&]]
	[0x27] = 1fd00, // 101111111 [[Apostrophe (punctuation)|']]
	[0x28] = 1be00, // 11111011 [[Bracket|(]]
	[0x29] = 1de00, // 11110111 [[Bracket|)]]
	[0x2a] = 1ed00, // 101101111 [[Asterisk|*]]
	[0x2b] = 1f700, // 111011111 [[Plus sign|+]]
	[0x2c] = 15c00, // 1110101 [[Comma (punctuation)|,]]
	[0x2d] = 15800, // 110101 [[Hyphen|-]]
	[0x2e] = 1d400, // 1010111 [[Full stop|.]]
	[0x2f] = 1eb00, // 110101111 [[Slash (punctuation)|/]]
	[0x30] = 1da00, // 10110111 [[0 (number)|0]]
	[0x31] = 17a00, // 10111101 [[1 (number)|1]]
	[0x32] = 16e00, // 11101101 [[2 (number)|2]]
	[0x33] = 1fe00, // 11111111 [[3 (number)|3]]
	[0x34] = 1dd00, // 101110111 [[4 (number)|4]]
	[0x35] = 1b500, // 101011011 [[5 (number)|5]]
	[0x36] = 1ad00, // 101101011 [[6 (number)|6]]
	[0x37] = 16b00, // 110101101 [[7 (number)|7]]
	[0x38] = 1ab00, // 110101011 [[8 (number)|8]]
	[0x39] = 1db00, // 110110111 [[9 (number)|9]]
	[0x3a] = 15e00, // 11110101 [[Colon (punctuation)|:]]
	[0x3b] = 17b00, // 110111101 [[Semicolon|;]]
	[0x3c] = 16f00, // 111101101 [[Less-than sign|<]]
	[0x3d] = 15400, // 1010101 [[Equals sign|=]]
	[0x3e] = 1d700, // 111010111 [[Greater-than sign|>]]
	[0x3f] = 1ea80, // 1010101111 [[Question mark|?]]
	[0x40] = 17a80, // 1010111101 [[@]]
	[0x41] = 17c00, // 1111101 [[A]]
	[0x42] = 1ae00, // 11101011 [[B]]
	[0x43] = 16a00, // 10101101 [[C]]
	[0x44] = 15a00, // 10110101 [[D]]
	[0x45] = 1dc00, // 1110111 [[E]]
	[0x46] = 1b600, // 11011011 [[F]]
	[0x47] = 17e00, // 11111101 [[G]]
	[0x48] = 15500, // 101010101 [[H]]
	[0x49] = 1fc00, // 1111111 [[I]]
	[0x4a] = 17f00, // 111111101 [[J]]
	[0x4b] = 17d00, // 101111101 [[K]]
	[0x4c] = 1d600, // 11010111 [[L]]
	[0x4d] = 1ba00, // 10111011 [[M]]
	[0x4e] = 17600, // 11011101 [[N]]
	[0x4f] = 1aa00, // 10101011 [[O]]
	[0x50] = 15600, // 11010101 [[P]]
	[0x51] = 17700, // 111011101 [[Q]]
	[0x52] = 1ea00, // 10101111 [[R]]
	[0x53] = 1ec00, // 1101111 [[S]]
	[0x54] = 16c00, // 1101101 [[T]]
	[0x55] = 1d500, // 101010111 [[U]]
	[0x56] = 15b00, // 110110101 [[V]]
	[0x57] = 17500, // 101011101 [[W]]
	[0x58] = 15d00, // 101110101 [[X]]
	[0x59] = 1bd00, // 101111011 [[Y]]
	[0x5a] = 16a80, // 1010101101 [[Z]]
	[0x5b] = 1df00, // 111110111 [[Bracket|<nowiki>[</nowiki>]]
	[0x5c] = 1ef00, // 111101111 [[Backslash|\]]
	[0x5d] = 1bf00, // 111111011 [[Bracket|<nowiki>]</nowiki>]]
	[0x5e] = 1fa80, // 1010111111 [[Caret|^]]
	[0x5f] = 16d00, // 101101101 [[Underscore|_]]
	[0x60] = 1f680, // 1011011111 [[Grave accent|`]]
	[0x61] = 1a000, // 1011 [[a]]
	[0x62] = 1f400, // 1011111 [[b]]
	[0x63] = 1e800, // 101111 [[c]]
	[0x64] = 16800, // 101101 [[d]]
	[0x65] = 18000, // 11 [[e]]
	[0x66] = 17800, // 111101 [[f]]
	[0x67] = 1b400, // 1011011 [[g]]
	[0x68] = 1a800, // 101011 [[h]]
	[0x69] = 16000, // 1101 [[i]]
	[0x6a] = 1af00, // 111101011 [[j]]
	[0x6b] = 1fa00, // 10111111 [[k]]
	[0x6c] = 1b000, // 11011 [[l]]
	[0x6d] = 1b800, // 111011 [[m]]
	[0x6e] = 1e000, // 1111 [[n]]
	[0x6f] = 1c000, // 111 [[o]]
	[0x70] = 1f800, // 111111 [[p]]
	[0x71] = 1fb00, // 110111111 [[q]]
	[0x72] = 15000, // 10101 [[r]]
	[0x73] = 1d000, // 10111 [[s]]
	[0x74] = 14000, // 101 [[t]]
	[0x75] = 1d800, // 110111 [[u]]
	[0x76] = 1bc00, // 1111011 [[v]]
	[0x77] = 1ac00, // 1101011 [[w]]
	[0x78] = 1f600, // 11011111 [[x]]
	[0x79] = 17400, // 1011101 [[y]]
	[0x7a] = 15700, // 111010101 [[z]]
	[0x7b] = 1da80, // 1010110111 [[Bracket|&#123;]]
	[0x7c] = 1bb00, // 110111011 [[Vertical bar|&#124;]]
	[0x7d] = 15a80, // 1010110101 [[Bracket|&#125;]]
	[0x7e] = 1d680, // 1011010111 [[Tilde|~]]
	[0x7f] = 15b80, // 1110110101 DEL
};