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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
|
unsigned long scripts[] = {
0x47000000, 0x00000118, /* 000 - 0 */
0x878b0000, 0x00000030, /* 008 - 8 */
0x868a0000, 0x00000168, /* 010 - 16 */
0x828a0000, 0x00000170, /* 018 - 24 */
0x808a0000, 0x00000180, /* 020 - 32 */
0x818a0000, 0x00000288, /* 028 - 40 */
0x838a0000, 0x00000390, /* 030 - 48 */
0x98080000, 0x0000ff05, /* 038 - 56 */
0x1f000024, 0x00000024, /* 040 - 64 */
0x808c0001, 0x00000040, /* 048 - 72 */
0x808c0004, 0x00000078, /* 050 - 80 */
0x808c0002, 0x00000088, /* 058 - 88 */
0x808c0007, 0x00000010, /* 060 - 96 */
0x808c0003, 0x00000008, /* 068 - 104 */
0x98080000, 0x0000ff06, /* 070 - 112 */
0x60000040, 0x00000000, /* 078 - 120 */
0x60000008, 0x00000000, /* 080 - 128 */
0x80880000, 0xffffff78, /* 088 - 136 */
0x60000040, 0x00000000, /* 090 - 144 */
0x1f00002c, 0x0000002c, /* 098 - 152 */
0x808c0003, 0x00000008, /* 0a0 - 160 */
0x98080000, 0x0000ff07, /* 0a8 - 168 */
0x60000040, 0x00000000, /* 0b0 - 176 */
0x1f000034, 0x00000034, /* 0b8 - 184 */
0x60000040, 0x00000000, /* 0c0 - 192 */
0x80880000, 0xffffff38, /* 0c8 - 200 */
0x60000040, 0x00000000, /* 0d0 - 208 */
0x48000000, 0x00000000, /* 0d8 - 216 */
0x98080000, 0x0000ff02, /* 0e0 - 224 */
0x60000040, 0x00000000, /* 0e8 - 232 */
0x87830000, 0xffffff10, /* 0f0 - 240 */
0x1f00002c, 0x0000002c, /* 0f8 - 248 */
0x98040004, 0x0000ff08, /* 100 - 256 */
0x60000040, 0x00000000, /* 108 - 264 */
0x48000000, 0x00000000, /* 110 - 272 */
0x98080000, 0x0000ff01, /* 118 - 280 */
0x54000000, 0x00000038, /* 120 - 288 */
0x72230000, 0x00000000, /* 128 - 296 */
0x6a340000, 0x00000000, /* 130 - 304 */
0x9f030000, 0x0000ff09, /* 138 - 312 */
0x1f00001c, 0x0000001c, /* 140 - 320 */
0x98080000, 0x0000ff03, /* 148 - 328 */
0x60000040, 0x00000000, /* 150 - 336 */
0x80880000, 0xfffffea8, /* 158 - 344 */
0x74011000, 0x00000000, /* 160 - 352 */
0x980c0000, 0x0000ff04, /* 168 - 360 */
0x74164000, 0x00000000, /* 170 - 368 */
0x80880000, 0xffffffa0, /* 178 - 376 */
0x1e000004, 0x00000004, /* 180 - 384 */
0x80880000, 0xfffffe78, /* 188 - 392 */
0x60000008, 0x00000000, /* 190 - 400 */
0x1a00000c, 0x0000000c, /* 198 - 408 */
0x80880000, 0xfffffe60, /* 1a0 - 416 */
0x1800003c, 0x0000003c, /* 1a8 - 424 */
0x88830000, 0xfffffe50, /* 1b0 - 432 */
0x18000044, 0x00000044, /* 1b8 - 440 */
0x88830000, 0xfffffe40, /* 1c0 - 448 */
0x1800004c, 0x0000004c, /* 1c8 - 456 */
0x88830000, 0xfffffe30, /* 1d0 - 464 */
0x18000054, 0x00000054, /* 1d8 - 472 */
0x88830000, 0xfffffe20, /* 1e0 - 480 */
0x1800005c, 0x0000005c, /* 1e8 - 488 */
0x88830000, 0xfffffe10, /* 1f0 - 496 */
0x18000064, 0x00000064, /* 1f8 - 504 */
0x88830000, 0xfffffe00, /* 200 - 512 */
0x1800006c, 0x0000006c, /* 208 - 520 */
0x88830000, 0xfffffdf0, /* 210 - 528 */
0x18000074, 0x00000074, /* 218 - 536 */
0x88830000, 0xfffffde0, /* 220 - 544 */
0x1800007c, 0x0000007c, /* 228 - 552 */
0x88830000, 0xfffffdd0, /* 230 - 560 */
0x18000084, 0x00000084, /* 238 - 568 */
0x88830000, 0xfffffdc0, /* 240 - 576 */
0x1800008c, 0x0000008c, /* 248 - 584 */
0x88830000, 0xfffffdb0, /* 250 - 592 */
0x18000094, 0x00000094, /* 258 - 600 */
0x88830000, 0xfffffda0, /* 260 - 608 */
0x1800009c, 0x0000009c, /* 268 - 616 */
0x88830000, 0xfffffd90, /* 270 - 624 */
0x180000a4, 0x000000a4, /* 278 - 632 */
0x88830000, 0xfffffd80, /* 280 - 640 */
0x180000ac, 0x000000ac, /* 288 - 648 */
0x88830000, 0xfffffd70, /* 290 - 656 */
0x180000b4, 0x000000b4, /* 298 - 664 */
0x88830000, 0xfffffd60, /* 2a0 - 672 */
0x180000bc, 0x000000bc, /* 2a8 - 680 */
0x88880000, 0xfffffd50, /* 2b0 - 688 */
0x1900003c, 0x0000003c, /* 2b8 - 696 */
0x89830000, 0xfffffd40, /* 2c0 - 704 */
0x19000044, 0x00000044, /* 2c8 - 712 */
0x89830000, 0xfffffd30, /* 2d0 - 720 */
0x1900004c, 0x0000004c, /* 2d8 - 728 */
0x89830000, 0xfffffd20, /* 2e0 - 736 */
0x19000054, 0x00000054, /* 2e8 - 744 */
0x89830000, 0xfffffd10, /* 2f0 - 752 */
0x1900005c, 0x0000005c, /* 2f8 - 760 */
0x89830000, 0xfffffd00, /* 300 - 768 */
0x19000064, 0x00000064, /* 308 - 776 */
0x89830000, 0xfffffcf0, /* 310 - 784 */
0x1900006c, 0x0000006c, /* 318 - 792 */
0x89830000, 0xfffffce0, /* 320 - 800 */
0x19000074, 0x00000074, /* 328 - 808 */
0x89830000, 0xfffffcd0, /* 330 - 816 */
0x1900007c, 0x0000007c, /* 338 - 824 */
0x89830000, 0xfffffcc0, /* 340 - 832 */
0x19000084, 0x00000084, /* 348 - 840 */
0x89830000, 0xfffffcb0, /* 350 - 848 */
0x1900008c, 0x0000008c, /* 358 - 856 */
0x89830000, 0xfffffca0, /* 360 - 864 */
0x19000094, 0x00000094, /* 368 - 872 */
0x89830000, 0xfffffc90, /* 370 - 880 */
0x1900009c, 0x0000009c, /* 378 - 888 */
0x89830000, 0xfffffc80, /* 380 - 896 */
0x190000a4, 0x000000a4, /* 388 - 904 */
0x89830000, 0xfffffc70, /* 390 - 912 */
0x190000ac, 0x000000ac, /* 398 - 920 */
0x89830000, 0xfffffc60, /* 3a0 - 928 */
0x190000b4, 0x000000b4, /* 3a8 - 936 */
0x89830000, 0xfffffc50, /* 3b0 - 944 */
0x190000bc, 0x000000bc, /* 3b8 - 952 */
0x88880000, 0xfffffc40, /* 3c0 - 960 */
0x1b000014, 0x00000014, /* 3c8 - 968 */
0x9f030000, 0x0000ff0a, /* 3d0 - 976 */
0x1f00001c, 0x0000001c, /* 3d8 - 984 */
0x60000040, 0x00000000, /* 3e0 - 992 */
0x48000000, 0x00000000, /* 3e8 - 1000 */
0x98080000, 0x0000ff00, /* 3f0 - 1008 */
0x80880000, 0xfffffd20, /* 3f8 - 1016 */
};
#define A_ds_Device 0x00000000
#define A_ds_MsgOut 0x00000004
#define A_ds_Cmd 0x0000000c
#define A_ds_Status 0x00000014
#define A_ds_Msg 0x0000001c
#define A_ds_MsgIn 0x00000024
#define A_ds_ExtMsg 0x0000002c
#define A_ds_SyncMsg 0x00000034
#define A_ds_Data1 0x0000003c
#define A_ds_Data2 0x00000044
#define A_ds_Data3 0x0000004c
#define A_ds_Data4 0x00000054
#define A_ds_Data5 0x0000005c
#define A_ds_Data6 0x00000064
#define A_ds_Data7 0x0000006c
#define A_ds_Data8 0x00000074
#define A_ds_Data9 0x0000007c
#define A_ds_Data10 0x00000084
#define A_ds_Data11 0x0000008c
#define A_ds_Data12 0x00000094
#define A_ds_Data13 0x0000009c
#define A_ds_Data14 0x000000a4
#define A_ds_Data15 0x000000ac
#define A_ds_Data16 0x000000b4
#define A_ds_Data17 0x000000bc
#define A_ok 0x0000ff00
#define A_err1 0x0000ff01
#define A_err2 0x0000ff02
#define A_err3 0x0000ff03
#define A_err4 0x0000ff04
#define A_err5 0x0000ff05
#define A_err6 0x0000ff06
#define A_err7 0x0000ff07
#define A_err8 0x0000ff08
#define A_err9 0x0000ff09
#define A_err10 0x0000ff0a
#define Ent_scripts 0x00000000
#define Ent_switch 0x00000008
#define Ent_wait_reselect 0x00000120
#define Ent_dataout 0x000001a8
#define Ent_datain 0x000002b8
unsigned long INSTRUCTIONS = 0x00000080;
unsigned long PATCHES = 0x00000000;
|