Subversion Repositories FlightCtrl

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1564 LPDunwell 1
   1               		.file	"eeprom.c"
2
   2               	__SREG__ = 0x3f
3
   3               	__SP_H__ = 0x3e
4
   4               	__SP_L__ = 0x3d
5
   5               	__CCP__  = 0x34
6
   6               	__tmp_reg__ = 0
7
   7               	__zero_reg__ = 1
8
   8               		.text
9
  10               	eeprom_read_byte:
10
  11               	/* prologue: function */
11
  12               	/* frame size = 0 */
12
  13 0000 9C01      		movw r18,r24
13
  14               	.L2:
14
  15 0002 F999      		sbic 63-32,1
15
  16 0004 00C0      		rjmp .L2
16
  17 0006 32BD      		out (65)+1-32,r19
17
  18 0008 21BD      		out 65-32,r18
18
  19               	/* #APP */
19
  20               	 ;  208 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1
20
  21               		/* START EEPROM READ CRITICAL SECTION */
21
  22 000a F89A      		sbi 31, 0
22
  23 000c 80B5      		in r24, 32
23
  24               		/* END EEPROM READ CRITICAL SECTION */
24
  25
25
  26               	 ;  0 "" 2
26
  27               	/* epilogue start */
27
  28               	/* #NOAPP */
28
  29 000e 0895      		ret
29
  32               	eeprom_write_byte:
30
  33               	/* prologue: function */
31
  34               	/* frame size = 0 */
32
  35 0010 9C01      		movw r18,r24
33
  36               	.L7:
34
  37 0012 F999      		sbic 63-32,1
35
  38 0014 00C0      		rjmp .L7
36
  39 0016 1FBA      		out 63-32,__zero_reg__
37
  40 0018 32BD      		out (65)+1-32,r19
38
  41 001a 21BD      		out 65-32,r18
39
  42 001c 60BD      		out 64-32,r22
40
  43               	/* #APP */
41
  44               	 ;  315 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1
42
  45               		/* START EEPROM WRITE CRITICAL SECTION */
43
  46 001e 0FB6      		in	r0, 63
44
  47 0020 F894      		cli
45
  48 0022 FA9A      		sbi	31, 2
46
  49 0024 F99A      		sbi	31, 1
47
  50 0026 0FBE      		out	63, r0
48
  51               		/* END EEPROM WRITE CRITICAL SECTION */
49
  52               	 ;  0 "" 2
50
  53               	/* epilogue start */
51
  54               	/* #NOAPP */
52
  55 0028 0895      		ret
53
  57               	.global	GetParamByte
54
  59               	GetParamByte:
55
  60               	/* prologue: function */
56
  61               	/* frame size = 0 */
57
  62               	.L11:
58
  63 002a F999      		sbic 63-32,1
59
  64 002c 00C0      		rjmp .L11
60
  65 002e 8050      		subi r24,lo8(-(EEPromArray))
61
  66 0030 9040      		sbci r25,hi8(-(EEPromArray))
62
  67 0032 92BD      		out (65)+1-32,r25
63
  68 0034 81BD      		out 65-32,r24
64
  69               	/* #APP */
65
  70               	 ;  208 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1
66
  71               		/* START EEPROM READ CRITICAL SECTION */
67
  72 0036 F89A      		sbi 31, 0
68
  73 0038 80B5      		in r24, 32
69
  74               		/* END EEPROM READ CRITICAL SECTION */
70
  75
71
  76               	 ;  0 "" 2
72
  77               	/* epilogue start */
73
  78               	/* #NOAPP */
74
  79 003a 0895      		ret
75
  81               	.global	SetParamByte
76
  83               	SetParamByte:
77
  84               	/* prologue: function */
78
  85               	/* frame size = 0 */
79
  86               	.L15:
80
  87 003c F999      		sbic 63-32,1
81
  88 003e 00C0      		rjmp .L15
82
  89 0040 1FBA      		out 63-32,__zero_reg__
83
  90 0042 8050      		subi r24,lo8(-(EEPromArray))
84
  91 0044 9040      		sbci r25,hi8(-(EEPromArray))
85
  92 0046 92BD      		out (65)+1-32,r25
86
  93 0048 81BD      		out 65-32,r24
87
  94 004a 60BD      		out 64-32,r22
88
  95               	/* #APP */
89
  96               	 ;  315 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1
90
  97               		/* START EEPROM WRITE CRITICAL SECTION */
91
  98 004c 0FB6      		in	r0, 63
92
  99 004e F894      		cli
93
 100 0050 FA9A      		sbi	31, 2
94
 101 0052 F99A      		sbi	31, 1
95
 102 0054 0FBE      		out	63, r0
96
 103               		/* END EEPROM WRITE CRITICAL SECTION */
97
 104               	 ;  0 "" 2
98
 105               	/* epilogue start */
99
 106               	/* #NOAPP */
100
 107 0056 0895      		ret
101
 109               	.global	GetActiveParamSet
102
 111               	GetActiveParamSet:
103
 112               	/* prologue: function */
104
 113               	/* frame size = 0 */
105
 114               	.L19:
106
 115 0058 F999      		sbic 63-32,1
107
 116 005a 00C0      		rjmp .L19
108
 117 005c 20E0      		ldi r18,lo8(EEPromArray+2)
109
 118 005e 30E0      		ldi r19,hi8(EEPromArray+2)
110
 119 0060 32BD      		out (65)+1-32,r19
111
 120 0062 21BD      		out 65-32,r18
112
 121               	/* #APP */
113
 122               	 ;  208 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1
114
 123               		/* START EEPROM READ CRITICAL SECTION */
115
 124 0064 F89A      		sbi 31, 0
116
 125 0066 80B5      		in r24, 32
117
 126               		/* END EEPROM READ CRITICAL SECTION */
118
 127
119
 128               	 ;  0 "" 2
120
 129               	/* #NOAPP */
121
 130 0068 8630      		cpi r24,lo8(6)
122
 131 006a 00F0      		brlo .L20
123
 132               	.L23:
124
 133 006c F999      		sbic 63-32,1
125
 134 006e 00C0      		rjmp .L23
126
 135 0070 1FBA      		out 63-32,__zero_reg__
127
 136 0072 32BD      		out (65)+1-32,r19
128
 137 0074 21BD      		out 65-32,r18
129
 138 0076 83E0      		ldi r24,lo8(3)
130
 139 0078 80BD      		out 64-32,r24
131
 140               	/* #APP */
132
 141               	 ;  315 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1
133
 142               		/* START EEPROM WRITE CRITICAL SECTION */
134
 143 007a 0FB6      		in	r0, 63
135
 144 007c F894      		cli
136
 145 007e FA9A      		sbi	31, 2
137
 146 0080 F99A      		sbi	31, 1
138
 147 0082 0FBE      		out	63, r0
139
 148               		/* END EEPROM WRITE CRITICAL SECTION */
140
 149               	 ;  0 "" 2
141
 150               	/* #NOAPP */
142
 151               	.L20:
143
 152 0084 0895      		ret
144
 154               	.global	SetActiveParamSet
145
 156               	SetActiveParamSet:
146
 157               	/* prologue: function */
147
 158               	/* frame size = 0 */
148
 159 0086 282F      		mov r18,r24
149
 160 0088 8630      		cpi r24,lo8(6)
150
 161 008a 00F0      		brlo .L27
151
 162 008c 25E0      		ldi r18,lo8(5)
152
 163               	.L30:
153
 164 008e F999      		sbic 63-32,1
154
 165 0090 00C0      		rjmp .L30
155
 166 0092 1FBA      		out 63-32,__zero_reg__
156
 167 0094 80E0      		ldi r24,lo8(EEPromArray+2)
157
 168 0096 90E0      		ldi r25,hi8(EEPromArray+2)
158
 169 0098 92BD      		out (65)+1-32,r25
159
 170 009a 81BD      		out 65-32,r24
160
 171 009c 20BD      		out 64-32,r18
161
 172               	/* #APP */
162
 173               	 ;  315 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1
163
 174               		/* START EEPROM WRITE CRITICAL SECTION */
164
 175 009e 0FB6      		in	r0, 63
165
 176 00a0 F894      		cli
166
 177 00a2 FA9A      		sbi	31, 2
167
 178 00a4 F99A      		sbi	31, 1
168
 179 00a6 0FBE      		out	63, r0
169
 180               		/* END EEPROM WRITE CRITICAL SECTION */
170
 181               	 ;  0 "" 2
171
 182               	/* epilogue start */
172
 183               	/* #NOAPP */
173
 184 00a8 0895      		ret
174
 185               	.L27:
175
 186 00aa 8823      		tst r24
176
 187 00ac 01F4      		brne .L30
177
 188 00ae 21E0      		ldi r18,lo8(1)
178
 189 00b0 00C0      		rjmp .L30
179
 191               		.data
180
 192               	.LC0:
181
 193 0000 5175 6164 		.string	"Quadro"
182
 193      726F 00
183
 194 0007 00        		.string	""
184
 195               		.text
185
 196               	.global	MixerTable_Default
186
 198               	MixerTable_Default:
187
 199               	/* prologue: function */
188
 200               	/* frame size = 0 */
189
 201 00b2 81E0      		ldi r24,lo8(1)
190
 202 00b4 8093 0000 		sts Mixer,r24
191
 203 00b8 E0E0      		ldi r30,lo8(Mixer+13)
192
 204 00ba F0E0      		ldi r31,hi8(Mixer+13)
193
 205               	.L33:
194
 206 00bc 1082      		st Z,__zero_reg__
195
 207 00be 1182      		std Z+1,__zero_reg__
196
 208 00c0 1282      		std Z+2,__zero_reg__
197
 209 00c2 1382      		std Z+3,__zero_reg__
198
 210 00c4 3496      		adiw r30,4
199
 211 00c6 80E0      		ldi r24,hi8(Mixer+77)
200
 212 00c8 E030      		cpi r30,lo8(Mixer+77)
201
 213 00ca F807      		cpc r31,r24
202
 214 00cc 01F4      		brne .L33
203
 215 00ce 80E4      		ldi r24,lo8(64)
204
 216 00d0 8093 0000 		sts Mixer+13,r24
205
 217 00d4 FF97      		sbiw r30,63
206
 218 00d6 8083      		st Z,r24
207
 219 00d8 1092 0000 		sts Mixer+15,__zero_reg__
208
 220 00dc 8093 0000 		sts Mixer+16,r24
209
 221 00e0 8093 0000 		sts Mixer+17,r24
210
 222 00e4 90EC      		ldi r25,lo8(-64)
211
 223 00e6 9093 0000 		sts Mixer+18,r25
212
 224 00ea 1092 0000 		sts Mixer+19,__zero_reg__
213
 225 00ee 8093 0000 		sts Mixer+20,r24
214
 226 00f2 8093 0000 		sts Mixer+21,r24
215
 227 00f6 1092 0000 		sts Mixer+22,__zero_reg__
216
 228 00fa 9093 0000 		sts Mixer+23,r25
217
 229 00fe 9093 0000 		sts Mixer+24,r25
218
 230 0102 8093 0000 		sts Mixer+25,r24
219
 231 0106 1092 0000 		sts Mixer+26,__zero_reg__
220
 232 010a 8093 0000 		sts Mixer+27,r24
221
 233 010e 9093 0000 		sts Mixer+28,r25
222
 234 0112 3D97      		sbiw r30,13
223
 235 0114 A0E0      		ldi r26,lo8(.LC0)
224
 236 0116 B0E0      		ldi r27,hi8(.LC0)
225
 237 0118 87E0      		ldi r24,lo8(7)
226
 238               	.L34:
227
 239 011a 0D90      		ld r0,X+
228
 240 011c 0192      		st Z+,r0
229
 241 011e 8150      		subi r24,lo8(-(-1))
230
 242 0120 01F4      		brne .L34
231
 243               	/* epilogue start */
232
 244 0122 0895      		ret
233
 246               		.data
234
 247               	.LC1:
235
 248 0008 4265 6769 		.string	"Beginner"
236
 248      6E6E 6572
237
 248      00
238
 249 0011 00        		.string	""
239
 250               		.text
240
 251               	.global	ParamSet_DefaultSet3
241
 253               	ParamSet_DefaultSet3:
242
 254               	/* prologue: function */
243
 255               	/* frame size = 0 */
244
 256 0124 8091 0000 		lds r24,BoardRelease
245
 257 0128 8431      		cpi r24,lo8(20)
246
 258 012a 00F0      		brlo .+2
247
 259 012c 00C0      		rjmp .L44
248
 260 012e 83E0      		ldi r24,lo8(3)
249
 261 0130 8093 0000 		sts ParamSet+27,r24
250
 262 0134 80E2      		ldi r24,lo8(32)
251
 263 0136 8093 0000 		sts ParamSet+57,r24
252
 264 013a 8EE1      		ldi r24,lo8(30)
253
 265 013c 8093 0000 		sts ParamSet+23,r24
254
 266 0140 85E5      		ldi r24,lo8(85)
255
 267 0142 8093 0000 		sts ParamSet+54,r24
256
 268 0146 8093 0000 		sts ParamSet+55,r24
257
 269               	.L40:
258
 270 014a 21E0      		ldi r18,lo8(1)
259
 271 014c 2093 0000 		sts ParamSet+2,r18
260
 272 0150 82E0      		ldi r24,lo8(2)
261
 273 0152 8093 0000 		sts ParamSet+1,r24
262
 274 0156 83E0      		ldi r24,lo8(3)
263
 275 0158 8093 0000 		sts ParamSet,r24
264
 276 015c 74E0      		ldi r23,lo8(4)
265
 277 015e 7093 0000 		sts ParamSet+3,r23
266
 278 0162 95E0      		ldi r25,lo8(5)
267
 279 0164 9093 0000 		sts ParamSet+4,r25
268
 280 0168 66E0      		ldi r22,lo8(6)
269
 281 016a 6093 0000 		sts ParamSet+5,r22
270
 282 016e 87E0      		ldi r24,lo8(7)
271
 283 0170 8093 0000 		sts ParamSet+6,r24
272
 284 0174 58E0      		ldi r21,lo8(8)
273
 285 0176 5093 0000 		sts ParamSet+7,r21
274
 286 017a 8AE6      		ldi r24,lo8(106)
275
 287 017c 8093 0000 		sts ParamSet+8,r24
276
 288 0180 1092 0000 		sts ParamSet+86,__zero_reg__
277
 289 0184 2093 0000 		sts ParamSet+88,r18
278
 290 0188 4EE1      		ldi r20,lo8(30)
279
 291 018a 4093 0000 		sts ParamSet+9,r20
280
 292 018e 8BEF      		ldi r24,lo8(-5)
281
 293 0190 8093 0000 		sts ParamSet+11,r24
282
 294 0194 8AE0      		ldi r24,lo8(10)
283
 295 0196 8093 0000 		sts ParamSet+12,r24
284
 296 019a 4093 0000 		sts ParamSet+10,r20
285
 297 019e 4093 0000 		sts ParamSet+14,r20
286
 298 01a2 9093 0000 		sts ParamSet+15,r25
287
 299 01a6 80E4      		ldi r24,lo8(64)
288
 300 01a8 8093 0000 		sts ParamSet+16,r24
289
 301 01ac 1092 0000 		sts ParamSet+17,__zero_reg__
290
 302 01b0 8FE0      		ldi r24,lo8(15)
291
 303 01b2 8093 0000 		sts ParamSet+13,r24
292
 304 01b6 5093 0000 		sts ParamSet+18,r21
293
 305 01ba 90E1      		ldi r25,lo8(16)
294
 306 01bc 9093 0000 		sts ParamSet+19,r25
295
 307 01c0 6093 0000 		sts ParamSet+20,r22
296
 308 01c4 5093 0000 		sts ParamSet+21,r21
297
 309 01c8 86EE      		ldi r24,lo8(-26)
298
 310 01ca 8093 0000 		sts ParamSet+22,r24
299
 311 01ce 80E8      		ldi r24,lo8(-128)
300
 312 01d0 8093 0000 		sts ParamSet+24,r24
301
 313 01d4 34E6      		ldi r19,lo8(100)
302
 314 01d6 3093 0000 		sts ParamSet+25,r19
303
 315 01da 88E7      		ldi r24,lo8(120)
304
 316 01dc 8093 0000 		sts ParamSet+26,r24
305
 317 01e0 3093 0000 		sts ParamSet+28,r19
306
 318 01e4 8093 0000 		sts ParamSet+29,r24
307
 319 01e8 81E2      		ldi r24,lo8(33)
308
 320 01ea 8093 0000 		sts ParamSet+30,r24
309
 321 01ee 83E2      		ldi r24,lo8(35)
310
 322 01f0 8093 0000 		sts ParamSet+31,r24
311
 323 01f4 84E1      		ldi r24,lo8(20)
312
 324 01f6 8093 0000 		sts ParamSet+32,r24
313
 325 01fa 1092 0000 		sts ParamSet+33,__zero_reg__
314
 326 01fe 9093 0000 		sts ParamSet+34,r25
315
 327 0202 1092 0000 		sts ParamSet+35,__zero_reg__
316
 328 0206 1092 0000 		sts ParamSet+36,__zero_reg__
317
 329 020a 1092 0000 		sts ParamSet+37,__zero_reg__
318
 330 020e 1092 0000 		sts ParamSet+38,__zero_reg__
319
 331 0212 1092 0000 		sts ParamSet+59,__zero_reg__
320
 332 0216 1092 0000 		sts ParamSet+60,__zero_reg__
321
 333 021a 1092 0000 		sts ParamSet+61,__zero_reg__
322
 334 021e 1092 0000 		sts ParamSet+62,__zero_reg__
323
 335 0222 2093 0000 		sts ParamSet+87,r18
324
 336 0226 6093 0000 		sts ParamSet+47,r22
325
 337 022a 3093 0000 		sts ParamSet+39,r19
326
 338 022e 98E2      		ldi r25,lo8(40)
327
 339 0230 9093 0000 		sts ParamSet+40,r25
328
 340 0234 1092 0000 		sts ParamSet+41,__zero_reg__
329
 341 0238 8AEF      		ldi r24,lo8(-6)
330
 342 023a 8093 0000 		sts ParamSet+42,r24
331
 343 023e 3093 0000 		sts ParamSet+43,r19
332
 344 0242 9093 0000 		sts ParamSet+44,r25
333
 345 0246 1092 0000 		sts ParamSet+45,__zero_reg__
334
 346 024a 8093 0000 		sts ParamSet+46,r24
335
 347 024e 92E3      		ldi r25,lo8(50)
336
 348 0250 9093 0000 		sts ParamSet+48,r25
337
 349 0254 2AE5      		ldi r18,lo8(90)
338
 350 0256 2093 0000 		sts ParamSet+49,r18
339
 351 025a 9093 0000 		sts ParamSet+50,r25
340
 352 025e 2093 0000 		sts ParamSet+51,r18
341
 353 0262 80E5      		ldi r24,lo8(80)
342
 354 0264 8093 0000 		sts ParamSet+52,r24
343
 355 0268 86E4      		ldi r24,lo8(70)
344
 356 026a 8093 0000 		sts ParamSet+53,r24
345
 357 026e 80E2      		ldi r24,lo8(32)
346
 358 0270 8093 0000 		sts ParamSet+56,r24
347
 359 0274 9093 0000 		sts ParamSet+58,r25
348
 360 0278 8FE5      		ldi r24,lo8(95)
349
 361 027a 8093 0000 		sts ParamSet+63,r24
350
 362 027e 83EF      		ldi r24,lo8(-13)
351
 363 0280 8093 0000 		sts ParamSet+65,r24
352
 364 0284 8AEA      		ldi r24,lo8(-86)
353
 365 0286 8093 0000 		sts ParamSet+67,r24
354
 366 028a 8093 0000 		sts ParamSet+68,r24
355
 367 028e 4093 0000 		sts ParamSet+64,r20
356
 368 0292 4093 0000 		sts ParamSet+66,r20
357
 369 0296 8CEF      		ldi r24,lo8(-4)
358
 370 0298 8093 0000 		sts ParamSet+69,r24
359
 371 029c 3093 0000 		sts ParamSet+70,r19
360
 372 02a0 2093 0000 		sts ParamSet+71,r18
361
 373 02a4 2093 0000 		sts ParamSet+72,r18
362
 374 02a8 2093 0000 		sts ParamSet+73,r18
363
 375 02ac 8BE4      		ldi r24,lo8(75)
364
 376 02ae 8093 0000 		sts ParamSet+74,r24
365
 377 02b2 8093 0000 		sts ParamSet+75,r24
366
 378 02b6 8093 0000 		sts ParamSet+76,r24
367
 379 02ba 1092 0000 		sts ParamSet+77,__zero_reg__
368
 380 02be 6093 0000 		sts ParamSet+78,r22
369
 381 02c2 5093 0000 		sts ParamSet+79,r21
370
 382 02c6 2093 0000 		sts ParamSet+80,r18
371
 383 02ca 4093 0000 		sts ParamSet+81,r20
372
 384 02ce 3093 0000 		sts ParamSet+82,r19
373
 385 02d2 3093 0000 		sts ParamSet+83,r19
374
 386 02d6 7093 0000 		sts ParamSet+84,r23
375
 387 02da A0E0      		ldi r26,lo8(ParamSet+89)
376
 388 02dc B0E0      		ldi r27,hi8(ParamSet+89)
377
 389 02de E0E0      		ldi r30,lo8(.LC1)
378
 390 02e0 F0E0      		ldi r31,hi8(.LC1)
379
 391 02e2 89E0      		ldi r24,lo8(9)
380
 392               	.L41:
381
 393 02e4 0190      		ld r0,Z+
382
 394 02e6 0D92      		st X+,r0
383
 395 02e8 8150      		subi r24,lo8(-(-1))
384
 396 02ea 01F4      		brne .L41
385
 397               	/* epilogue start */
386
 398 02ec 0895      		ret
387
 399               	.L44:
388
 400 02ee 85E0      		ldi r24,lo8(5)
389
 401 02f0 8093 0000 		sts ParamSet+27,r24
390
 402 02f4 1092 0000 		sts ParamSet+57,__zero_reg__
391
 403 02f8 8BE1      		ldi r24,lo8(27)
392
 404 02fa 8093 0000 		sts ParamSet+23,r24
393
 405 02fe 8EE4      		ldi r24,lo8(78)
394
 406 0300 8093 0000 		sts ParamSet+54,r24
395
 407 0304 8093 0000 		sts ParamSet+55,r24
396
 408 0308 00C0      		rjmp .L40
397
 410               		.data
398
 411               	.LC2:
399
 412 0012 4E6F 726D 		.string	"Normal"
400
 412      616C 00
401
 413 0019 00        		.string	""
402
 414               		.text
403
 415               	.global	ParamSet_DefaultSet2
404
 417               	ParamSet_DefaultSet2:
405
 418               	/* prologue: function */
406
 419               	/* frame size = 0 */
407
 420 030a 8091 0000 		lds r24,BoardRelease
408
 421 030e 8431      		cpi r24,lo8(20)
409
 422 0310 00F0      		brlo .+2
410
 423 0312 00C0      		rjmp .L51
411
 424 0314 83E0      		ldi r24,lo8(3)
412
 425 0316 8093 0000 		sts ParamSet+27,r24
413
 426 031a 80E2      		ldi r24,lo8(32)
414
 427 031c 8093 0000 		sts ParamSet+57,r24
415
 428 0320 8EE1      		ldi r24,lo8(30)
416
 429 0322 8093 0000 		sts ParamSet+23,r24
417
 430 0326 85E5      		ldi r24,lo8(85)
418
 431 0328 8093 0000 		sts ParamSet+54,r24
419
 432 032c 8093 0000 		sts ParamSet+55,r24
420
 433               	.L47:
421
 434 0330 31E0      		ldi r19,lo8(1)
422
 435 0332 3093 0000 		sts ParamSet+2,r19
423
 436 0336 82E0      		ldi r24,lo8(2)
424
 437 0338 8093 0000 		sts ParamSet+1,r24
425
 438 033c 83E0      		ldi r24,lo8(3)
426
 439 033e 8093 0000 		sts ParamSet,r24
427
 440 0342 E4E0      		ldi r30,lo8(4)
428
 441 0344 E093 0000 		sts ParamSet+3,r30
429
 442 0348 25E0      		ldi r18,lo8(5)
430
 443 034a 2093 0000 		sts ParamSet+4,r18
431
 444 034e 56E0      		ldi r21,lo8(6)
432
 445 0350 5093 0000 		sts ParamSet+5,r21
433
 446 0354 87E0      		ldi r24,lo8(7)
434
 447 0356 8093 0000 		sts ParamSet+6,r24
435
 448 035a 78E0      		ldi r23,lo8(8)
436
 449 035c 7093 0000 		sts ParamSet+7,r23
437
 450 0360 8AE6      		ldi r24,lo8(106)
438
 451 0362 8093 0000 		sts ParamSet+8,r24
439
 452 0366 1092 0000 		sts ParamSet+86,__zero_reg__
440
 453 036a 3093 0000 		sts ParamSet+88,r19
441
 454 036e 4EE1      		ldi r20,lo8(30)
442
 455 0370 4093 0000 		sts ParamSet+9,r20
443
 456 0374 8BEF      		ldi r24,lo8(-5)
444
 457 0376 8093 0000 		sts ParamSet+11,r24
445
 458 037a 9AE0      		ldi r25,lo8(10)
446
 459 037c 9093 0000 		sts ParamSet+12,r25
447
 460 0380 4093 0000 		sts ParamSet+10,r20
448
 461 0384 4093 0000 		sts ParamSet+14,r20
449
 462 0388 2093 0000 		sts ParamSet+15,r18
450
 463 038c 80E4      		ldi r24,lo8(64)
451
 464 038e 8093 0000 		sts ParamSet+16,r24
452
 465 0392 1092 0000 		sts ParamSet+17,__zero_reg__
453
 466 0396 8FE0      		ldi r24,lo8(15)
454
 467 0398 8093 0000 		sts ParamSet+13,r24
455
 468 039c 9093 0000 		sts ParamSet+18,r25
456
 469 03a0 80E1      		ldi r24,lo8(16)
457
 470 03a2 8093 0000 		sts ParamSet+19,r24
458
 471 03a6 5093 0000 		sts ParamSet+20,r21
459
 472 03aa 7093 0000 		sts ParamSet+21,r23
460
 473 03ae 86EE      		ldi r24,lo8(-26)
461
 474 03b0 8093 0000 		sts ParamSet+22,r24
462
 475 03b4 80E8      		ldi r24,lo8(-128)
463
 476 03b6 8093 0000 		sts ParamSet+24,r24
464
 477 03ba 2AE5      		ldi r18,lo8(90)
465
 478 03bc 2093 0000 		sts ParamSet+25,r18
466
 479 03c0 88E7      		ldi r24,lo8(120)
467
 480 03c2 8093 0000 		sts ParamSet+26,r24
468
 481 03c6 2093 0000 		sts ParamSet+28,r18
469
 482 03ca 8093 0000 		sts ParamSet+29,r24
470
 483 03ce 81E2      		ldi r24,lo8(33)
471
 484 03d0 8093 0000 		sts ParamSet+30,r24
472
 485 03d4 83E2      		ldi r24,lo8(35)
473
 486 03d6 8093 0000 		sts ParamSet+31,r24
474
 487 03da 4093 0000 		sts ParamSet+32,r20
475
 488 03de 1092 0000 		sts ParamSet+33,__zero_reg__
476
 489 03e2 60E2      		ldi r22,lo8(32)
477
 490 03e4 6093 0000 		sts ParamSet+34,r22
478
 491 03e8 1092 0000 		sts ParamSet+35,__zero_reg__
479
 492 03ec 1092 0000 		sts ParamSet+36,__zero_reg__
480
 493 03f0 1092 0000 		sts ParamSet+37,__zero_reg__
481
 494 03f4 1092 0000 		sts ParamSet+38,__zero_reg__
482
 495 03f8 1092 0000 		sts ParamSet+59,__zero_reg__
483
 496 03fc 1092 0000 		sts ParamSet+60,__zero_reg__
484
 497 0400 1092 0000 		sts ParamSet+61,__zero_reg__
485
 498 0404 1092 0000 		sts ParamSet+62,__zero_reg__
486
 499 0408 3093 0000 		sts ParamSet+87,r19
487
 500 040c 5093 0000 		sts ParamSet+47,r21
488
 501 0410 34E6      		ldi r19,lo8(100)
489
 502 0412 3093 0000 		sts ParamSet+39,r19
490
 503 0416 98E2      		ldi r25,lo8(40)
491
 504 0418 9093 0000 		sts ParamSet+40,r25
492
 505 041c 1092 0000 		sts ParamSet+41,__zero_reg__
493
 506 0420 8AEF      		ldi r24,lo8(-6)
494
 507 0422 8093 0000 		sts ParamSet+42,r24
495
 508 0426 3093 0000 		sts ParamSet+43,r19
496
 509 042a 9093 0000 		sts ParamSet+44,r25
497
 510 042e 1092 0000 		sts ParamSet+45,__zero_reg__
498
 511 0432 8093 0000 		sts ParamSet+46,r24
499
 512 0436 82E3      		ldi r24,lo8(50)
500
 513 0438 8093 0000 		sts ParamSet+48,r24
501
 514 043c 2093 0000 		sts ParamSet+49,r18
502
 515 0440 8093 0000 		sts ParamSet+50,r24
503
 516 0444 2093 0000 		sts ParamSet+51,r18
504
 517 0448 80E5      		ldi r24,lo8(80)
505
 518 044a 8093 0000 		sts ParamSet+52,r24
506
 519 044e 8CE3      		ldi r24,lo8(60)
507
 520 0450 8093 0000 		sts ParamSet+53,r24
508
 521 0454 6093 0000 		sts ParamSet+56,r22
509
 522 0458 9BE4      		ldi r25,lo8(75)
510
 523 045a 9093 0000 		sts ParamSet+58,r25
511
 524 045e 8FE5      		ldi r24,lo8(95)
512
 525 0460 8093 0000 		sts ParamSet+63,r24
513
 526 0464 83EF      		ldi r24,lo8(-13)
514
 527 0466 8093 0000 		sts ParamSet+65,r24
515
 528 046a 8AEA      		ldi r24,lo8(-86)
516
 529 046c 8093 0000 		sts ParamSet+67,r24
517
 530 0470 8093 0000 		sts ParamSet+68,r24
518
 531 0474 84E1      		ldi r24,lo8(20)
519
 532 0476 8093 0000 		sts ParamSet+64,r24
520
 533 047a 8093 0000 		sts ParamSet+66,r24
521
 534 047e 8CEF      		ldi r24,lo8(-4)
522
 535 0480 8093 0000 		sts ParamSet+69,r24
523
 536 0484 3093 0000 		sts ParamSet+70,r19
524
 537 0488 2093 0000 		sts ParamSet+71,r18
525
 538 048c 2093 0000 		sts ParamSet+72,r18
526
 539 0490 2093 0000 		sts ParamSet+73,r18
527
 540 0494 9093 0000 		sts ParamSet+74,r25
528
 541 0498 9093 0000 		sts ParamSet+75,r25
529
 542 049c 9093 0000 		sts ParamSet+76,r25
530
 543 04a0 1092 0000 		sts ParamSet+77,__zero_reg__
531
 544 04a4 5093 0000 		sts ParamSet+78,r21
532
 545 04a8 7093 0000 		sts ParamSet+79,r23
533
 546 04ac 2093 0000 		sts ParamSet+80,r18
534
 547 04b0 4093 0000 		sts ParamSet+81,r20
535
 548 04b4 3093 0000 		sts ParamSet+82,r19
536
 549 04b8 3093 0000 		sts ParamSet+83,r19
537
 550 04bc E093 0000 		sts ParamSet+84,r30
538
 551 04c0 A0E0      		ldi r26,lo8(ParamSet+89)
539
 552 04c2 B0E0      		ldi r27,hi8(ParamSet+89)
540
 553 04c4 E0E0      		ldi r30,lo8(.LC2)
541
 554 04c6 F0E0      		ldi r31,hi8(.LC2)
542
 555 04c8 87E0      		ldi r24,lo8(7)
543
 556               	.L48:
544
 557 04ca 0190      		ld r0,Z+
545
 558 04cc 0D92      		st X+,r0
546
 559 04ce 8150      		subi r24,lo8(-(-1))
547
 560 04d0 01F4      		brne .L48
548
 561               	/* epilogue start */
549
 562 04d2 0895      		ret
550
 563               	.L51:
551
 564 04d4 85E0      		ldi r24,lo8(5)
552
 565 04d6 8093 0000 		sts ParamSet+27,r24
553
 566 04da 1092 0000 		sts ParamSet+57,__zero_reg__
554
 567 04de 8BE1      		ldi r24,lo8(27)
555
 568 04e0 8093 0000 		sts ParamSet+23,r24
556
 569 04e4 8EE4      		ldi r24,lo8(78)
557
 570 04e6 8093 0000 		sts ParamSet+54,r24
558
 571 04ea 8093 0000 		sts ParamSet+55,r24
559
 572 04ee 00C0      		rjmp .L47
560
 574               		.data
561
 575               	.LC3:
562
 576 001a 5370 6F72 		.string	"Sport"
563
 576      7400
564
 577 0020 00        		.string	""
565
 578               		.text
566
 579               	.global	ParamSet_DefaultSet1
567
 581               	ParamSet_DefaultSet1:
568
 582               	/* prologue: function */
569
 583               	/* frame size = 0 */
570
 584 04f0 8091 0000 		lds r24,BoardRelease
571
 585 04f4 8431      		cpi r24,lo8(20)
572
 586 04f6 00F0      		brlo .+2
573
 587 04f8 00C0      		rjmp .L58
574
 588 04fa 83E0      		ldi r24,lo8(3)
575
 589 04fc 8093 0000 		sts ParamSet+27,r24
576
 590 0500 80E2      		ldi r24,lo8(32)
577
 591 0502 8093 0000 		sts ParamSet+57,r24
578
 592 0506 8EE1      		ldi r24,lo8(30)
579
 593 0508 8093 0000 		sts ParamSet+23,r24
580
 594 050c 85E5      		ldi r24,lo8(85)
581
 595 050e 8093 0000 		sts ParamSet+54,r24
582
 596 0512 8093 0000 		sts ParamSet+55,r24
583
 597               	.L54:
584
 598 0516 51E0      		ldi r21,lo8(1)
585
 599 0518 5093 0000 		sts ParamSet+2,r21
586
 600 051c 82E0      		ldi r24,lo8(2)
587
 601 051e 8093 0000 		sts ParamSet+1,r24
588
 602 0522 83E0      		ldi r24,lo8(3)
589
 603 0524 8093 0000 		sts ParamSet,r24
590
 604 0528 F4E0      		ldi r31,lo8(4)
591
 605 052a F093 0000 		sts ParamSet+3,r31
592
 606 052e 95E0      		ldi r25,lo8(5)
593
 607 0530 9093 0000 		sts ParamSet+4,r25
594
 608 0534 76E0      		ldi r23,lo8(6)
595
 609 0536 7093 0000 		sts ParamSet+5,r23
596
 610 053a 87E0      		ldi r24,lo8(7)
597
 611 053c 8093 0000 		sts ParamSet+6,r24
598
 612 0540 68E0      		ldi r22,lo8(8)
599
 613 0542 6093 0000 		sts ParamSet+7,r22
600
 614 0546 8AE6      		ldi r24,lo8(106)
601
 615 0548 8093 0000 		sts ParamSet+8,r24
602
 616 054c 1092 0000 		sts ParamSet+86,__zero_reg__
603
 617 0550 5093 0000 		sts ParamSet+88,r21
604
 618 0554 4EE1      		ldi r20,lo8(30)
605
 619 0556 4093 0000 		sts ParamSet+9,r20
606
 620 055a 8BEF      		ldi r24,lo8(-5)
607
 621 055c 8093 0000 		sts ParamSet+11,r24
608
 622 0560 8AE0      		ldi r24,lo8(10)
609
 623 0562 8093 0000 		sts ParamSet+12,r24
610
 624 0566 4093 0000 		sts ParamSet+10,r20
611
 625 056a 4093 0000 		sts ParamSet+14,r20
612
 626 056e 9093 0000 		sts ParamSet+15,r25
613
 627 0572 80E4      		ldi r24,lo8(64)
614
 628 0574 8093 0000 		sts ParamSet+16,r24
615
 629 0578 1092 0000 		sts ParamSet+17,__zero_reg__
616
 630 057c 84E1      		ldi r24,lo8(20)
617
 631 057e 8093 0000 		sts ParamSet+13,r24
618
 632 0582 8EE0      		ldi r24,lo8(14)
619
 633 0584 8093 0000 		sts ParamSet+18,r24
620
 634 0588 E0E1      		ldi r30,lo8(16)
621
 635 058a E093 0000 		sts ParamSet+19,r30
622
 636 058e 8CE0      		ldi r24,lo8(12)
623
 637 0590 8093 0000 		sts ParamSet+20,r24
624
 638 0594 6093 0000 		sts ParamSet+21,r22
625
 639 0598 86EE      		ldi r24,lo8(-26)
626
 640 059a 8093 0000 		sts ParamSet+22,r24
627
 641 059e 80E8      		ldi r24,lo8(-128)
628
 642 05a0 8093 0000 		sts ParamSet+24,r24
629
 643 05a4 30E5      		ldi r19,lo8(80)
630
 644 05a6 3093 0000 		sts ParamSet+25,r19
631
 645 05aa 86E9      		ldi r24,lo8(-106)
632
 646 05ac 8093 0000 		sts ParamSet+26,r24
633
 647 05b0 3093 0000 		sts ParamSet+28,r19
634
 648 05b4 8093 0000 		sts ParamSet+29,r24
635
 649 05b8 81E2      		ldi r24,lo8(33)
636
 650 05ba 8093 0000 		sts ParamSet+30,r24
637
 651 05be 83E2      		ldi r24,lo8(35)
638
 652 05c0 8093 0000 		sts ParamSet+31,r24
639
 653 05c4 4093 0000 		sts ParamSet+32,r20
640
 654 05c8 1092 0000 		sts ParamSet+33,__zero_reg__
641
 655 05cc 80E2      		ldi r24,lo8(32)
642
 656 05ce 8093 0000 		sts ParamSet+34,r24
643
 657 05d2 1092 0000 		sts ParamSet+35,__zero_reg__
644
 658 05d6 1092 0000 		sts ParamSet+36,__zero_reg__
645
 659 05da 1092 0000 		sts ParamSet+37,__zero_reg__
646
 660 05de 1092 0000 		sts ParamSet+38,__zero_reg__
647
 661 05e2 1092 0000 		sts ParamSet+59,__zero_reg__
648
 662 05e6 1092 0000 		sts ParamSet+60,__zero_reg__
649
 663 05ea 1092 0000 		sts ParamSet+61,__zero_reg__
650
 664 05ee 1092 0000 		sts ParamSet+62,__zero_reg__
651
 665 05f2 5093 0000 		sts ParamSet+87,r21
652
 666 05f6 7093 0000 		sts ParamSet+47,r23
653
 667 05fa 24E6      		ldi r18,lo8(100)
654
 668 05fc 2093 0000 		sts ParamSet+39,r18
655
 669 0600 98E2      		ldi r25,lo8(40)
656
 670 0602 9093 0000 		sts ParamSet+40,r25
657
 671 0606 1092 0000 		sts ParamSet+41,__zero_reg__
658
 672 060a 8AEF      		ldi r24,lo8(-6)
659
 673 060c 8093 0000 		sts ParamSet+42,r24
660
 674 0610 2093 0000 		sts ParamSet+43,r18
661
 675 0614 9093 0000 		sts ParamSet+44,r25
662
 676 0618 1092 0000 		sts ParamSet+45,__zero_reg__
663
 677 061c 8093 0000 		sts ParamSet+46,r24
664
 678 0620 82E3      		ldi r24,lo8(50)
665
 679 0622 8093 0000 		sts ParamSet+48,r24
666
 680 0626 9AE5      		ldi r25,lo8(90)
667
 681 0628 9093 0000 		sts ParamSet+49,r25
668
 682 062c 8093 0000 		sts ParamSet+50,r24
669
 683 0630 9093 0000 		sts ParamSet+51,r25
670
 684 0634 3093 0000 		sts ParamSet+52,r19
671
 685 0638 5093 0000 		sts ParamSet+53,r21
672
 686 063c E093 0000 		sts ParamSet+56,r30
673
 687 0640 2093 0000 		sts ParamSet+58,r18
674
 688 0644 8FE5      		ldi r24,lo8(95)
675
 689 0646 8093 0000 		sts ParamSet+63,r24
676
 690 064a 83EF      		ldi r24,lo8(-13)
677
 691 064c 8093 0000 		sts ParamSet+65,r24
678
 692 0650 8AEA      		ldi r24,lo8(-86)
679
 693 0652 8093 0000 		sts ParamSet+67,r24
680
 694 0656 8093 0000 		sts ParamSet+68,r24
681
 695 065a 8FE0      		ldi r24,lo8(15)
682
 696 065c 8093 0000 		sts ParamSet+64,r24
683
 697 0660 8093 0000 		sts ParamSet+66,r24
684
 698 0664 8CEF      		ldi r24,lo8(-4)
685
 699 0666 8093 0000 		sts ParamSet+69,r24
686
 700 066a 2093 0000 		sts ParamSet+70,r18
687
 701 066e 9093 0000 		sts ParamSet+71,r25
688
 702 0672 9093 0000 		sts ParamSet+72,r25
689
 703 0676 9093 0000 		sts ParamSet+73,r25
690
 704 067a 8BE4      		ldi r24,lo8(75)
691
 705 067c 8093 0000 		sts ParamSet+74,r24
692
 706 0680 8093 0000 		sts ParamSet+75,r24
693
 707 0684 8093 0000 		sts ParamSet+76,r24
694
 708 0688 1092 0000 		sts ParamSet+77,__zero_reg__
695
 709 068c 7093 0000 		sts ParamSet+78,r23
696
 710 0690 6093 0000 		sts ParamSet+79,r22
697
 711 0694 9093 0000 		sts ParamSet+80,r25
698
 712 0698 4093 0000 		sts ParamSet+81,r20
699
 713 069c 2093 0000 		sts ParamSet+82,r18
700
 714 06a0 2093 0000 		sts ParamSet+83,r18
701
 715 06a4 F093 0000 		sts ParamSet+84,r31
702
 716 06a8 A0E0      		ldi r26,lo8(ParamSet+89)
703
 717 06aa B0E0      		ldi r27,hi8(ParamSet+89)
704
 718 06ac E0E0      		ldi r30,lo8(.LC3)
705
 719 06ae F0E0      		ldi r31,hi8(.LC3)
706
 720 06b0 86E0      		ldi r24,lo8(6)
707
 721               	.L55:
708
 722 06b2 0190      		ld r0,Z+
709
 723 06b4 0D92      		st X+,r0
710
 724 06b6 8150      		subi r24,lo8(-(-1))
711
 725 06b8 01F4      		brne .L55
712
 726               	/* epilogue start */
713
 727 06ba 0895      		ret
714
 728               	.L58:
715
 729 06bc 85E0      		ldi r24,lo8(5)
716
 730 06be 8093 0000 		sts ParamSet+27,r24
717
 731 06c2 1092 0000 		sts ParamSet+57,__zero_reg__
718
 732 06c6 8BE1      		ldi r24,lo8(27)
719
 733 06c8 8093 0000 		sts ParamSet+23,r24
720
 734 06cc 8EE4      		ldi r24,lo8(78)
721
 735 06ce 8093 0000 		sts ParamSet+54,r24
722
 736 06d2 8093 0000 		sts ParamSet+55,r24
723
 737 06d6 00C0      		rjmp .L54
724
 739               	.global	MixerTable_WriteToEEProm
725
 741               	MixerTable_WriteToEEProm:
726
 742               	/* prologue: function */
727
 743               	/* frame size = 0 */
728
 744 06d8 8091 0000 		lds r24,Mixer
729
 745 06dc 8130      		cpi r24,lo8(1)
730
 746 06de 01F0      		breq .L60
731
 747 06e0 80E0      		ldi r24,lo8(0)
732
 748 06e2 0895      		ret
733
 749               	.L60:
734
 750 06e4 80E0      		ldi r24,lo8(EEPromArray+1000)
735
 751 06e6 90E0      		ldi r25,hi8(EEPromArray+1000)
736
 752 06e8 60E0      		ldi r22,lo8(Mixer)
737
 753 06ea 70E0      		ldi r23,hi8(Mixer)
738
 754 06ec 4DE4      		ldi r20,lo8(77)
739
 755 06ee 50E0      		ldi r21,hi8(77)
740
 756 06f0 20E0      		ldi r18,lo8(gs(eeprom_write_byte))
741
 757 06f2 30E0      		ldi r19,hi8(gs(eeprom_write_byte))
742
 758 06f4 0E94 0000 		call __eewr_block
743
 759 06f8 81E0      		ldi r24,lo8(1)
744
 760 06fa 0895      		ret
745
 762               	.global	MixerTable_ReadFromEEProm
746
 764               	MixerTable_ReadFromEEProm:
747
 765               	/* prologue: function */
748
 766               	/* frame size = 0 */
749
 767               	.L64:
750
 768 06fc F999      		sbic 63-32,1
751
 769 06fe 00C0      		rjmp .L64
752
 770 0700 60E0      		ldi r22,lo8(EEPromArray+1000)
753
 771 0702 70E0      		ldi r23,hi8(EEPromArray+1000)
754
 772 0704 72BD      		out (65)+1-32,r23
755
 773 0706 61BD      		out 65-32,r22
756
 774               	/* #APP */
757
 775               	 ;  208 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1
758
 776               		/* START EEPROM READ CRITICAL SECTION */
759
 777 0708 F89A      		sbi 31, 0
760
 778 070a 80B5      		in r24, 32
761
 779               		/* END EEPROM READ CRITICAL SECTION */
762
 780
763
 781               	 ;  0 "" 2
764
 782               	/* #NOAPP */
765
 783 070c 8130      		cpi r24,lo8(1)
766
 784 070e 01F0      		breq .L65
767
 785 0710 80E0      		ldi r24,lo8(0)
768
 786 0712 0895      		ret
769
 787               	.L65:
770
 788 0714 80E0      		ldi r24,lo8(Mixer)
771
 789 0716 90E0      		ldi r25,hi8(Mixer)
772
 790 0718 4DE4      		ldi r20,lo8(77)
773
 791 071a 50E0      		ldi r21,hi8(77)
774
 792 071c 20E0      		ldi r18,lo8(gs(eeprom_read_byte))
775
 793 071e 30E0      		ldi r19,hi8(gs(eeprom_read_byte))
776
 794 0720 0E94 0000 		call __eerd_block
777
 795 0724 81E0      		ldi r24,lo8(1)
778
 796 0726 0895      		ret
779
 798               	.global	ParamSet_ReadFromEEProm
780
 800               	ParamSet_ReadFromEEProm:
781
 801               	/* prologue: function */
782
 802               	/* frame size = 0 */
783
 803 0728 982F      		mov r25,r24
784
 804 072a 8150      		subi r24,lo8(-(-1))
785
 805 072c 8530      		cpi r24,lo8(5)
786
 806 072e 00F0      		brlo .L70
787
 807 0730 6EE2      		ldi r22,lo8(302)
788
 808 0732 71E0      		ldi r23,hi8(302)
789
 809               	.L71:
790
 810 0734 6050      		subi r22,lo8(-(EEPromArray))
791
 811 0736 7040      		sbci r23,hi8(-(EEPromArray))
792
 812 0738 80E0      		ldi r24,lo8(ParamSet)
793
 813 073a 90E0      		ldi r25,hi8(ParamSet)
794
 814 073c 45E6      		ldi r20,lo8(101)
795
 815 073e 50E0      		ldi r21,hi8(101)
796
 816 0740 20E0      		ldi r18,lo8(gs(eeprom_read_byte))
797
 817 0742 30E0      		ldi r19,hi8(gs(eeprom_read_byte))
798
 818 0744 0E94 0000 		call __eerd_block
799
 819 0748 0E94 0000 		call LED_Init
800
 820               	/* epilogue start */
801
 821 074c 0895      		ret
802
 822               	.L70:
803
 823 074e 892F      		mov r24,r25
804
 824 0750 90E0      		ldi r25,lo8(0)
805
 825 0752 0197      		sbiw r24,1
806
 826 0754 25E6      		ldi r18,lo8(101)
807
 827 0756 30E0      		ldi r19,hi8(101)
808
 828 0758 829F      		mul r24,r18
809
 829 075a B001      		movw r22,r0
810
 830 075c 839F      		mul r24,r19
811
 831 075e 700D      		add r23,r0
812
 832 0760 929F      		mul r25,r18
813
 833 0762 700D      		add r23,r0
814
 834 0764 1124      		clr r1
815
 835 0766 6C59      		subi r22,lo8(-(100))
816
 836 0768 7F4F      		sbci r23,hi8(-(100))
817
 837 076a 00C0      		rjmp .L71
818
 839               	.global	ParamSet_WriteToEEProm
819
 841               	ParamSet_WriteToEEProm:
820
 842 076c 1F93      		push r17
821
 843               	/* prologue: function */
822
 844               	/* frame size = 0 */
823
 845 076e 182F      		mov r17,r24
824
 846 0770 8630      		cpi r24,lo8(6)
825
 847 0772 00F0      		brlo .L74
826
 848 0774 15E0      		ldi r17,lo8(5)
827
 849 0776 48EF      		ldi r20,lo8(504)
828
 850 0778 51E0      		ldi r21,hi8(504)
829
 851               	.L75:
830
 852 077a CA01      		movw r24,r20
831
 853 077c 8050      		subi r24,lo8(-(EEPromArray))
832
 854 077e 9040      		sbci r25,hi8(-(EEPromArray))
833
 855 0780 60E0      		ldi r22,lo8(ParamSet)
834
 856 0782 70E0      		ldi r23,hi8(ParamSet)
835
 857 0784 45E6      		ldi r20,lo8(101)
836
 858 0786 50E0      		ldi r21,hi8(101)
837
 859 0788 20E0      		ldi r18,lo8(gs(eeprom_write_byte))
838
 860 078a 30E0      		ldi r19,hi8(gs(eeprom_write_byte))
839
 861 078c 0E94 0000 		call __eewr_block
840
 862 0790 80E0      		ldi r24,lo8(EEPromArray+98)
841
 863 0792 90E0      		ldi r25,hi8(EEPromArray+98)
842
 864 0794 65E6      		ldi r22,lo8(101)
843
 865 0796 70E0      		ldi r23,hi8(101)
844
 866 0798 40E0      		ldi r20,lo8(gs(eeprom_write_byte))
845
 867 079a 50E0      		ldi r21,hi8(gs(eeprom_write_byte))
846
 868 079c 0E94 0000 		call __eewr_word
847
 869 07a0 80E0      		ldi r24,lo8(EEPromArray+80)
848
 870 07a2 90E0      		ldi r25,hi8(EEPromArray+80)
849
 871 07a4 60E0      		ldi r22,lo8(ParamSet)
850
 872 07a6 70E0      		ldi r23,hi8(ParamSet)
851
 873 07a8 48E0      		ldi r20,lo8(8)
852
 874 07aa 50E0      		ldi r21,hi8(8)
853
 875 07ac 20E0      		ldi r18,lo8(gs(eeprom_write_byte))
854
 876 07ae 30E0      		ldi r19,hi8(gs(eeprom_write_byte))
855
 877 07b0 0E94 0000 		call __eewr_block
856
 878               	.L77:
857
 879 07b4 F999      		sbic 63-32,1
858
 880 07b6 00C0      		rjmp .L77
859
 881 07b8 1FBA      		out 63-32,__zero_reg__
860
 882 07ba 80E0      		ldi r24,lo8(EEPromArray+2)
861
 883 07bc 90E0      		ldi r25,hi8(EEPromArray+2)
862
 884 07be 92BD      		out (65)+1-32,r25
863
 885 07c0 81BD      		out 65-32,r24
864
 886 07c2 10BD      		out 64-32,r17
865
 887               	/* #APP */
866
 888               	 ;  315 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1
867
 889               		/* START EEPROM WRITE CRITICAL SECTION */
868
 890 07c4 0FB6      		in	r0, 63
869
 891 07c6 F894      		cli
870
 892 07c8 FA9A      		sbi	31, 2
871
 893 07ca F99A      		sbi	31, 1
872
 894 07cc 0FBE      		out	63, r0
873
 895               		/* END EEPROM WRITE CRITICAL SECTION */
874
 896               	 ;  0 "" 2
875
 897               	/* #NOAPP */
876
 898 07ce 0E94 0000 		call LED_Init
877
 899 07d2 1F91      		pop r17
878
 900 07d4 0895      		ret
879
 901               	.L74:
880
 902 07d6 8823      		tst r24
881
 903 07d8 01F4      		brne .L80
882
 904               	/* epilogue start */
883
 905 07da 1F91      		pop r17
884
 906 07dc 0895      		ret
885
 907               	.L80:
886
 908 07de 90E0      		ldi r25,lo8(0)
887
 909 07e0 0197      		sbiw r24,1
888
 910 07e2 25E6      		ldi r18,lo8(101)
889
 911 07e4 30E0      		ldi r19,hi8(101)
890
 912 07e6 829F      		mul r24,r18
891
 913 07e8 A001      		movw r20,r0
892
 914 07ea 839F      		mul r24,r19
893
 915 07ec 500D      		add r21,r0
894
 916 07ee 929F      		mul r25,r18
895
 917 07f0 500D      		add r21,r0
896
 918 07f2 1124      		clr r1
897
 919 07f4 4C59      		subi r20,lo8(-(100))
898
 920 07f6 5F4F      		sbci r21,hi8(-(100))
899
 921 07f8 00C0      		rjmp .L75
900
 923               	.global	ParamSet_Init
901
 925               	ParamSet_Init:
902
 926 07fa 2F92      		push r2
903
 927 07fc 3F92      		push r3
904
 928 07fe 4F92      		push r4
905
 929 0800 5F92      		push r5
906
 930 0802 6F92      		push r6
907
 931 0804 7F92      		push r7
908
 932 0806 8F92      		push r8
909
 933 0808 9F92      		push r9
910
 934 080a AF92      		push r10
911
 935 080c BF92      		push r11
912
 936 080e CF92      		push r12
913
 937 0810 DF92      		push r13
914
 938 0812 EF92      		push r14
915
 939 0814 FF92      		push r15
916
 940 0816 0F93      		push r16
917
 941 0818 1F93      		push r17
918
 942 081a CF93      		push r28
919
 943 081c DF93      		push r29
920
 944               	/* prologue: function */
921
 945               	/* frame size = 0 */
922
 946               	.L82:
923
 947 081e F999      		sbic 63-32,1
924
 948 0820 00C0      		rjmp .L82
925
 949 0822 80E0      		ldi r24,lo8(EEPromArray+1)
926
 950 0824 90E0      		ldi r25,hi8(EEPromArray+1)
927
 951 0826 92BD      		out (65)+1-32,r25
928
 952 0828 81BD      		out 65-32,r24
929
 953               	/* #APP */
930
 954               	 ;  208 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1
931
 955               		/* START EEPROM READ CRITICAL SECTION */
932
 956 082a F89A      		sbi 31, 0
933
 957 082c 80B5      		in r24, 32
934
 958               		/* END EEPROM READ CRITICAL SECTION */
935
 959
936
 960               	 ;  0 "" 2
937
 961               	/* #NOAPP */
938
 962 082e 8035      		cpi r24,lo8(80)
939
 963 0830 01F4      		brne .+2
940
 964 0832 00C0      		rjmp .L83
941
 965 0834 00D0      		rcall .
942
 966 0836 0F92      		push __tmp_reg__
943
 967 0838 ADB7      		in r26,__SP_L__
944
 968 083a BEB7      		in r27,__SP_H__
945
 969 083c 1196      		adiw r26,1
946
 970 083e 1C92      		st X,__zero_reg__
947
 971 0840 1197      		sbiw r26,1
948
 972 0842 80E0      		ldi r24,lo8(__c.1839)
949
 973 0844 90E0      		ldi r25,hi8(__c.1839)
950
 974 0846 1396      		adiw r26,2+1
951
 975 0848 9C93      		st X,r25
952
 976 084a 8E93      		st -X,r24
953
 977 084c 1297      		sbiw r26,2
954
 978 084e 0E94 0000 		call _printf_P
955
 979 0852 0F90      		pop __tmp_reg__
956
 980 0854 0F90      		pop __tmp_reg__
957
 981 0856 0F90      		pop __tmp_reg__
958
 982               	.L84:
959
 983 0858 F999      		sbic 63-32,1
960
 984 085a 00C0      		rjmp .L84
961
 985 085c 1FBA      		out 63-32,__zero_reg__
962
 986 085e 80E0      		ldi r24,lo8(EEPromArray+1000)
963
 987 0860 90E0      		ldi r25,hi8(EEPromArray+1000)
964
 988 0862 92BD      		out (65)+1-32,r25
965
 989 0864 81BD      		out 65-32,r24
966
 990 0866 8FEF      		ldi r24,lo8(-1)
967
 991 0868 80BD      		out 64-32,r24
968
 992               	/* #APP */
969
 993               	 ;  315 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1
970
 994               		/* START EEPROM WRITE CRITICAL SECTION */
971
 995 086a 0FB6      		in	r0, 63
972
 996 086c F894      		cli
973
 997 086e FA9A      		sbi	31, 2
974
 998 0870 F99A      		sbi	31, 1
975
 999 0872 0FBE      		out	63, r0
976
 1000               		/* END EEPROM WRITE CRITICAL SECTION */
977
 1001               	 ;  0 "" 2
978
 1002               	/* #NOAPP */
979
 1003               	.L85:
980
 1004 0874 F999      		sbic 63-32,1
981
 1005 0876 00C0      		rjmp .L85
982
 1006 0878 50E0      		ldi r21,lo8(EEPromArray+80)
983
 1007 087a 252E      		mov r2,r21
984
 1008 087c 50E0      		ldi r21,hi8(EEPromArray+80)
985
 1009 087e 352E      		mov r3,r21
986
 1010 0880 32BC      		out (65)+1-32,r3
987
 1011 0882 21BC      		out 65-32,r2
988
 1012               	/* #APP */
989
 1013               	 ;  208 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1
990
 1014               		/* START EEPROM READ CRITICAL SECTION */
991
 1015 0884 F89A      		sbi 31, 0
992
 1016 0886 80B5      		in r24, 32
993
 1017               		/* END EEPROM READ CRITICAL SECTION */
994
 1018
995
 1019               	 ;  0 "" 2
996
 1020               	/* #NOAPP */
997
 1021 0888 8C30      		cpi r24,lo8(12)
998
 1022 088a 00F4      		brsh .+2
999
 1023 088c 00C0      		rjmp .L117
1000
 1024               	.L86:
1001
 1025 088e 00E0      		ldi r16,lo8(0)
1002
 1026               	.L91:
1003
 1027 0890 11E0      		ldi r17,lo8(1)
1004
 1028 0892 C0E0      		ldi r28,lo8(EEPromArray+81)
1005
 1029 0894 D0E0      		ldi r29,hi8(EEPromArray+81)
1006
 1030 0896 3E01      		movw r6,r28
1007
 1031 0898 0894      		sec
1008
 1032 089a 611C      		adc r6,__zero_reg__
1009
 1033 089c 711C      		adc r7,__zero_reg__
1010
 1034 089e 42E0      		ldi r20,lo8(2)
1011
 1035 08a0 442E      		mov r4,r20
1012
 1036 08a2 512C      		mov r5,__zero_reg__
1013
 1037 08a4 4C0E      		add r4,r28
1014
 1038 08a6 5D1E      		adc r5,r29
1015
 1039 08a8 33E0      		ldi r19,lo8(3)
1016
 1040 08aa C32E      		mov r12,r19
1017
 1041 08ac D12C      		mov r13,__zero_reg__
1018
 1042 08ae CC0E      		add r12,r28
1019
 1043 08b0 DD1E      		adc r13,r29
1020
 1044 08b2 24E0      		ldi r18,lo8(4)
1021
 1045 08b4 A22E      		mov r10,r18
1022
 1046 08b6 B12C      		mov r11,__zero_reg__
1023
 1047 08b8 AC0E      		add r10,r28
1024
 1048 08ba BD1E      		adc r11,r29
1025
 1049 08bc 95E0      		ldi r25,lo8(5)
1026
 1050 08be 892E      		mov r8,r25
1027
 1051 08c0 912C      		mov r9,__zero_reg__
1028
 1052 08c2 8C0E      		add r8,r28
1029
 1053 08c4 9D1E      		adc r9,r29
1030
 1054 08c6 86E0      		ldi r24,lo8(6)
1031
 1055 08c8 E82E      		mov r14,r24
1032
 1056 08ca F12C      		mov r15,__zero_reg__
1033
 1057 08cc EC0E      		add r14,r28
1034
 1058 08ce FD1E      		adc r15,r29
1035
 1059               	.L106:
1036
 1060 08d0 1230      		cpi r17,lo8(2)
1037
 1061 08d2 01F0      		breq .L136
1038
 1062 08d4 1330      		cpi r17,lo8(3)
1039
 1063 08d6 01F4      		brne .+2
1040
 1064 08d8 00C0      		rjmp .L95
1041
 1065 08da 1130      		cpi r17,lo8(1)
1042
 1066 08dc 01F4      		brne .+2
1043
 1067 08de 00C0      		rjmp .L137
1044
 1068               	.L136:
1045
 1069 08e0 0E94 0000 		call ParamSet_DefaultSet2
1046
 1070               	.L96:
1047
 1071 08e4 0023      		tst r16
1048
 1072 08e6 01F0      		breq .+2
1049
 1073 08e8 00C0      		rjmp .L114
1050
 1074               	.L97:
1051
 1075 08ea 812F      		mov r24,r17
1052
 1076 08ec 0E94 0000 		call ParamSet_WriteToEEProm
1053
 1077 08f0 1F5F      		subi r17,lo8(-(1))
1054
 1078 08f2 1630      		cpi r17,lo8(6)
1055
 1079 08f4 01F4      		brne .L106
1056
 1080               	.L113:
1057
 1081 08f6 F999      		sbic 63-32,1
1058
 1082 08f8 00C0      		rjmp .L113
1059
 1083 08fa 1FBA      		out 63-32,__zero_reg__
1060
 1084 08fc 80E0      		ldi r24,lo8(EEPromArray+2)
1061
 1085 08fe 90E0      		ldi r25,hi8(EEPromArray+2)
1062
 1086 0900 92BD      		out (65)+1-32,r25
1063
 1087 0902 81BD      		out 65-32,r24
1064
 1088 0904 83E0      		ldi r24,lo8(3)
1065
 1089 0906 80BD      		out 64-32,r24
1066
 1090               	/* #APP */
1067
 1091               	 ;  315 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1
1068
 1092               		/* START EEPROM WRITE CRITICAL SECTION */
1069
 1093 0908 0FB6      		in	r0, 63
1070
 1094 090a F894      		cli
1071
 1095 090c FA9A      		sbi	31, 2
1072
 1096 090e F99A      		sbi	31, 1
1073
 1097 0910 0FBE      		out	63, r0
1074
 1098               		/* END EEPROM WRITE CRITICAL SECTION */
1075
 1099               	 ;  0 "" 2
1076
 1100               	/* #NOAPP */
1077
 1101               	.L108:
1078
 1102 0912 F999      		sbic 63-32,1
1079
 1103 0914 00C0      		rjmp .L108
1080
 1104 0916 1FBA      		out 63-32,__zero_reg__
1081
 1105 0918 E0E0      		ldi r30,lo8(EEPromArray+1)
1082
 1106 091a F0E0      		ldi r31,hi8(EEPromArray+1)
1083
 1107 091c F2BD      		out (65)+1-32,r31
1084
 1108 091e E1BD      		out 65-32,r30
1085
 1109 0920 80E5      		ldi r24,lo8(80)
1086
 1110 0922 80BD      		out 64-32,r24
1087
 1111               	/* #APP */
1088
 1112               	 ;  315 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1
1089
 1113               		/* START EEPROM WRITE CRITICAL SECTION */
1090
 1114 0924 0FB6      		in	r0, 63
1091
 1115 0926 F894      		cli
1092
 1116 0928 FA9A      		sbi	31, 2
1093
 1117 092a F99A      		sbi	31, 1
1094
 1118 092c 0FBE      		out	63, r0
1095
 1119               		/* END EEPROM WRITE CRITICAL SECTION */
1096
 1120               	 ;  0 "" 2
1097
 1121               	/* #NOAPP */
1098
 1122               	.L83:
1099
 1123 092e 0E94 0000 		call GetActiveParamSet
1100
 1124 0932 0E94 0000 		call ParamSet_ReadFromEEProm
1101
 1125 0936 0E94 0000 		call GetActiveParamSet
1102
 1126 093a 00D0      		rcall .
1103
 1127 093c 00D0      		rcall .
1104
 1128 093e 0F92      		push __tmp_reg__
1105
 1129 0940 EDB7      		in r30,__SP_L__
1106
 1130 0942 FEB7      		in r31,__SP_H__
1107
 1131 0944 3196      		adiw r30,1
1108
 1132 0946 ADB7      		in r26,__SP_L__
1109
 1133 0948 BEB7      		in r27,__SP_H__
1110
 1134 094a 1196      		adiw r26,1
1111
 1135 094c 1C92      		st X,__zero_reg__
1112
 1136 094e 20E0      		ldi r18,lo8(__c.1849)
1113
 1137 0950 30E0      		ldi r19,hi8(__c.1849)
1114
 1138 0952 3283      		std Z+2,r19
1115
 1139 0954 2183      		std Z+1,r18
1116
 1140 0956 8383      		std Z+3,r24
1117
 1141 0958 1482      		std Z+4,__zero_reg__
1118
 1142 095a 0E94 0000 		call _printf_P
1119
 1143 095e 0F90      		pop __tmp_reg__
1120
 1144 0960 0F90      		pop __tmp_reg__
1121
 1145 0962 0F90      		pop __tmp_reg__
1122
 1146 0964 0F90      		pop __tmp_reg__
1123
 1147 0966 0F90      		pop __tmp_reg__
1124
 1148 0968 0E94 0000 		call MixerTable_ReadFromEEProm
1125
 1149 096c 8823      		tst r24
1126
 1150 096e 01F4      		brne .+2
1127
 1151 0970 00C0      		rjmp .L138
1128
 1152               	.L109:
1129
 1153 0972 E0E0      		ldi r30,lo8(Mixer+13)
1130
 1154 0974 F0E0      		ldi r31,hi8(Mixer+13)
1131
 1155 0976 20E0      		ldi r18,lo8(0)
1132
 1156               	.L111:
1133
 1157 0978 8081      		ld r24,Z
1134
 1158 097a 1816      		cp __zero_reg__,r24
1135
 1159 097c 04F4      		brge .L110
1136
 1160 097e 2F5F      		subi r18,lo8(-(1))
1137
 1161               	.L110:
1138
 1162 0980 3496      		adiw r30,4
1139
 1163 0982 80E0      		ldi r24,hi8(Mixer+77)
1140
 1164 0984 E030      		cpi r30,lo8(Mixer+77)
1141
 1165 0986 F807      		cpc r31,r24
1142
 1166 0988 01F4      		brne .L111
1143
 1167 098a 2093 0000 		sts RequiredMotors,r18
1144
 1168 098e ADB7      		in r26,__SP_L__
1145
 1169 0990 BEB7      		in r27,__SP_H__
1146
 1170 0992 1797      		sbiw r26,7
1147
 1171 0994 0FB6      		in __tmp_reg__,__SREG__
1148
 1172 0996 F894      		cli
1149
 1173 0998 BEBF      		out __SP_H__,r27
1150
 1174 099a 0FBE      		out __SREG__,__tmp_reg__
1151
 1175 099c ADBF      		out __SP_L__,r26
1152
 1176 099e EDB7      		in r30,__SP_L__
1153
 1177 09a0 FEB7      		in r31,__SP_H__
1154
 1178 09a2 3196      		adiw r30,1
1155
 1179 09a4 1196      		adiw r26,1
1156
 1180 09a6 1C92      		st X,__zero_reg__
1157
 1181 09a8 80E0      		ldi r24,lo8(__c.1856)
1158
 1182 09aa 90E0      		ldi r25,hi8(__c.1856)
1159
 1183 09ac 9283      		std Z+2,r25
1160
 1184 09ae 8183      		std Z+1,r24
1161
 1185 09b0 80E0      		ldi r24,lo8(Mixer+1)
1162
 1186 09b2 90E0      		ldi r25,hi8(Mixer+1)
1163
 1187 09b4 9483      		std Z+4,r25
1164
 1188 09b6 8383      		std Z+3,r24
1165
 1189 09b8 2583      		std Z+5,r18
1166
 1190 09ba 1682      		std Z+6,__zero_reg__
1167
 1191 09bc 0E94 0000 		call _printf_P
1168
 1192 09c0 0F90      		pop __tmp_reg__
1169
 1193 09c2 0F90      		pop __tmp_reg__
1170
 1194 09c4 0F90      		pop __tmp_reg__
1171
 1195 09c6 0F90      		pop __tmp_reg__
1172
 1196 09c8 EDB7      		in r30,__SP_L__
1173
 1197 09ca FEB7      		in r31,__SP_H__
1174
 1198 09cc 1182      		std Z+1,__zero_reg__
1175
 1199 09ce 80E0      		ldi r24,lo8(__c.1858)
1176
 1200 09d0 90E0      		ldi r25,hi8(__c.1858)
1177
 1201 09d2 9383      		std Z+3,r25
1178
 1202 09d4 8283      		std Z+2,r24
1179
 1203 09d6 0E94 0000 		call _printf_P
1180
 1204 09da 0F90      		pop __tmp_reg__
1181
 1205 09dc 0F90      		pop __tmp_reg__
1182
 1206 09de 0F90      		pop __tmp_reg__
1183
 1207               	/* epilogue start */
1184
 1208 09e0 DF91      		pop r29
1185
 1209 09e2 CF91      		pop r28
1186
 1210 09e4 1F91      		pop r17
1187
 1211 09e6 0F91      		pop r16
1188
 1212 09e8 FF90      		pop r15
1189
 1213 09ea EF90      		pop r14
1190
 1214 09ec DF90      		pop r13
1191
 1215 09ee CF90      		pop r12
1192
 1216 09f0 BF90      		pop r11
1193
 1217 09f2 AF90      		pop r10
1194
 1218 09f4 9F90      		pop r9
1195
 1219 09f6 8F90      		pop r8
1196
 1220 09f8 7F90      		pop r7
1197
 1221 09fa 6F90      		pop r6
1198
 1222 09fc 5F90      		pop r5
1199
 1223 09fe 4F90      		pop r4
1200
 1224 0a00 3F90      		pop r3
1201
 1225 0a02 2F90      		pop r2
1202
 1226 0a04 0895      		ret
1203
 1227               	.L117:
1204
 1228 0a06 F999      		sbic 63-32,1
1205
 1229 0a08 00C0      		rjmp .L117
1206
 1230 0a0a 80E0      		ldi r24,lo8(EEPromArray+81)
1207
 1231 0a0c 90E0      		ldi r25,hi8(EEPromArray+81)
1208
 1232 0a0e 92BD      		out (65)+1-32,r25
1209
 1233 0a10 81BD      		out 65-32,r24
1210
 1234               	/* #APP */
1211
 1235               	 ;  208 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1
1212
 1236               		/* START EEPROM READ CRITICAL SECTION */
1213
 1237 0a12 F89A      		sbi 31, 0
1214
 1238 0a14 80B5      		in r24, 32
1215
 1239               		/* END EEPROM READ CRITICAL SECTION */
1216
 1240
1217
 1241               	 ;  0 "" 2
1218
 1242               	/* #NOAPP */
1219
 1243 0a16 8C30      		cpi r24,lo8(12)
1220
 1244 0a18 00F0      		brlo .+2
1221
 1245 0a1a 00C0      		rjmp .L86
1222
 1246               	.L116:
1223
 1247 0a1c F999      		sbic 63-32,1
1224
 1248 0a1e 00C0      		rjmp .L116
1225
 1249 0a20 80E0      		ldi r24,lo8(EEPromArray+82)
1226
 1250 0a22 90E0      		ldi r25,hi8(EEPromArray+82)
1227
 1251 0a24 92BD      		out (65)+1-32,r25
1228
 1252 0a26 81BD      		out 65-32,r24
1229
 1253               	/* #APP */
1230
 1254               	 ;  208 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1
1231
 1255               		/* START EEPROM READ CRITICAL SECTION */
1232
 1256 0a28 F89A      		sbi 31, 0
1233
 1257 0a2a 80B5      		in r24, 32
1234
 1258               		/* END EEPROM READ CRITICAL SECTION */
1235
 1259
1236
 1260               	 ;  0 "" 2
1237
 1261               	/* #NOAPP */
1238
 1262 0a2c 8C30      		cpi r24,lo8(12)
1239
 1263 0a2e 00F0      		brlo .+2
1240
 1264 0a30 00C0      		rjmp .L86
1241
 1265               	.L115:
1242
 1266 0a32 F999      		sbic 63-32,1
1243
 1267 0a34 00C0      		rjmp .L115
1244
 1268 0a36 80E0      		ldi r24,lo8(EEPromArray+83)
1245
 1269 0a38 90E0      		ldi r25,hi8(EEPromArray+83)
1246
 1270 0a3a 92BD      		out (65)+1-32,r25
1247
 1271 0a3c 81BD      		out 65-32,r24
1248
 1272               	/* #APP */
1249
 1273               	 ;  208 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1
1250
 1274               		/* START EEPROM READ CRITICAL SECTION */
1251
 1275 0a3e F89A      		sbi 31, 0
1252
 1276 0a40 80B5      		in r24, 32
1253
 1277               		/* END EEPROM READ CRITICAL SECTION */
1254
 1278
1255
 1279               	 ;  0 "" 2
1256
 1280               	/* #NOAPP */
1257
 1281 0a42 00E0      		ldi r16,lo8(0)
1258
 1282 0a44 8C30      		cpi r24,lo8(12)
1259
 1283 0a46 00F0      		brlo .+2
1260
 1284 0a48 00C0      		rjmp .L91
1261
 1285 0a4a 01E0      		ldi r16,lo8(1)
1262
 1286 0a4c 00C0      		rjmp .L91
1263
 1287               	.L114:
1264
 1288 0a4e F999      		sbic 63-32,1
1265
 1289 0a50 00C0      		rjmp .L114
1266
 1290 0a52 32BC      		out (65)+1-32,r3
1267
 1291 0a54 21BC      		out 65-32,r2
1268
 1292               	/* #APP */
1269
 1293               	 ;  208 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1
1270
 1294               		/* START EEPROM READ CRITICAL SECTION */
1271
 1295 0a56 F89A      		sbi 31, 0
1272
 1296 0a58 80B5      		in r24, 32
1273
 1297               		/* END EEPROM READ CRITICAL SECTION */
1274
 1298
1275
 1299               	 ;  0 "" 2
1276
 1300               	/* #NOAPP */
1277
 1301 0a5a 8093 0000 		sts ParamSet,r24
1278
 1302               	.L99:
1279
 1303 0a5e F999      		sbic 63-32,1
1280
 1304 0a60 00C0      		rjmp .L99
1281
 1305 0a62 D2BD      		out (65)+1-32,r29
1282
 1306 0a64 C1BD      		out 65-32,r28
1283
 1307               	/* #APP */
1284
 1308               	 ;  208 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1
1285
 1309               		/* START EEPROM READ CRITICAL SECTION */
1286
 1310 0a66 F89A      		sbi 31, 0
1287
 1311 0a68 80B5      		in r24, 32
1288
 1312               		/* END EEPROM READ CRITICAL SECTION */
1289
 1313
1290
 1314               	 ;  0 "" 2
1291
 1315               	/* #NOAPP */
1292
 1316 0a6a 8093 0000 		sts ParamSet+1,r24
1293
 1317               	.L100:
1294
 1318 0a6e F999      		sbic 63-32,1
1295
 1319 0a70 00C0      		rjmp .L100
1296
 1320 0a72 72BC      		out (65)+1-32,r7
1297
 1321 0a74 61BC      		out 65-32,r6
1298
 1322               	/* #APP */
1299
 1323               	 ;  208 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1
1300
 1324               		/* START EEPROM READ CRITICAL SECTION */
1301
 1325 0a76 F89A      		sbi 31, 0
1302
 1326 0a78 80B5      		in r24, 32
1303
 1327               		/* END EEPROM READ CRITICAL SECTION */
1304
 1328
1305
 1329               	 ;  0 "" 2
1306
 1330               	/* #NOAPP */
1307
 1331 0a7a 8093 0000 		sts ParamSet+2,r24
1308
 1332               	.L101:
1309
 1333 0a7e F999      		sbic 63-32,1
1310
 1334 0a80 00C0      		rjmp .L101
1311
 1335 0a82 52BC      		out (65)+1-32,r5
1312
 1336 0a84 41BC      		out 65-32,r4
1313
 1337               	/* #APP */
1314
 1338               	 ;  208 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1
1315
 1339               		/* START EEPROM READ CRITICAL SECTION */
1316
 1340 0a86 F89A      		sbi 31, 0
1317
 1341 0a88 80B5      		in r24, 32
1318
 1342               		/* END EEPROM READ CRITICAL SECTION */
1319
 1343
1320
 1344               	 ;  0 "" 2
1321
 1345               	/* #NOAPP */
1322
 1346 0a8a 8093 0000 		sts ParamSet+3,r24
1323
 1347               	.L102:
1324
 1348 0a8e F999      		sbic 63-32,1
1325
 1349 0a90 00C0      		rjmp .L102
1326
 1350 0a92 D2BC      		out (65)+1-32,r13
1327
 1351 0a94 C1BC      		out 65-32,r12
1328
 1352               	/* #APP */
1329
 1353               	 ;  208 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1
1330
 1354               		/* START EEPROM READ CRITICAL SECTION */
1331
 1355 0a96 F89A      		sbi 31, 0
1332
 1356 0a98 80B5      		in r24, 32
1333
 1357               		/* END EEPROM READ CRITICAL SECTION */
1334
 1358
1335
 1359               	 ;  0 "" 2
1336
 1360               	/* #NOAPP */
1337
 1361 0a9a 8093 0000 		sts ParamSet+4,r24
1338
 1362               	.L103:
1339
 1363 0a9e F999      		sbic 63-32,1
1340
 1364 0aa0 00C0      		rjmp .L103
1341
 1365 0aa2 B2BC      		out (65)+1-32,r11
1342
 1366 0aa4 A1BC      		out 65-32,r10
1343
 1367               	/* #APP */
1344
 1368               	 ;  208 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1
1345
 1369               		/* START EEPROM READ CRITICAL SECTION */
1346
 1370 0aa6 F89A      		sbi 31, 0
1347
 1371 0aa8 80B5      		in r24, 32
1348
 1372               		/* END EEPROM READ CRITICAL SECTION */
1349
 1373
1350
 1374               	 ;  0 "" 2
1351
 1375               	/* #NOAPP */
1352
 1376 0aaa 8093 0000 		sts ParamSet+5,r24
1353
 1377               	.L104:
1354
 1378 0aae F999      		sbic 63-32,1
1355
 1379 0ab0 00C0      		rjmp .L104
1356
 1380 0ab2 92BC      		out (65)+1-32,r9
1357
 1381 0ab4 81BC      		out 65-32,r8
1358
 1382               	/* #APP */
1359
 1383               	 ;  208 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1
1360
 1384               		/* START EEPROM READ CRITICAL SECTION */
1361
 1385 0ab6 F89A      		sbi 31, 0
1362
 1386 0ab8 80B5      		in r24, 32
1363
 1387               		/* END EEPROM READ CRITICAL SECTION */
1364
 1388
1365
 1389               	 ;  0 "" 2
1366
 1390               	/* #NOAPP */
1367
 1391 0aba 8093 0000 		sts ParamSet+6,r24
1368
 1392               	.L105:
1369
 1393 0abe F999      		sbic 63-32,1
1370
 1394 0ac0 00C0      		rjmp .L105
1371
 1395 0ac2 F2BC      		out (65)+1-32,r15
1372
 1396 0ac4 E1BC      		out 65-32,r14
1373
 1397               	/* #APP */
1374
 1398               	 ;  208 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1
1375
 1399               		/* START EEPROM READ CRITICAL SECTION */
1376
 1400 0ac6 F89A      		sbi 31, 0
1377
 1401 0ac8 80B5      		in r24, 32
1378
 1402               		/* END EEPROM READ CRITICAL SECTION */
1379
 1403
1380
 1404               	 ;  0 "" 2
1381
 1405               	/* #NOAPP */
1382
 1406 0aca 8093 0000 		sts ParamSet+7,r24
1383
 1407 0ace 00C0      		rjmp .L97
1384
 1408               	.L137:
1385
 1409 0ad0 0E94 0000 		call ParamSet_DefaultSet1
1386
 1410 0ad4 00C0      		rjmp .L96
1387
 1411               	.L95:
1388
 1412 0ad6 0E94 0000 		call ParamSet_DefaultSet3
1389
 1413 0ada 00C0      		rjmp .L96
1390
 1414               	.L138:
1391
 1415 0adc 00D0      		rcall .
1392
 1416 0ade 0F92      		push __tmp_reg__
1393
 1417 0ae0 EDB7      		in r30,__SP_L__
1394
 1418 0ae2 FEB7      		in r31,__SP_H__
1395
 1419 0ae4 1182      		std Z+1,__zero_reg__
1396
 1420 0ae6 80E0      		ldi r24,lo8(__c.1851)
1397
 1421 0ae8 90E0      		ldi r25,hi8(__c.1851)
1398
 1422 0aea 9383      		std Z+3,r25
1399
 1423 0aec 8283      		std Z+2,r24
1400
 1424 0aee 0E94 0000 		call _printf_P
1401
 1425 0af2 0F90      		pop __tmp_reg__
1402
 1426 0af4 0F90      		pop __tmp_reg__
1403
 1427 0af6 0F90      		pop __tmp_reg__
1404
 1428 0af8 0E94 0000 		call MixerTable_Default
1405
 1429 0afc 0E94 0000 		call MixerTable_WriteToEEProm
1406
 1430 0b00 00C0      		rjmp .L109
1407
 1432               	.global	SetParamWord
1408
 1434               	SetParamWord:
1409
 1435               	/* prologue: function */
1410
 1436               	/* frame size = 0 */
1411
 1437 0b02 8050      		subi r24,lo8(-(EEPromArray))
1412
 1438 0b04 9040      		sbci r25,hi8(-(EEPromArray))
1413
 1439 0b06 40E0      		ldi r20,lo8(gs(eeprom_write_byte))
1414
 1440 0b08 50E0      		ldi r21,hi8(gs(eeprom_write_byte))
1415
 1441 0b0a 0E94 0000 		call __eewr_word
1416
 1442               	/* epilogue start */
1417
 1443 0b0e 0895      		ret
1418
 1445               	.global	GetParamWord
1419
 1447               	GetParamWord:
1420
 1448               	/* prologue: function */
1421
 1449               	/* frame size = 0 */
1422
 1450 0b10 8050      		subi r24,lo8(-(EEPromArray))
1423
 1451 0b12 9040      		sbci r25,hi8(-(EEPromArray))
1424
 1452 0b14 60E0      		ldi r22,lo8(gs(eeprom_read_byte))
1425
 1453 0b16 70E0      		ldi r23,hi8(gs(eeprom_read_byte))
1426
 1454 0b18 0E94 0000 		call __eerd_word
1427
 1455               	/* epilogue start */
1428
 1456 0b1c 0895      		ret
1429
 1458               		.section	.progmem.data,"a",@progbits
1430
 1461               	__c.1858:
1431
 1462 0000 0A0D 3D3D 		.string	"\n\r=============================="
1432
 1462      3D3D 3D3D
1433
 1462      3D3D 3D3D
1434
 1462      3D3D 3D3D
1435
 1462      3D3D 3D3D
1436
 1465               	__c.1856:
1437
 1466 0021 0A0D 4D69 		.string	"\n\rMixer-Config: '%s' (%u Motors)"
1438
 1466      7865 722D
1439
 1466      436F 6E66
1440
 1466      6967 3A20
1441
 1466      2725 7327
1442
 1469               	__c.1851:
1443
 1470 0042 0A0D 4765 		.string	"\n\rGenerating default Mixer Table"
1444
 1470      6E65 7261
1445
 1470      7469 6E67
1446
 1470      2064 6566
1447
 1470      6175 6C74
1448
 1473               	__c.1849:
1449
 1474 0063 0A0D 5573 		.string	"\n\rUsing Parameter Set %d"
1450
 1474      696E 6720
1451
 1474      5061 7261
1452
 1474      6D65 7465
1453
 1474      7220 5365
1454
 1477               	__c.1839:
1455
 1478 007c 0A0D 496E 		.string	"\n\rInit Parameter in EEPROM"
1456
 1478      6974 2050
1457
 1478      6172 616D
1458
 1478      6574 6572
1459
 1478      2069 6E20
1460
 1479               		.comm Mixer,77,1
1461
 1480               		.comm ParamSet,101,1
1462
 1481               	.global	EEPromArray
1463
 1482               		.section	.eeprom,"aw",@progbits
1464
 1485               	EEPromArray:
1465
 1486 0000 0000 0000 		.skip 2048,0
1466
 1486      0000 0000
1467
 1486      0000 0000
1468
 1486      0000 0000
1469
 1486      0000 0000
1470
 1487               	.global __do_copy_data
1471
 1488               	.global __do_clear_bss
1472
DEFINED SYMBOLS
1473
                            *ABS*:00000000 eeprom.c
1474
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/ccTbfNQh.s:2      *ABS*:0000003f __SREG__
1475
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/ccTbfNQh.s:3      *ABS*:0000003e __SP_H__
1476
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/ccTbfNQh.s:4      *ABS*:0000003d __SP_L__
1477
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/ccTbfNQh.s:5      *ABS*:00000034 __CCP__
1478
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/ccTbfNQh.s:6      *ABS*:00000000 __tmp_reg__
1479
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/ccTbfNQh.s:7      *ABS*:00000001 __zero_reg__
1480
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/ccTbfNQh.s:10     .text:00000000 eeprom_read_byte
1481
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/ccTbfNQh.s:32     .text:00000010 eeprom_write_byte
1482
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/ccTbfNQh.s:59     .text:0000002a GetParamByte
1483
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/ccTbfNQh.s:1485   .eeprom:00000000 EEPromArray
1484
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/ccTbfNQh.s:83     .text:0000003c SetParamByte
1485
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/ccTbfNQh.s:111    .text:00000058 GetActiveParamSet
1486
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/ccTbfNQh.s:156    .text:00000086 SetActiveParamSet
1487
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/ccTbfNQh.s:198    .text:000000b2 MixerTable_Default
1488
                            *COM*:0000004d Mixer
1489
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/ccTbfNQh.s:253    .text:00000124 ParamSet_DefaultSet3
1490
                            *COM*:00000065 ParamSet
1491
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/ccTbfNQh.s:417    .text:0000030a ParamSet_DefaultSet2
1492
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/ccTbfNQh.s:581    .text:000004f0 ParamSet_DefaultSet1
1493
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/ccTbfNQh.s:741    .text:000006d8 MixerTable_WriteToEEProm
1494
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/ccTbfNQh.s:764    .text:000006fc MixerTable_ReadFromEEProm
1495
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/ccTbfNQh.s:800    .text:00000728 ParamSet_ReadFromEEProm
1496
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/ccTbfNQh.s:841    .text:0000076c ParamSet_WriteToEEProm
1497
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/ccTbfNQh.s:925    .text:000007fa ParamSet_Init
1498
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/ccTbfNQh.s:1477   .progmem.data:0000007c __c.1839
1499
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/ccTbfNQh.s:1473   .progmem.data:00000063 __c.1849
1500
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/ccTbfNQh.s:1465   .progmem.data:00000021 __c.1856
1501
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/ccTbfNQh.s:1461   .progmem.data:00000000 __c.1858
1502
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/ccTbfNQh.s:1469   .progmem.data:00000042 __c.1851
1503
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/ccTbfNQh.s:1434   .text:00000b02 SetParamWord
1504
C:\DOKUME~1\LUKEPA~1\LOKALE~1\Temp/ccTbfNQh.s:1447   .text:00000b10 GetParamWord
1505
 
1506
UNDEFINED SYMBOLS
1507
BoardRelease
1508
__eewr_block
1509
__eerd_block
1510
LED_Init
1511
__eewr_word
1512
_printf_P
1513
RequiredMotors
1514
__eerd_word
1515
__do_copy_data
1516
__do_clear_bss