Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / devs / diskimage / dms / tables.c
blob86dfb2f084fbe3b612269d8696768e02ae2d66db
1 /*
2 * xDMS v1.3 - Portable DMS archive unpacker - Public Domain
3 * Written by Andre Rodrigues de la Rocha <adlroc@usa.net>
5 * Tables used in Medium and Deep compression modes
7 */
9 #include "xdms.h"
11 const UBYTE d_code[256] = {
12 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
13 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
14 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
15 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
16 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
17 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,
18 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02,
19 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02,
20 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03,
21 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03,
22 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04,
23 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05,
24 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06,
25 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07,
26 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08,
27 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09, 0x09,
28 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A,
29 0x0B, 0x0B, 0x0B, 0x0B, 0x0B, 0x0B, 0x0B, 0x0B,
30 0x0C, 0x0C, 0x0C, 0x0C, 0x0D, 0x0D, 0x0D, 0x0D,
31 0x0E, 0x0E, 0x0E, 0x0E, 0x0F, 0x0F, 0x0F, 0x0F,
32 0x10, 0x10, 0x10, 0x10, 0x11, 0x11, 0x11, 0x11,
33 0x12, 0x12, 0x12, 0x12, 0x13, 0x13, 0x13, 0x13,
34 0x14, 0x14, 0x14, 0x14, 0x15, 0x15, 0x15, 0x15,
35 0x16, 0x16, 0x16, 0x16, 0x17, 0x17, 0x17, 0x17,
36 0x18, 0x18, 0x19, 0x19, 0x1A, 0x1A, 0x1B, 0x1B,
37 0x1C, 0x1C, 0x1D, 0x1D, 0x1E, 0x1E, 0x1F, 0x1F,
38 0x20, 0x20, 0x21, 0x21, 0x22, 0x22, 0x23, 0x23,
39 0x24, 0x24, 0x25, 0x25, 0x26, 0x26, 0x27, 0x27,
40 0x28, 0x28, 0x29, 0x29, 0x2A, 0x2A, 0x2B, 0x2B,
41 0x2C, 0x2C, 0x2D, 0x2D, 0x2E, 0x2E, 0x2F, 0x2F,
42 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37,
43 0x38, 0x39, 0x3A, 0x3B, 0x3C, 0x3D, 0x3E, 0x3F,
46 const UBYTE d_len[256] = {
47 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03,
48 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03,
49 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03,
50 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03,
51 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04,
52 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04,
53 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04,
54 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04,
55 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04,
56 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04,
57 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05,
58 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05,
59 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05,
60 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05,
61 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05,
62 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05,
63 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05,
64 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05, 0x05,
65 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06,
66 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06,
67 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06,
68 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06,
69 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06,
70 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06,
71 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07,
72 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07,
73 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07,
74 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07,
75 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07,
76 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07,
77 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08,
78 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08,