-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy patha4plugin.c
156 lines (154 loc) · 7.23 KB
/
a4plugin.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
/* User application code loading tables for VS10xx */
#if 0
void LoadUserCode(void) {
int i = 0;
while (i<sizeof(plugin)/sizeof(plugin[0])) {
unsigned short addr, n, val;
addr = plugin[i++];
n = plugin[i++];
if (n & 0x8000U) { /* RLE run, replicate n samples */
n &= 0x7FFF;
val = plugin[i++];
while (n--) {
WriteVS10xxRegister(addr, val);
}
} else { /* Copy run, copy n samples */
while (n--) {
val = plugin[i++];
WriteVS10xxRegister(addr, val);
}
}
}
}
#endif
#ifndef SKIP_PLUGIN_VARNAME
const unsigned short plugin[] = { /* Compressed plugin */
#endif
0x0007,0x0001, /*copy 1*/
0x8050,
0x0006,0x036e, /*copy 878*/
0x0030,0x0697,0x3700,0x0024,0x0000,0x0801,0xc010,0x0024,
0x3f00,0x0024,0x2800,0x15c0,0x0006,0x2016,0x0038,0x0011,
0x0038,0x0002,0x0000,0x2197,0xb886,0x184c,0xb88c,0x3848,
0x3e05,0xb814,0x2912,0x1300,0x3685,0x0024,0x0007,0x9250,
0x0000,0x0000,0xc890,0x2000,0x0002,0x0010,0x3000,0x4024,
0x0002,0x0090,0xa100,0x0024,0x6092,0x0000,0x4010,0x0024,
0xb882,0x2000,0x0008,0x0000,0x2915,0x7ac0,0x0038,0x0010,
0x2912,0x1180,0x0000,0x0024,0x0018,0x0000,0x3613,0x0024,
0xb880,0x3840,0x3e10,0x0024,0x0017,0x7000,0x2900,0x65c0,
0x3e00,0x0024,0x0000,0x0084,0x36e3,0x0024,0x2908,0xbe80,
0x0017,0x7005,0x0030,0x0690,0x0000,0x0241,0x3000,0x0024,
0xc010,0x0024,0xb882,0x2000,0x0006,0xa050,0x0000,0x0000,
0x3009,0x2000,0x0006,0xa010,0x0000,0x2000,0x3009,0x2000,
0x0004,0x0000,0x2915,0x7ac0,0x0000,0x0010,0x0030,0x05d0,
0x0000,0x0401,0x3000,0x0024,0xc010,0x0024,0x003f,0xfdc1,
0x3800,0x0024,0x3000,0x0024,0xb010,0x0024,0x3800,0x0024,
0x0030,0x02d0,0x0000,0x4040,0x2912,0x1300,0x3800,0x0024,
0x2912,0x0ec0,0x3613,0x0024,0xf400,0x4001,0x0000,0x2000,
0x6100,0x0024,0x0002,0x0000,0x2800,0x4509,0x0002,0x0010,
0x0000,0x2000,0x3473,0x184c,0xf400,0x4510,0xf400,0x4512,
0xf400,0x4513,0x2912,0x1f80,0x3493,0x0024,0x0030,0x0610,
0x0000,0x0200,0x3000,0x4024,0xb100,0x0024,0x0002,0x0150,
0x2800,0x42c5,0x003f,0xfbc1,0x0002,0x0110,0x0000,0x0000,
0x3800,0x0024,0x0002,0x01d0,0x3800,0x0024,0x0030,0x0650,
0x3000,0x0024,0xb010,0x0024,0xb882,0x2000,0x0000,0x1000,
0x6100,0x0024,0x0002,0x0050,0x2800,0x3c01,0x003f,0xffc0,
0x6030,0x8404,0xfe88,0x0024,0x48ba,0x0024,0x4580,0x4444,
0x003f,0xffc5,0x6458,0x044c,0x0002,0x0210,0x2800,0x30c8,
0xb888,0x0024,0x0038,0x0011,0x6898,0x0024,0x3801,0x104c,
0x0002,0x0110,0x3009,0x3041,0x3009,0x33d1,0x3c30,0x8404,
0x3c00,0xb3c3,0xfeb8,0x4491,0x48bb,0xc637,0x4058,0x03c0,
0x001f,0x4005,0x6502,0xb087,0xfe9e,0x044c,0x48b6,0x0c8c,
0xfe88,0x0024,0x1fff,0xfc44,0x4db6,0x0024,0xf400,0x40c3,
0xad46,0x0024,0x3a00,0x8024,0x3200,0x4024,0x3000,0x0024,
0xfe82,0x3004,0x48b6,0xb385,0x6500,0x1006,0x3009,0x1087,
0xfe8e,0x13c4,0x4db6,0x0880,0xf400,0x40c3,0xad4a,0x1002,
0xf400,0x4090,0x3900,0x1383,0x003f,0xffc0,0x3009,0x2004,
0x6200,0x93d1,0x3009,0x13c1,0x2800,0x3b48,0x0002,0x0250,
0x0038,0x0002,0x6890,0x0024,0x3800,0x0024,0x2800,0x2cc0,
0x6192,0x0024,0x0000,0x0000,0x2800,0x3ac0,0x6294,0x2000,
0x0002,0x0012,0x3010,0x0024,0x460c,0x0800,0xf062,0x0024,
0xfe82,0x0000,0x48ba,0x0024,0x4252,0x4103,0x6100,0x0024,
0x0038,0x0001,0x6018,0x0024,0x0002,0x0190,0x2800,0x4258,
0xb882,0x0024,0x6892,0x0024,0x3800,0x4024,0x0008,0x0001,
0x4010,0x0024,0xf400,0x4011,0x0000,0x1000,0x3473,0x184c,
0x3e10,0x0024,0x290c,0x7300,0x3e15,0x124c,0x2800,0x2500,
0x36e3,0x0024,0x2800,0x4040,0x3800,0x4024,0x30f0,0x0024,
0x6890,0x2000,0x0002,0x01d0,0x3800,0x0024,0x0030,0x0650,
0x0000,0x0400,0x3000,0x4024,0x2800,0x2c80,0xc100,0x0024,
0x3000,0x4024,0x6018,0x0024,0x0002,0x0052,0x2800,0x4681,
0x0000,0x0024,0x3800,0x0024,0x0001,0x0000,0x3200,0x4024,
0x6018,0x0024,0x0000,0x0024,0x2800,0x4841,0x0000,0x0024,
0x3a00,0x0024,0x0002,0x0112,0x001f,0x4000,0x3200,0x4024,
0x6018,0x0024,0x0000,0x0024,0x2800,0x4a41,0x0000,0x0024,
0x3a00,0x0024,0x0002,0x00d2,0x001f,0x4000,0x3200,0x4024,
0x6010,0x0024,0x0000,0x0024,0x2800,0x2501,0x0000,0x0024,
0x001f,0x4000,0x2800,0x2500,0x3a00,0x0024,0x3e12,0xb817,
0x3e12,0x7808,0x3e11,0xb811,0x3e15,0x7810,0x3e18,0xb823,
0x3e18,0x3821,0x3e10,0x3801,0x48b2,0x0024,0x3e10,0x3801,
0x3e11,0x3802,0x3009,0x3814,0x0030,0x0717,0x3f05,0xc024,
0x0030,0x0351,0x3100,0x0024,0x4080,0x0024,0x0030,0x10d1,
0x2800,0x57c5,0x0001,0x800a,0x0006,0x6514,0x3111,0x8024,
0x6894,0x13c1,0x6618,0x0024,0xfe44,0x1000,0x4cb2,0x0406,
0x3c10,0x0024,0x3c50,0x4024,0x34f0,0x4024,0x661c,0x1040,
0xfe64,0x0024,0x4cb2,0x0024,0x3cf0,0x4024,0xbc82,0x3080,
0x0030,0x0351,0x3100,0x8024,0xfea8,0x0024,0x5ca2,0x0024,
0x0000,0x0182,0xac22,0x0024,0xf7c8,0x0024,0x48b2,0x0024,
0xac22,0x0024,0x2800,0x5b40,0xf7cc,0x1002,0x0030,0x0394,
0x3400,0x4024,0x3100,0x184c,0x0006,0xc051,0x291e,0x8080,
0x0006,0x6410,0x4088,0x1001,0x0030,0x1111,0x3100,0x184c,
0x0006,0xc051,0x291e,0x8080,0x0006,0x6550,0x0006,0x6694,
0x408c,0x1002,0xf224,0x0024,0x0006,0xa017,0x2800,0x5f55,
0x0000,0x0024,0x2800,0x6041,0x0006,0x6410,0x3050,0x0024,
0x3000,0x4024,0x6014,0x0024,0x0000,0x0024,0x2800,0x5e99,
0x0000,0x0024,0xf400,0x4040,0x38b0,0x0024,0x2800,0x6040,
0x3800,0x0024,0x2800,0x6001,0x0000,0x0024,0xf400,0x4106,
0xf400,0x4184,0x0030,0x06d5,0x3d05,0x5bd4,0xf400,0x4115,
0x36f1,0x1802,0x36f0,0x1801,0x2210,0x0000,0x36f0,0x1801,
0x36f8,0x1821,0x36f8,0x9823,0x0006,0x9f57,0x0020,0xffd0,
0x3009,0x1c11,0x3985,0x4024,0x3981,0x8024,0x3009,0x3c11,
0x36f5,0x5810,0x36f1,0x9811,0x36f2,0x5808,0x3602,0x8024,
0x0030,0x0717,0x2100,0x0000,0x3f05,0xdbd7,0x3613,0x0024,
0x3e12,0x0024,0x3e05,0xb814,0x3615,0x0024,0x3e00,0x3841,
0x3e00,0xb850,0x0007,0x9250,0x3e14,0x7812,0xb880,0x930c,
0x3800,0x0024,0x0030,0x00d0,0x3440,0x0024,0x2908,0x6400,
0x3800,0x0024,0x003f,0xfcc1,0x0030,0x0050,0x3000,0x134c,
0xb010,0x0024,0x38f0,0x0024,0x3430,0x8024,0x6284,0x0000,
0x0010,0x0001,0x2800,0x8145,0x0000,0x0024,0x002f,0xffc1,
0xb010,0x0024,0x3800,0x0024,0x000b,0x4000,0x0006,0xc490,
0x2908,0x7f80,0x3009,0x2000,0x0015,0xbd51,0x0030,0x0ad0,
0x3800,0x0024,0x0000,0x01c0,0x2915,0x8300,0x0006,0xc050,
0x0000,0x0300,0xb882,0x0024,0x2914,0xbec0,0x0006,0x6410,
0x0001,0x0000,0x0030,0x0350,0x6284,0x2080,0x0000,0x0100,
0x2800,0x7245,0x3800,0x0024,0xf202,0x0000,0xc010,0x0024,
0x3800,0x0024,0x0030,0x0390,0x3000,0x0024,0x6080,0x0024,
0x0006,0x6552,0x2800,0x7495,0x1fe0,0x0040,0x003f,0xffc0,
0x3800,0x0024,0x1fe0,0x0040,0x0006,0x6410,0x3870,0x138c,
0x3a00,0x00cc,0x0000,0x00c0,0x0030,0x03d2,0x3200,0x4024,
0xb100,0x0024,0x3800,0x0024,0x002e,0xe000,0x3420,0x8024,
0x6200,0x0024,0x0000,0x0140,0x2800,0x80c5,0x0030,0x1090,
0x0017,0x7000,0x6200,0x0024,0x0000,0x01c0,0x2800,0x8045,
0x0000,0x0024,0x000b,0xb800,0x6204,0x0024,0x0000,0x01c0,
0x2800,0x7c15,0x0000,0x0024,0x3800,0x0024,0x0000,0x0080,
0x0030,0x0050,0x3000,0x4024,0xc100,0x0024,0x3800,0x0024,
0x0000,0x0000,0x0006,0x9f90,0x3009,0x2000,0x0006,0x9f50,
0xb880,0xa000,0x0006,0x9fd0,0x3009,0x2000,0x36f4,0x5812,
0x36f0,0x9810,0x36f0,0x1801,0x3405,0x9014,0x36f3,0x0024,
0x36f2,0x0024,0x2000,0x0000,0x0000,0x0024,0x0000,0x01c0,
0x0030,0x1090,0x2800,0x7c00,0x3800,0x0024,0x2800,0x7c00,
0x3800,0x0024,0x2800,0x6c40,0xc010,0x0024,
0x0007,0x0001, /*copy 1*/
0x0800,
0x0006,0x0006, /*copy 6*/
0x0000,0x0000,0x1f40,0x6d60,0x3e80,0x3e80,
0x0006, 0x8004, 0x0000, /*Rle(4)*/
0x0007,0x0001, /*copy 1*/
0x8023,
0x0006,0x0002, /*copy 2*/
0x2a00,0x4cce,
0x000a,0x0001, /*copy 1*/
0x0050,
#define PLUGIN_SIZE 907
#ifndef SKIP_PLUGIN_VARNAME
};
#endif