Blame | Last modification | View Log | Download | RSS feed
ifndef cp037inccp037inc equ 1save ; no listing over this filelisting off; this translates the ISO-LATIN-1 characters 0...255; to their EBCDIC (codepage 037) representation:; NOTE: The save/restore mechanism will assure that after inclusion; of this file, you still use the same character mapping as you; did before. To activate this mapping, place a 'codepage cp037'; in your code!codepage cp037charsetcharset 0,0 ; NUL -> 0x00charset 1,1 ; SOH -> 0x01charset 2,2 ; STX -> 0x02charset 3,3 ; ETX -> 0x03charset 4,55 ; EOT -> 0x37charset 5,45 ; ENQ -> 0x2dcharset 6,46 ; ACK -> 0x2echarset 7,47 ; BEL -> 0x2fcharset 8,22 ; BS -> 0x16charset 9,5 ; HT -> 0x05charset 10,37 ; LF -> 0x25charset 11,11 ; VT -> 0x0bcharset 12,12 ; FF -> 0x0ccharset 13,13 ; CR -> 0x0dcharset 14,14 ; SO -> 0x0echarset 15,15 ; SI -> 0x0fcharset 16,16 ; DLE -> 0x10charset 17,17 ; DC1 -> 0x11charset 18,18 ; DC2 -> 0x12charset 19,19 ; DC3 -> 0x13charset 20,60 ; DC4 -> 0x3ccharset 21,61 ; NAK -> 0x3dcharset 22,50 ; SYN -> 0x32charset 23,38 ; ETB -> 0x26charset 24,24 ; CAN -> 0x18charset 25,25 ; EM -> 0x19charset 26,63 ; SUB -> 0x3fcharset 27,39 ; ESC -> 0x27charset 28,28 ; FS -> 0x1ccharset 29,29 ; GS -> 0x1dcharset 30,30 ; RS -> 0x1echarset 31,31 ; US -> 0x1fcharset ' ',64 ; 0x20 -> 0x40charset '!',90 ; 0x21 -> 0x5acharset '"',127 ; 0x22 -> 0x7fcharset '#',123 ; 0x23 -> 0x7bcharset '$',91 ; 0x24 -> 0x5bcharset '%',108 ; 0x25 -> 0x6ccharset '&',80 ; 0x26 -> 0x50charset '\'',125 ; 0x27 -> 0x7dcharset '(',77 ; 0x28 -> 0x4dcharset ')',93 ; 0x29 -> 0x5dcharset '*',92 ; 0x2a -> 0x5ccharset '+',78 ; 0x2b -> 0x4echarset ',',107 ; 0x2c -> 0x6bcharset '-',96 ; 0x2d -> 0x60charset '.',75 ; 0x2e -> 0x4bcharset '/',97 ; 0x2f -> 0x61charset '0','9',240 ; 0x30..0x39 -> 0xf0..0xf9charset ':',122 ; 0x3a -> 0x7acharset ';',94 ; 0x3b -> 0x5echarset '<',76 ; 0x3c -> 0x4ccharset '=',126 ; 0x3d -> 0x7echarset '>','?',110 ; 0x3e..0x3f -> 0x6e..0x6fcharset '@',124 ; 0x40 -> 0x7ccharset 'A','I',193 ; 0x41..0x49 -> 0xc1..0xc9charset 'J','R',209 ; 0x4a..0x52 -> 0xd1..0xd9charset 'S','Z',226 ; 0x53..0x5a -> 0xe2..0xe9charset '[',186 ; 0x5b -> 0xbacharset '\\',224 ; 0x5c -> 0xe0charset ']',187 ; 0x5d -> 0xbbcharset '^',176 ; 0x5e -> 0xb0charset '_',109 ; 0x5f -> 0x6dcharset '`',121 ; 0x60 -> 0x79charset 'a','i',129 ; 0x61..0x69 -> 0x81..0x89charset 'j','r',145 ; 0x6a..0x72 -> 0x91..0x99charset 's','z',162 ; 0x73..0x7a -> 0xa2..0xa9charset '{',192 ; 0x7b -> 0xc0charset '|',79 ; 0x7c -> 0x4fcharset '}',208 ; 0x7d -> 0xd0charset '~',161 ; 0x7e -> 0xa1charset 127,7 ; DEL -> 0x07charset 128,132,32 ; 0x80..0x84 -> 0x20..0x24charset 133,21 ; 0x85 -> 0x15charset 134,6 ; 0x86 -> 0x06charset 135,23 ; 0x87 -> 0x17charset 136,140,40 ; 0x88..0x8c -> 0x28..0x2ccharset 141,142,9 ; 0x8d..0x8e -> 0x09..0x0acharset 143,27 ; 0x8f -> 0x1bcharset 144,145,48 ; 0x90..0x91 -> 0x30..0x31charset 146,26 ; 0x92 -> 0x1acharset 147,150,51 ; 0x93..0x96 -> 0x33..0x36charset 151,8 ; 0x97 -> 0x08charset 152,155,56 ; 0x98..0x9b -> 0x38..0x3bcharset 156,4 ; 0x9c -> 0x04charset 157,20 ; 0x9d -> 0x14charset 158,62 ; 0x9e -> 0x3echarset 159,255 ; 0x9f -> 0xffcharset 160,65 ; 0xa0 -> 0x41charset 161,170 ; 0xa1 -> 0xaacharset 162,74 ; 0xa2 -> 0x4acharset 163,177 ; 0xa3 -> 0xb1charset 164,159 ; 0xa4 -> 0x9fcharset 165,178 ; 0xa5 -> 0xb2charset 166,106 ; 0xa6 -> 0x6acharset 167,181 ; 0xa7 -> 0xb5charset 168,189 ; 0xa8 -> 0xbdcharset 169,180 ; 0xa9 -> 0xb4charset 170,154 ; 0xaa -> 0x9acharset 171,138 ; 0xab -> 0x8acharset 172,95 ; 0xac -> 0x5fcharset 173,202 ; 0xad -> 0xcacharset 174,175 ; 0xae -> 0xafcharset 175,188 ; 0xaf -> 0xbccharset 176,144 ; 0xb0 -> 0x90charset 177,143 ; 0xb1 -> 0x8fcharset 178,234 ; 0xb2 -> 0xeacharset 179,250 ; 0xb3 -> 0xfacharset 180,190 ; 0xb4 -> 0xbecharset 181,160 ; 0xb5 -> 0xa0charset 182,182 ; 0xb6 -> 0xb6charset 183,179 ; 0xb7 -> 0xb3charset 184,157 ; 0xb8 -> 0x9dcharset 185,218 ; 0xb9 -> 0xdacharset 186,155 ; 0xba -> 0x9bcharset 187,139 ; 0xbb -> 0x8bcharset 188,190,183 ; 0xbc..0xbe -> 0xb7..0xb9charset 191,171 ; 0xbf -> 0xabcharset 192,193,100 ; 0xc0..0xc1 -> 0x64..0x65charset 194,98 ; 0xc2 -> 0x62charset 195,102 ; 0xc3 -> 0x66charset 196,99 ; 0xc4 -> 0x63charset 197,103 ; 0xc5 -> 0x67charset 198,158 ; 0xc6 -> 0x9echarset 199,104 ; 0xc7 -> 0x68charset 200,116 ; 0xc8 -> 0x74charset 201,203,113 ; 0xc9..0xcb -> 0x71..0x73charset 204,120 ; 0xcc -> 0x78charset 205,207,117 ; 0xcd..0xcf -> 0x75..0x77charset 208,172 ; 0xd0 -> 0xaccharset 209,105 ; 0xd1 -> 0x69charset 210,211,237 ; 0xd2..0xd3 -> 0xed..0xeecharset 212,235 ; 0xd4 -> 0xebcharset 213,239 ; 0xd5 -> 0xefcharset 214,236 ; 0xd6 -> 0xeccharset 215,191 ; 0xd7 -> 0xbfcharset 216,128 ; 0xd8 -> 0x80charset 217,218,253 ; 0xd9..0xda -> 0xfd..0xfecharset 219,220,251 ; 0xdb..0xdc -> 0xfb..0xfccharset 221,222,173 ; 0xdd..0xde -> 0xad..0xaecharset 223,89 ; 0xdf -> 0x59charset 224,225,68 ; 0xe0..0xe1 -> 0x44..0x45charset 226,66 ; 0xe2 -> 0x42charset 227,70 ; 0xe3 -> 0x46charset 228,67 ; 0xe4 -> 0x43charset 229,71 ; 0xe5 -> 0x47charset 230,156 ; 0xe6 -> 0x9ccharset 231,72 ; 0xe7 -> 0x48charset 232,84 ; 0xe8 -> 0x54charset 233,235,81 ; 0xe9..0xeb -> 0x51..0x53charset 236,88 ; 0xec -> 0x58charset 237,239,85 ; 0xed..0xef -> 0x55..0x57charset 240,140 ; 0xf0 -> 0x8ccharset 241,73 ; 0xf1 -> 0x49charset 242,243,205 ; 0xf2..0xf3 -> 0xcd..0xcecharset 244,203 ; 0xf4 -> 0xcbcharset 245,207 ; 0xf5 -> 0xcfcharset 246,204 ; 0xf6 -> 0xcccharset 247,225 ; 0xf7 -> 0xe1charset 248,112 ; 0xf8 -> 0x70charset 249,250,221 ; 0xf9..0xfa -> 0xdd..0xdecharset 251,252,219 ; 0xfb..0xfc -> 0xdb..0xdccharset 253,254,141 ; 0xfd..0xfe -> 0x8d..0x8echarset 255,223 ; 0xff -> 0xdfrestore ; restore previous listing state and code pageendif ; cp037inc