Rev 1755 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1755 | - | 1 | 1 .file "eeprom.c" |
1789 | - | 2 | 2 __SREG__ = 0x3f |
3 | 3 __SP_H__ = 0x3e |
||
4 | 4 __SP_L__ = 0x3d |
||
5 | 5 __CCP__ = 0x34 |
||
1755 | - | 6 | 6 __tmp_reg__ = 0 |
7 | 7 __zero_reg__ = 1 |
||
1789 | - | 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 .L6: |
||
34 | 37 0012 F999 sbic 63-32,1 |
||
35 | 38 0014 00C0 rjmp .L6 |
||
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 RAM_Checksum |
||
54 | 59 RAM_Checksum: |
||
55 | 60 /* prologue: function */ |
||
56 | 61 /* frame size = 0 */ |
||
57 | 62 002a DC01 movw r26,r24 |
||
58 | 63 002c 4AEA ldi r20,lo8(-86) |
||
59 | 64 002e 20E0 ldi r18,lo8(0) |
||
60 | 65 0030 30E0 ldi r19,hi8(0) |
||
61 | 66 0032 00C0 rjmp .L10 |
||
62 | 67 .L11: |
||
63 | 68 0034 FD01 movw r30,r26 |
||
64 | 69 0036 E20F add r30,r18 |
||
65 | 70 0038 F31F adc r31,r19 |
||
66 | 71 003a 8081 ld r24,Z |
||
67 | 72 003c 480F add r20,r24 |
||
68 | 73 003e 2F5F subi r18,lo8(-(1)) |
||
69 | 74 0040 3F4F sbci r19,hi8(-(1)) |
||
70 | 75 .L10: |
||
71 | 76 0042 2617 cp r18,r22 |
||
72 | 77 0044 3707 cpc r19,r23 |
||
73 | 78 0046 00F0 brlo .L11 |
||
74 | 79 0048 842F mov r24,r20 |
||
75 | 80 /* epilogue start */ |
||
76 | 81 004a 0895 ret |
||
77 | 83 .global EEProm_Checksum |
||
78 | 85 EEProm_Checksum: |
||
79 | 86 /* prologue: function */ |
||
80 | 87 /* frame size = 0 */ |
||
81 | 88 004c FC01 movw r30,r24 |
||
82 | 89 004e 4AEA ldi r20,lo8(-86) |
||
83 | 90 0050 20E0 ldi r18,lo8(0) |
||
84 | 91 0052 30E0 ldi r19,hi8(0) |
||
85 | 92 0054 00C0 rjmp .L14 |
||
86 | 93 .L17: |
||
87 | 94 0056 F999 sbic 63-32,1 |
||
88 | 95 0058 00C0 rjmp .L17 |
||
89 | 96 005a C901 movw r24,r18 |
||
90 | 97 005c 8E0F add r24,r30 |
||
91 | 98 005e 9F1F adc r25,r31 |
||
92 | 99 0060 92BD out (65)+1-32,r25 |
||
93 | 100 0062 81BD out 65-32,r24 |
||
94 | 101 /* #APP */ |
||
95 | 102 ; 208 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1 |
||
96 | 103 /* START EEPROM READ CRITICAL SECTION */ |
||
97 | 104 0064 F89A sbi 31, 0 |
||
98 | 105 0066 80B5 in r24, 32 |
||
99 | 106 /* END EEPROM READ CRITICAL SECTION */ |
||
100 | 107 |
||
101 | 108 ; 0 "" 2 |
||
102 | 109 /* #NOAPP */ |
||
103 | 110 0068 480F add r20,r24 |
||
104 | 111 006a 2F5F subi r18,lo8(-(1)) |
||
105 | 112 006c 3F4F sbci r19,hi8(-(1)) |
||
106 | 113 .L14: |
||
107 | 114 006e 2617 cp r18,r22 |
||
108 | 115 0070 3707 cpc r19,r23 |
||
109 | 116 0072 00F0 brlo .L17 |
||
110 | 117 0074 842F mov r24,r20 |
||
111 | 118 /* epilogue start */ |
||
112 | 119 0076 0895 ret |
||
113 | 121 .global ParamSet_DefaultStickMapping |
||
114 | 123 ParamSet_DefaultStickMapping: |
||
115 | 124 /* prologue: function */ |
||
116 | 125 /* frame size = 0 */ |
||
117 | 126 0078 81E0 ldi r24,lo8(1) |
||
118 | 127 007a 8093 0000 sts EE_Parameter+3,r24 |
||
119 | 128 007e 82E0 ldi r24,lo8(2) |
||
120 | 129 0080 8093 0000 sts EE_Parameter+2,r24 |
||
121 | 130 0084 83E0 ldi r24,lo8(3) |
||
122 | 131 0086 8093 0000 sts EE_Parameter+1,r24 |
||
123 | 132 008a 84E0 ldi r24,lo8(4) |
||
124 | 133 008c 8093 0000 sts EE_Parameter+4,r24 |
||
125 | 134 0090 85E0 ldi r24,lo8(5) |
||
126 | 135 0092 8093 0000 sts EE_Parameter+5,r24 |
||
127 | 136 0096 86E0 ldi r24,lo8(6) |
||
128 | 137 0098 8093 0000 sts EE_Parameter+6,r24 |
||
129 | 138 009c 87E0 ldi r24,lo8(7) |
||
130 | 139 009e 8093 0000 sts EE_Parameter+7,r24 |
||
131 | 140 00a2 88E0 ldi r24,lo8(8) |
||
132 | 141 00a4 8093 0000 sts EE_Parameter+8,r24 |
||
133 | 142 00a8 89E0 ldi r24,lo8(9) |
||
134 | 143 00aa 8093 0000 sts EE_Parameter+9,r24 |
||
135 | 144 00ae 8AE0 ldi r24,lo8(10) |
||
136 | 145 00b0 8093 0000 sts EE_Parameter+10,r24 |
||
137 | 146 00b4 8BE0 ldi r24,lo8(11) |
||
138 | 147 00b6 8093 0000 sts EE_Parameter+11,r24 |
||
139 | 148 00ba 8CE0 ldi r24,lo8(12) |
||
140 | 149 00bc 8093 0000 sts EE_Parameter+12,r24 |
||
141 | 150 /* epilogue start */ |
||
142 | 151 00c0 0895 ret |
||
143 | 153 .global GetParamByte |
||
144 | 155 GetParamByte: |
||
145 | 156 /* prologue: function */ |
||
146 | 157 /* frame size = 0 */ |
||
147 | 158 .L22: |
||
148 | 159 00c2 F999 sbic 63-32,1 |
||
149 | 160 00c4 00C0 rjmp .L22 |
||
150 | 161 00c6 92BD out (65)+1-32,r25 |
||
151 | 162 00c8 81BD out 65-32,r24 |
||
152 | 163 /* #APP */ |
||
153 | 164 ; 208 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1 |
||
154 | 165 /* START EEPROM READ CRITICAL SECTION */ |
||
155 | 166 00ca F89A sbi 31, 0 |
||
156 | 167 00cc 80B5 in r24, 32 |
||
157 | 168 /* END EEPROM READ CRITICAL SECTION */ |
||
158 | 169 |
||
159 | 170 ; 0 "" 2 |
||
160 | 171 /* epilogue start */ |
||
161 | 172 /* #NOAPP */ |
||
162 | 173 00ce 0895 ret |
||
163 | 175 .global SetParamByte |
||
164 | 177 SetParamByte: |
||
165 | 178 /* prologue: function */ |
||
166 | 179 /* frame size = 0 */ |
||
167 | 180 .L26: |
||
168 | 181 00d0 F999 sbic 63-32,1 |
||
169 | 182 00d2 00C0 rjmp .L26 |
||
170 | 183 00d4 1FBA out 63-32,__zero_reg__ |
||
171 | 184 00d6 92BD out (65)+1-32,r25 |
||
172 | 185 00d8 81BD out 65-32,r24 |
||
173 | 186 00da 60BD out 64-32,r22 |
||
174 | 187 /* #APP */ |
||
175 | 188 ; 315 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1 |
||
176 | 189 /* START EEPROM WRITE CRITICAL SECTION */ |
||
177 | 190 00dc 0FB6 in r0, 63 |
||
178 | 191 00de F894 cli |
||
179 | 192 00e0 FA9A sbi 31, 2 |
||
180 | 193 00e2 F99A sbi 31, 1 |
||
181 | 194 00e4 0FBE out 63, r0 |
||
182 | 195 /* END EEPROM WRITE CRITICAL SECTION */ |
||
183 | 196 ; 0 "" 2 |
||
184 | 197 /* epilogue start */ |
||
185 | 198 /* #NOAPP */ |
||
186 | 199 00e6 0895 ret |
||
187 | 201 .global GetActiveParamSet |
||
188 | 203 GetActiveParamSet: |
||
189 | 204 /* prologue: function */ |
||
190 | 205 /* frame size = 0 */ |
||
191 | 206 .L30: |
||
192 | 207 00e8 F999 sbic 63-32,1 |
||
193 | 208 00ea 00C0 rjmp .L30 |
||
194 | 209 00ec 82E0 ldi r24,lo8(2) |
||
195 | 210 00ee 90E0 ldi r25,hi8(2) |
||
196 | 211 00f0 92BD out (65)+1-32,r25 |
||
197 | 212 00f2 81BD out 65-32,r24 |
||
198 | 213 /* #APP */ |
||
199 | 214 ; 208 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1 |
||
200 | 215 /* START EEPROM READ CRITICAL SECTION */ |
||
201 | 216 00f4 F89A sbi 31, 0 |
||
202 | 217 00f6 80B5 in r24, 32 |
||
203 | 218 /* END EEPROM READ CRITICAL SECTION */ |
||
204 | 219 |
||
205 | 220 ; 0 "" 2 |
||
206 | 221 /* #NOAPP */ |
||
207 | 222 00f8 8630 cpi r24,lo8(6) |
||
208 | 223 00fa 00F0 brlo .L31 |
||
209 | 224 .L34: |
||
210 | 225 00fc F999 sbic 63-32,1 |
||
211 | 226 00fe 00C0 rjmp .L34 |
||
212 | 227 0100 1FBA out 63-32,__zero_reg__ |
||
213 | 228 0102 82E0 ldi r24,lo8(2) |
||
214 | 229 0104 90E0 ldi r25,hi8(2) |
||
215 | 230 0106 92BD out (65)+1-32,r25 |
||
216 | 231 0108 81BD out 65-32,r24 |
||
217 | 232 010a 83E0 ldi r24,lo8(3) |
||
218 | 233 010c 80BD out 64-32,r24 |
||
219 | 234 /* #APP */ |
||
220 | 235 ; 315 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1 |
||
221 | 236 /* START EEPROM WRITE CRITICAL SECTION */ |
||
222 | 237 010e 0FB6 in r0, 63 |
||
223 | 238 0110 F894 cli |
||
224 | 239 0112 FA9A sbi 31, 2 |
||
225 | 240 0114 F99A sbi 31, 1 |
||
226 | 241 0116 0FBE out 63, r0 |
||
227 | 242 /* END EEPROM WRITE CRITICAL SECTION */ |
||
228 | 243 ; 0 "" 2 |
||
229 | 244 /* #NOAPP */ |
||
230 | 245 .L31: |
||
231 | 246 0118 0895 ret |
||
232 | 248 .global SetActiveParamSet |
||
233 | 250 SetActiveParamSet: |
||
234 | 251 /* prologue: function */ |
||
235 | 252 /* frame size = 0 */ |
||
236 | 253 011a 282F mov r18,r24 |
||
237 | 254 011c 8630 cpi r24,lo8(6) |
||
238 | 255 011e 00F0 brlo .L38 |
||
239 | 256 0120 25E0 ldi r18,lo8(5) |
||
240 | 257 0122 00C0 rjmp .L41 |
||
241 | 258 .L38: |
||
242 | 259 0124 8823 tst r24 |
||
243 | 260 0126 01F4 brne .L41 |
||
244 | 261 0128 21E0 ldi r18,lo8(1) |
||
245 | 262 .L41: |
||
246 | 263 012a F999 sbic 63-32,1 |
||
247 | 264 012c 00C0 rjmp .L41 |
||
248 | 265 012e 1FBA out 63-32,__zero_reg__ |
||
249 | 266 0130 82E0 ldi r24,lo8(2) |
||
250 | 267 0132 90E0 ldi r25,hi8(2) |
||
251 | 268 0134 92BD out (65)+1-32,r25 |
||
252 | 269 0136 81BD out 65-32,r24 |
||
253 | 270 0138 20BD out 64-32,r18 |
||
254 | 271 /* #APP */ |
||
255 | 272 ; 315 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1 |
||
256 | 273 /* START EEPROM WRITE CRITICAL SECTION */ |
||
257 | 274 013a 0FB6 in r0, 63 |
||
258 | 275 013c F894 cli |
||
259 | 276 013e FA9A sbi 31, 2 |
||
260 | 277 0140 F99A sbi 31, 1 |
||
261 | 278 0142 0FBE out 63, r0 |
||
262 | 279 /* END EEPROM WRITE CRITICAL SECTION */ |
||
263 | 280 ; 0 "" 2 |
||
264 | 281 /* epilogue start */ |
||
265 | 282 /* #NOAPP */ |
||
266 | 283 0144 0895 ret |
||
267 | 285 .global MixerTable_ReadFromEEProm |
||
268 | 287 MixerTable_ReadFromEEProm: |
||
269 | 288 /* prologue: function */ |
||
270 | 289 /* frame size = 0 */ |
||
271 | 290 0146 4AEA ldi r20,lo8(-86) |
||
272 | 291 0148 28EE ldi r18,lo8(1000) |
||
273 | 292 014a 33E0 ldi r19,hi8(1000) |
||
274 | 293 .L56: |
||
275 | 294 014c F999 sbic 63-32,1 |
||
276 | 295 014e 00C0 rjmp .L56 |
||
277 | 296 0150 32BD out (65)+1-32,r19 |
||
278 | 297 0152 21BD out 65-32,r18 |
||
279 | 298 /* #APP */ |
||
280 | 299 ; 208 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1 |
||
281 | 300 /* START EEPROM READ CRITICAL SECTION */ |
||
282 | 301 0154 F89A sbi 31, 0 |
||
283 | 302 0156 80B5 in r24, 32 |
||
284 | 303 /* END EEPROM READ CRITICAL SECTION */ |
||
285 | 304 |
||
286 | 305 ; 0 "" 2 |
||
287 | 306 /* #NOAPP */ |
||
288 | 307 0158 480F add r20,r24 |
||
289 | 308 015a 2F5F subi r18,lo8(-(1)) |
||
290 | 309 015c 3F4F sbci r19,hi8(-(1)) |
||
291 | 310 015e 84E0 ldi r24,hi8(1077) |
||
292 | 311 0160 2533 cpi r18,lo8(1077) |
||
293 | 312 0162 3807 cpc r19,r24 |
||
294 | 313 0164 01F4 brne .L56 |
||
295 | 314 .L52: |
||
296 | 315 0166 F999 sbic 63-32,1 |
||
297 | 316 0168 00C0 rjmp .L52 |
||
298 | 317 016a 85E3 ldi r24,lo8(1077) |
||
299 | 318 016c 94E0 ldi r25,hi8(1077) |
||
300 | 319 016e 92BD out (65)+1-32,r25 |
||
301 | 320 0170 81BD out 65-32,r24 |
||
302 | 321 /* #APP */ |
||
303 | 322 ; 208 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1 |
||
304 | 323 /* START EEPROM READ CRITICAL SECTION */ |
||
305 | 324 0172 F89A sbi 31, 0 |
||
306 | 325 0174 80B5 in r24, 32 |
||
307 | 326 /* END EEPROM READ CRITICAL SECTION */ |
||
308 | 327 |
||
309 | 328 ; 0 "" 2 |
||
310 | 329 /* #NOAPP */ |
||
311 | 330 0176 4817 cp r20,r24 |
||
312 | 331 0178 01F4 brne .L46 |
||
313 | 332 .L51: |
||
314 | 333 017a F999 sbic 63-32,1 |
||
315 | 334 017c 00C0 rjmp .L51 |
||
316 | 335 017e 88EE ldi r24,lo8(1000) |
||
317 | 336 0180 93E0 ldi r25,hi8(1000) |
||
318 | 337 0182 92BD out (65)+1-32,r25 |
||
319 | 338 0184 81BD out 65-32,r24 |
||
320 | 339 /* #APP */ |
||
321 | 340 ; 208 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1 |
||
322 | 341 /* START EEPROM READ CRITICAL SECTION */ |
||
323 | 342 0186 F89A sbi 31, 0 |
||
324 | 343 0188 80B5 in r24, 32 |
||
325 | 344 /* END EEPROM READ CRITICAL SECTION */ |
||
326 | 345 |
||
327 | 346 ; 0 "" 2 |
||
328 | 347 /* #NOAPP */ |
||
329 | 348 018a 8130 cpi r24,lo8(1) |
||
330 | 349 018c 01F4 brne .L46 |
||
331 | 350 018e 80E0 ldi r24,lo8(Mixer) |
||
332 | 351 0190 90E0 ldi r25,hi8(Mixer) |
||
333 | 352 0192 68EE ldi r22,lo8(1000) |
||
334 | 353 0194 73E0 ldi r23,hi8(1000) |
||
335 | 354 0196 4EE4 ldi r20,lo8(78) |
||
336 | 355 0198 50E0 ldi r21,hi8(78) |
||
337 | 356 019a 20E0 ldi r18,lo8(gs(eeprom_read_byte)) |
||
338 | 357 019c 30E0 ldi r19,hi8(gs(eeprom_read_byte)) |
||
339 | 358 019e 0E94 0000 call __eerd_block |
||
340 | 359 01a2 81E0 ldi r24,lo8(1) |
||
341 | 360 01a4 0895 ret |
||
342 | 361 .L46: |
||
343 | 362 01a6 80E0 ldi r24,lo8(0) |
||
344 | 363 01a8 0895 ret |
||
345 | 365 .data |
||
346 | 366 .LC0: |
||
347 | 367 0000 5175 6164 .string "Quadro" |
||
348 | 367 726F 00 |
||
349 | 368 0007 00 .string "" |
||
350 | 369 .text |
||
351 | 370 .global MixerTable_Default |
||
352 | 372 MixerTable_Default: |
||
353 | 373 /* prologue: function */ |
||
354 | 374 /* frame size = 0 */ |
||
355 | 375 01aa 81E0 ldi r24,lo8(1) |
||
356 | 376 01ac 8093 0000 sts Mixer,r24 |
||
357 | 377 01b0 E0E0 ldi r30,lo8(Mixer+13) |
||
358 | 378 01b2 F0E0 ldi r31,hi8(Mixer+13) |
||
359 | 379 .L58: |
||
360 | 380 01b4 1082 st Z,__zero_reg__ |
||
361 | 381 01b6 1182 std Z+1,__zero_reg__ |
||
362 | 382 01b8 1282 std Z+2,__zero_reg__ |
||
363 | 383 01ba 1382 std Z+3,__zero_reg__ |
||
364 | 384 01bc 3496 adiw r30,4 |
||
365 | 385 01be 80E0 ldi r24,hi8(Mixer+77) |
||
366 | 386 01c0 E030 cpi r30,lo8(Mixer+77) |
||
367 | 387 01c2 F807 cpc r31,r24 |
||
368 | 388 01c4 01F4 brne .L58 |
||
369 | 389 01c6 80E4 ldi r24,lo8(64) |
||
370 | 390 01c8 8093 0000 sts Mixer+13,r24 |
||
371 | 391 01cc FF97 sbiw r30,63 |
||
372 | 392 01ce 8083 st Z,r24 |
||
373 | 393 01d0 1092 0000 sts Mixer+15,__zero_reg__ |
||
374 | 394 01d4 8093 0000 sts Mixer+16,r24 |
||
375 | 395 01d8 8093 0000 sts Mixer+17,r24 |
||
376 | 396 01dc 90EC ldi r25,lo8(-64) |
||
377 | 397 01de 9093 0000 sts Mixer+18,r25 |
||
378 | 398 01e2 1092 0000 sts Mixer+19,__zero_reg__ |
||
379 | 399 01e6 8093 0000 sts Mixer+20,r24 |
||
380 | 400 01ea 8093 0000 sts Mixer+21,r24 |
||
381 | 401 01ee 1092 0000 sts Mixer+22,__zero_reg__ |
||
382 | 402 01f2 9093 0000 sts Mixer+23,r25 |
||
383 | 403 01f6 9093 0000 sts Mixer+24,r25 |
||
384 | 404 01fa 8093 0000 sts Mixer+25,r24 |
||
385 | 405 01fe 1092 0000 sts Mixer+26,__zero_reg__ |
||
386 | 406 0202 8093 0000 sts Mixer+27,r24 |
||
387 | 407 0206 9093 0000 sts Mixer+28,r25 |
||
388 | 408 020a 3D97 sbiw r30,13 |
||
389 | 409 020c A0E0 ldi r26,lo8(.LC0) |
||
390 | 410 020e B0E0 ldi r27,hi8(.LC0) |
||
391 | 411 0210 87E0 ldi r24,lo8(7) |
||
392 | 412 .L59: |
||
393 | 413 0212 0D90 ld r0,X+ |
||
394 | 414 0214 0192 st Z+,r0 |
||
395 | 415 0216 8150 subi r24,lo8(-(-1)) |
||
396 | 416 0218 01F4 brne .L59 |
||
397 | 417 021a E0E0 ldi r30,lo8(Mixer) |
||
398 | 418 021c F0E0 ldi r31,hi8(Mixer) |
||
399 | 419 021e 9AEA ldi r25,lo8(-86) |
||
400 | 420 .L60: |
||
401 | 421 0220 8191 ld r24,Z+ |
||
402 | 422 0222 980F add r25,r24 |
||
403 | 423 0224 80E0 ldi r24,hi8(Mixer+77) |
||
404 | 424 0226 E030 cpi r30,lo8(Mixer+77) |
||
405 | 425 0228 F807 cpc r31,r24 |
||
406 | 426 022a 01F4 brne .L60 |
||
407 | 427 022c 9093 0000 sts Mixer+77,r25 |
||
408 | 428 /* epilogue start */ |
||
409 | 429 0230 0895 ret |
||
410 | 431 .data |
||
411 | 432 .LC1: |
||
412 | 433 0008 4265 6769 .string "Beginner" |
||
413 | 433 6E6E 6572 |
||
414 | 433 00 |
||
415 | 434 0011 00 .string "" |
||
416 | 435 .text |
||
417 | 436 .global ParamSet_DefaultSet3 |
||
418 | 438 ParamSet_DefaultSet3: |
||
419 | 439 /* prologue: function */ |
||
420 | 440 /* frame size = 0 */ |
||
421 | 441 0232 84E5 ldi r24,lo8(84) |
||
422 | 442 0234 8093 0000 sts EE_Parameter,r24 |
||
423 | 443 0238 8091 0000 lds r24,PlatinenVersion |
||
424 | 444 023c 8431 cpi r24,lo8(20) |
||
425 | 445 023e 00F0 brlo .L66 |
||
426 | 446 0240 8AE0 ldi r24,lo8(10) |
||
427 | 447 0242 8093 0000 sts EE_Parameter+32,r24 |
||
428 | 448 0246 1092 0000 sts EE_Parameter+66,__zero_reg__ |
||
429 | 449 024a 8BE1 ldi r24,lo8(27) |
||
430 | 450 024c 8093 0000 sts EE_Parameter+28,r24 |
||
431 | 451 0250 8EE4 ldi r24,lo8(78) |
||
432 | 452 0252 00C0 rjmp .L73 |
||
433 | 453 .L66: |
||
434 | 454 0254 83E0 ldi r24,lo8(3) |
||
435 | 455 0256 8093 0000 sts EE_Parameter+32,r24 |
||
436 | 456 025a 80E2 ldi r24,lo8(32) |
||
437 | 457 025c 8093 0000 sts EE_Parameter+66,r24 |
||
438 | 458 0260 8EE1 ldi r24,lo8(30) |
||
439 | 459 0262 8093 0000 sts EE_Parameter+28,r24 |
||
440 | 460 0266 85E5 ldi r24,lo8(85) |
||
441 | 461 .L73: |
||
442 | 462 0268 8093 0000 sts EE_Parameter+63,r24 |
||
443 | 463 026c 8093 0000 sts EE_Parameter+64,r24 |
||
444 | 464 0270 8AE6 ldi r24,lo8(106) |
||
445 | 465 0272 8093 0000 sts EE_Parameter+13,r24 |
||
446 | 466 0276 83E0 ldi r24,lo8(3) |
||
447 | 467 0278 8093 0000 sts EE_Parameter+99,r24 |
||
448 | 468 027c 6EE1 ldi r22,lo8(30) |
||
449 | 469 027e 6093 0000 sts EE_Parameter+14,r22 |
||
450 | 470 0282 8FEF ldi r24,lo8(-1) |
||
451 | 471 0284 8093 0000 sts EE_Parameter+16,r24 |
||
452 | 472 0288 9FE0 ldi r25,lo8(15) |
||
453 | 473 028a 9093 0000 sts EE_Parameter+17,r25 |
||
454 | 474 028e 6093 0000 sts EE_Parameter+15,r22 |
||
455 | 475 0292 1092 0000 sts EE_Parameter+19,__zero_reg__ |
||
456 | 476 0296 78E0 ldi r23,lo8(8) |
||
457 | 477 0298 7093 0000 sts EE_Parameter+20,r23 |
||
458 | 478 029c 80E4 ldi r24,lo8(64) |
||
459 | 479 029e 8093 0000 sts EE_Parameter+21,r24 |
||
460 | 480 02a2 1092 0000 sts EE_Parameter+22,__zero_reg__ |
||
461 | 481 02a6 9093 0000 sts EE_Parameter+18,r25 |
||
462 | 482 02aa 7093 0000 sts EE_Parameter+23,r23 |
||
463 | 483 02ae 90E1 ldi r25,lo8(16) |
||
464 | 484 02b0 9093 0000 sts EE_Parameter+24,r25 |
||
465 | 485 02b4 56E0 ldi r21,lo8(6) |
||
466 | 486 02b6 5093 0000 sts EE_Parameter+25,r21 |
||
467 | 487 02ba 7093 0000 sts EE_Parameter+26,r23 |
||
468 | 488 02be 86EE ldi r24,lo8(-26) |
||
469 | 489 02c0 8093 0000 sts EE_Parameter+27,r24 |
||
470 | 490 02c4 80E8 ldi r24,lo8(-128) |
||
471 | 491 02c6 8093 0000 sts EE_Parameter+29,r24 |
||
472 | 492 02ca 34E6 ldi r19,lo8(100) |
||
473 | 493 02cc 3093 0000 sts EE_Parameter+30,r19 |
||
474 | 494 02d0 88E7 ldi r24,lo8(120) |
||
475 | 495 02d2 8093 0000 sts EE_Parameter+31,r24 |
||
476 | 496 02d6 3093 0000 sts EE_Parameter+33,r19 |
||
477 | 497 02da 8093 0000 sts EE_Parameter+34,r24 |
||
478 | 498 02de 5093 0000 sts EE_Parameter+35,r21 |
||
479 | 499 02e2 81E2 ldi r24,lo8(33) |
||
480 | 500 02e4 8093 0000 sts EE_Parameter+36,r24 |
||
481 | 501 02e8 8DE2 ldi r24,lo8(45) |
||
482 | 502 02ea 8093 0000 sts EE_Parameter+37,r24 |
||
483 | 503 02ee 2AE5 ldi r18,lo8(90) |
||
484 | 504 02f0 2093 0000 sts EE_Parameter+38,r18 |
||
485 | 505 02f4 9093 0000 sts EE_Parameter+40,r25 |
||
486 | 506 02f8 1092 0000 sts EE_Parameter+41,__zero_reg__ |
||
487 | 507 02fc 1092 0000 sts EE_Parameter+42,__zero_reg__ |
||
488 | 508 0300 1092 0000 sts EE_Parameter+43,__zero_reg__ |
||
489 | 509 0304 1092 0000 sts EE_Parameter+44,__zero_reg__ |
||
490 | 510 0308 1092 0000 sts EE_Parameter+68,__zero_reg__ |
||
491 | 511 030c 1092 0000 sts EE_Parameter+69,__zero_reg__ |
||
492 | 512 0310 1092 0000 sts EE_Parameter+70,__zero_reg__ |
||
493 | 513 0314 1092 0000 sts EE_Parameter+71,__zero_reg__ |
||
494 | 514 0318 3093 0000 sts EE_Parameter+45,r19 |
||
495 | 515 031c 48E2 ldi r20,lo8(40) |
||
496 | 516 031e 4093 0000 sts EE_Parameter+46,r20 |
||
497 | 517 0322 E1E0 ldi r30,lo8(1) |
||
498 | 518 0324 E093 0000 sts EE_Parameter+98,r30 |
||
499 | 519 0328 1092 0000 sts EE_Parameter+47,__zero_reg__ |
||
500 | 520 032c 97EF ldi r25,lo8(-9) |
||
501 | 521 032e 9093 0000 sts EE_Parameter+48,r25 |
||
502 | 522 0332 5093 0000 sts EE_Parameter+53,r21 |
||
503 | 523 0336 8DE7 ldi r24,lo8(125) |
||
504 | 524 0338 8093 0000 sts EE_Parameter+54,r24 |
||
505 | 525 033c 8093 0000 sts EE_Parameter+55,r24 |
||
506 | 526 0340 8093 0000 sts EE_Parameter+56,r24 |
||
507 | 527 0344 3093 0000 sts EE_Parameter+49,r19 |
||
508 | 528 0348 4093 0000 sts EE_Parameter+50,r20 |
||
509 | 529 034c 1092 0000 sts EE_Parameter+51,__zero_reg__ |
||
510 | 530 0350 9093 0000 sts EE_Parameter+52,r25 |
||
511 | 531 0354 82E3 ldi r24,lo8(50) |
||
512 | 532 0356 8093 0000 sts EE_Parameter+57,r24 |
||
513 | 533 035a 2093 0000 sts EE_Parameter+58,r18 |
||
514 | 534 035e 8093 0000 sts EE_Parameter+59,r24 |
||
515 | 535 0362 1092 0000 sts EE_Parameter+97,__zero_reg__ |
||
516 | 536 0366 2093 0000 sts EE_Parameter+60,r18 |
||
517 | 537 036a 80E5 ldi r24,lo8(80) |
||
518 | 538 036c 8093 0000 sts EE_Parameter+61,r24 |
||
519 | 539 0370 96E4 ldi r25,lo8(70) |
||
520 | 540 0372 9093 0000 sts EE_Parameter+62,r25 |
||
521 | 541 0376 80E2 ldi r24,lo8(32) |
||
522 | 542 0378 8093 0000 sts EE_Parameter+65,r24 |
||
523 | 543 037c 9093 0000 sts EE_Parameter+67,r25 |
||
524 | 544 0380 8FE5 ldi r24,lo8(95) |
||
525 | 545 0382 8093 0000 sts EE_Parameter+72,r24 |
||
526 | 546 0386 83EF ldi r24,lo8(-13) |
||
527 | 547 0388 8093 0000 sts EE_Parameter+74,r24 |
||
528 | 548 038c 8AEA ldi r24,lo8(-86) |
||
529 | 549 038e 8093 0000 sts EE_Parameter+76,r24 |
||
530 | 550 0392 8093 0000 sts EE_Parameter+77,r24 |
||
531 | 551 0396 6093 0000 sts EE_Parameter+73,r22 |
||
532 | 552 039a 6093 0000 sts EE_Parameter+75,r22 |
||
533 | 553 039e 8EEF ldi r24,lo8(-2) |
||
534 | 554 03a0 8093 0000 sts EE_Parameter+78,r24 |
||
535 | 555 03a4 3093 0000 sts EE_Parameter+79,r19 |
||
536 | 556 03a8 2093 0000 sts EE_Parameter+80,r18 |
||
537 | 557 03ac 2093 0000 sts EE_Parameter+81,r18 |
||
538 | 558 03b0 2093 0000 sts EE_Parameter+82,r18 |
||
539 | 559 03b4 8BE4 ldi r24,lo8(75) |
||
540 | 560 03b6 8093 0000 sts EE_Parameter+83,r24 |
||
541 | 561 03ba 8093 0000 sts EE_Parameter+84,r24 |
||
542 | 562 03be 8093 0000 sts EE_Parameter+85,r24 |
||
543 | 563 03c2 1092 0000 sts EE_Parameter+86,__zero_reg__ |
||
544 | 564 03c6 5093 0000 sts EE_Parameter+87,r21 |
||
545 | 565 03ca 7093 0000 sts EE_Parameter+88,r23 |
||
546 | 566 03ce 2093 0000 sts EE_Parameter+89,r18 |
||
547 | 567 03d2 6093 0000 sts EE_Parameter+90,r22 |
||
548 | 568 03d6 3093 0000 sts EE_Parameter+91,r19 |
||
549 | 569 03da 3093 0000 sts EE_Parameter+92,r19 |
||
550 | 570 03de 82E0 ldi r24,lo8(2) |
||
551 | 571 03e0 8093 0000 sts EE_Parameter+93,r24 |
||
552 | 572 03e4 E093 0000 sts EE_Parameter+39,r30 |
||
553 | 573 03e8 1092 0000 sts EE_Parameter+95,__zero_reg__ |
||
554 | 574 03ec 1092 0000 sts EE_Parameter+96,__zero_reg__ |
||
555 | 575 03f0 A0E0 ldi r26,lo8(EE_Parameter+100) |
||
556 | 576 03f2 B0E0 ldi r27,hi8(EE_Parameter+100) |
||
557 | 577 03f4 E0E0 ldi r30,lo8(.LC1) |
||
558 | 578 03f6 F0E0 ldi r31,hi8(.LC1) |
||
559 | 579 03f8 8CE0 ldi r24,lo8(12) |
||
560 | 580 .L68: |
||
561 | 581 03fa 0190 ld r0,Z+ |
||
562 | 582 03fc 0D92 st X+,r0 |
||
563 | 583 03fe 8150 subi r24,lo8(-(-1)) |
||
564 | 584 0400 01F4 brne .L68 |
||
565 | 585 0402 E0E0 ldi r30,lo8(EE_Parameter) |
||
566 | 586 0404 F0E0 ldi r31,hi8(EE_Parameter) |
||
567 | 587 0406 9AEA ldi r25,lo8(-86) |
||
568 | 588 .L69: |
||
569 | 589 0408 8191 ld r24,Z+ |
||
570 | 590 040a 980F add r25,r24 |
||
571 | 591 040c 80E0 ldi r24,hi8(EE_Parameter+112) |
||
572 | 592 040e E030 cpi r30,lo8(EE_Parameter+112) |
||
573 | 593 0410 F807 cpc r31,r24 |
||
574 | 594 0412 01F4 brne .L69 |
||
575 | 595 0414 9083 st Z,r25 |
||
576 | 596 /* epilogue start */ |
||
577 | 597 0416 0895 ret |
||
578 | 599 .data |
||
579 | 600 .LC2: |
||
580 | 601 0012 4E6F 726D .string "Normal" |
||
581 | 601 616C 00 |
||
582 | 602 0019 00 .string "" |
||
583 | 603 .text |
||
584 | 604 .global ParamSet_DefaultSet2 |
||
585 | 606 ParamSet_DefaultSet2: |
||
586 | 607 /* prologue: function */ |
||
587 | 608 /* frame size = 0 */ |
||
588 | 609 0418 84E5 ldi r24,lo8(84) |
||
589 | 610 041a 8093 0000 sts EE_Parameter,r24 |
||
590 | 611 041e 8091 0000 lds r24,PlatinenVersion |
||
591 | 612 0422 8431 cpi r24,lo8(20) |
||
592 | 613 0424 00F0 brlo .L75 |
||
593 | 614 0426 8AE0 ldi r24,lo8(10) |
||
594 | 615 0428 8093 0000 sts EE_Parameter+32,r24 |
||
595 | 616 042c 1092 0000 sts EE_Parameter+66,__zero_reg__ |
||
596 | 617 0430 8BE1 ldi r24,lo8(27) |
||
597 | 618 0432 8093 0000 sts EE_Parameter+28,r24 |
||
598 | 619 0436 8EE4 ldi r24,lo8(78) |
||
599 | 620 0438 00C0 rjmp .L82 |
||
600 | 621 .L75: |
||
601 | 622 043a 83E0 ldi r24,lo8(3) |
||
602 | 623 043c 8093 0000 sts EE_Parameter+32,r24 |
||
603 | 624 0440 80E2 ldi r24,lo8(32) |
||
604 | 625 0442 8093 0000 sts EE_Parameter+66,r24 |
||
605 | 626 0446 8EE1 ldi r24,lo8(30) |
||
606 | 627 0448 8093 0000 sts EE_Parameter+28,r24 |
||
607 | 628 044c 85E5 ldi r24,lo8(85) |
||
608 | 629 .L82: |
||
609 | 630 044e 8093 0000 sts EE_Parameter+63,r24 |
||
610 | 631 0452 8093 0000 sts EE_Parameter+64,r24 |
||
611 | 632 0456 8AE6 ldi r24,lo8(106) |
||
612 | 633 0458 8093 0000 sts EE_Parameter+13,r24 |
||
613 | 634 045c 83E0 ldi r24,lo8(3) |
||
614 | 635 045e 8093 0000 sts EE_Parameter+99,r24 |
||
615 | 636 0462 7EE1 ldi r23,lo8(30) |
||
616 | 637 0464 7093 0000 sts EE_Parameter+14,r23 |
||
617 | 638 0468 8FEF ldi r24,lo8(-1) |
||
618 | 639 046a 8093 0000 sts EE_Parameter+16,r24 |
||
619 | 640 046e 9FE0 ldi r25,lo8(15) |
||
620 | 641 0470 9093 0000 sts EE_Parameter+17,r25 |
||
621 | 642 0474 7093 0000 sts EE_Parameter+15,r23 |
||
622 | 643 0478 1092 0000 sts EE_Parameter+19,__zero_reg__ |
||
623 | 644 047c 68E0 ldi r22,lo8(8) |
||
624 | 645 047e 6093 0000 sts EE_Parameter+20,r22 |
||
625 | 646 0482 80E4 ldi r24,lo8(64) |
||
626 | 647 0484 8093 0000 sts EE_Parameter+21,r24 |
||
627 | 648 0488 1092 0000 sts EE_Parameter+22,__zero_reg__ |
||
628 | 649 048c 9093 0000 sts EE_Parameter+18,r25 |
||
629 | 650 0490 8AE0 ldi r24,lo8(10) |
||
630 | 651 0492 8093 0000 sts EE_Parameter+23,r24 |
||
631 | 652 0496 80E1 ldi r24,lo8(16) |
||
632 | 653 0498 8093 0000 sts EE_Parameter+24,r24 |
||
633 | 654 049c 56E0 ldi r21,lo8(6) |
||
634 | 655 049e 5093 0000 sts EE_Parameter+25,r21 |
||
635 | 656 04a2 6093 0000 sts EE_Parameter+26,r22 |
||
636 | 657 04a6 86EE ldi r24,lo8(-26) |
||
637 | 658 04a8 8093 0000 sts EE_Parameter+27,r24 |
||
638 | 659 04ac 80E8 ldi r24,lo8(-128) |
||
639 | 660 04ae 8093 0000 sts EE_Parameter+29,r24 |
||
640 | 661 04b2 2AE5 ldi r18,lo8(90) |
||
641 | 662 04b4 2093 0000 sts EE_Parameter+30,r18 |
||
642 | 663 04b8 88E7 ldi r24,lo8(120) |
||
643 | 664 04ba 8093 0000 sts EE_Parameter+31,r24 |
||
644 | 665 04be 2093 0000 sts EE_Parameter+33,r18 |
||
645 | 666 04c2 8093 0000 sts EE_Parameter+34,r24 |
||
646 | 667 04c6 5093 0000 sts EE_Parameter+35,r21 |
||
647 | 668 04ca 81E2 ldi r24,lo8(33) |
||
648 | 669 04cc 8093 0000 sts EE_Parameter+36,r24 |
||
649 | 670 04d0 8DE2 ldi r24,lo8(45) |
||
650 | 671 04d2 8093 0000 sts EE_Parameter+37,r24 |
||
651 | 672 04d6 2093 0000 sts EE_Parameter+38,r18 |
||
652 | 673 04da E0E2 ldi r30,lo8(32) |
||
653 | 674 04dc E093 0000 sts EE_Parameter+40,r30 |
||
654 | 675 04e0 1092 0000 sts EE_Parameter+41,__zero_reg__ |
||
655 | 676 04e4 1092 0000 sts EE_Parameter+42,__zero_reg__ |
||
656 | 677 04e8 1092 0000 sts EE_Parameter+43,__zero_reg__ |
||
657 | 678 04ec 1092 0000 sts EE_Parameter+44,__zero_reg__ |
||
658 | 679 04f0 1092 0000 sts EE_Parameter+68,__zero_reg__ |
||
659 | 680 04f4 1092 0000 sts EE_Parameter+69,__zero_reg__ |
||
660 | 681 04f8 1092 0000 sts EE_Parameter+70,__zero_reg__ |
||
661 | 682 04fc 1092 0000 sts EE_Parameter+71,__zero_reg__ |
||
662 | 683 0500 44E6 ldi r20,lo8(100) |
||
663 | 684 0502 4093 0000 sts EE_Parameter+45,r20 |
||
664 | 685 0506 38E2 ldi r19,lo8(40) |
||
665 | 686 0508 3093 0000 sts EE_Parameter+46,r19 |
||
666 | 687 050c F1E0 ldi r31,lo8(1) |
||
667 | 688 050e F093 0000 sts EE_Parameter+98,r31 |
||
668 | 689 0512 1092 0000 sts EE_Parameter+47,__zero_reg__ |
||
669 | 690 0516 97EF ldi r25,lo8(-9) |
||
670 | 691 0518 9093 0000 sts EE_Parameter+48,r25 |
||
671 | 692 051c 5093 0000 sts EE_Parameter+53,r21 |
||
672 | 693 0520 8DE7 ldi r24,lo8(125) |
||
673 | 694 0522 8093 0000 sts EE_Parameter+54,r24 |
||
674 | 695 0526 8093 0000 sts EE_Parameter+55,r24 |
||
675 | 696 052a 8093 0000 sts EE_Parameter+56,r24 |
||
676 | 697 052e 4093 0000 sts EE_Parameter+49,r20 |
||
677 | 698 0532 3093 0000 sts EE_Parameter+50,r19 |
||
678 | 699 0536 1092 0000 sts EE_Parameter+51,__zero_reg__ |
||
679 | 700 053a 9093 0000 sts EE_Parameter+52,r25 |
||
680 | 701 053e 82E3 ldi r24,lo8(50) |
||
681 | 702 0540 8093 0000 sts EE_Parameter+57,r24 |
||
682 | 703 0544 2093 0000 sts EE_Parameter+58,r18 |
||
683 | 704 0548 8093 0000 sts EE_Parameter+59,r24 |
||
684 | 705 054c 1092 0000 sts EE_Parameter+97,__zero_reg__ |
||
685 | 706 0550 2093 0000 sts EE_Parameter+60,r18 |
||
686 | 707 0554 80E5 ldi r24,lo8(80) |
||
687 | 708 0556 8093 0000 sts EE_Parameter+61,r24 |
||
688 | 709 055a 8CE3 ldi r24,lo8(60) |
||
689 | 710 055c 8093 0000 sts EE_Parameter+62,r24 |
||
690 | 711 0560 E093 0000 sts EE_Parameter+65,r30 |
||
691 | 712 0564 9BE4 ldi r25,lo8(75) |
||
692 | 713 0566 9093 0000 sts EE_Parameter+67,r25 |
||
693 | 714 056a 8FE5 ldi r24,lo8(95) |
||
694 | 715 056c 8093 0000 sts EE_Parameter+72,r24 |
||
695 | 716 0570 83EF ldi r24,lo8(-13) |
||
696 | 717 0572 8093 0000 sts EE_Parameter+74,r24 |
||
697 | 718 0576 8AEA ldi r24,lo8(-86) |
||
698 | 719 0578 8093 0000 sts EE_Parameter+76,r24 |
||
699 | 720 057c 8093 0000 sts EE_Parameter+77,r24 |
||
700 | 721 0580 84E1 ldi r24,lo8(20) |
||
701 | 722 0582 8093 0000 sts EE_Parameter+73,r24 |
||
702 | 723 0586 8093 0000 sts EE_Parameter+75,r24 |
||
703 | 724 058a 8EEF ldi r24,lo8(-2) |
||
704 | 725 058c 8093 0000 sts EE_Parameter+78,r24 |
||
705 | 726 0590 4093 0000 sts EE_Parameter+79,r20 |
||
706 | 727 0594 2093 0000 sts EE_Parameter+80,r18 |
||
707 | 728 0598 2093 0000 sts EE_Parameter+81,r18 |
||
708 | 729 059c 2093 0000 sts EE_Parameter+82,r18 |
||
709 | 730 05a0 9093 0000 sts EE_Parameter+83,r25 |
||
710 | 731 05a4 9093 0000 sts EE_Parameter+84,r25 |
||
711 | 732 05a8 9093 0000 sts EE_Parameter+85,r25 |
||
712 | 733 05ac 1092 0000 sts EE_Parameter+86,__zero_reg__ |
||
713 | 734 05b0 5093 0000 sts EE_Parameter+87,r21 |
||
714 | 735 05b4 6093 0000 sts EE_Parameter+88,r22 |
||
715 | 736 05b8 2093 0000 sts EE_Parameter+89,r18 |
||
716 | 737 05bc 7093 0000 sts EE_Parameter+90,r23 |
||
717 | 738 05c0 4093 0000 sts EE_Parameter+91,r20 |
||
718 | 739 05c4 4093 0000 sts EE_Parameter+92,r20 |
||
719 | 740 05c8 82E0 ldi r24,lo8(2) |
||
720 | 741 05ca 8093 0000 sts EE_Parameter+93,r24 |
||
721 | 742 05ce F093 0000 sts EE_Parameter+39,r31 |
||
722 | 743 05d2 1092 0000 sts EE_Parameter+95,__zero_reg__ |
||
723 | 744 05d6 1092 0000 sts EE_Parameter+96,__zero_reg__ |
||
724 | 745 05da A0E0 ldi r26,lo8(EE_Parameter+100) |
||
725 | 746 05dc B0E0 ldi r27,hi8(EE_Parameter+100) |
||
726 | 747 05de E0E0 ldi r30,lo8(.LC2) |
||
727 | 748 05e0 F0E0 ldi r31,hi8(.LC2) |
||
728 | 749 05e2 8CE0 ldi r24,lo8(12) |
||
729 | 750 .L77: |
||
730 | 751 05e4 0190 ld r0,Z+ |
||
731 | 752 05e6 0D92 st X+,r0 |
||
732 | 753 05e8 8150 subi r24,lo8(-(-1)) |
||
733 | 754 05ea 01F4 brne .L77 |
||
734 | 755 05ec E0E0 ldi r30,lo8(EE_Parameter) |
||
735 | 756 05ee F0E0 ldi r31,hi8(EE_Parameter) |
||
736 | 757 05f0 9AEA ldi r25,lo8(-86) |
||
737 | 758 .L78: |
||
738 | 759 05f2 8191 ld r24,Z+ |
||
739 | 760 05f4 980F add r25,r24 |
||
740 | 761 05f6 80E0 ldi r24,hi8(EE_Parameter+112) |
||
741 | 762 05f8 E030 cpi r30,lo8(EE_Parameter+112) |
||
742 | 763 05fa F807 cpc r31,r24 |
||
743 | 764 05fc 01F4 brne .L78 |
||
744 | 765 05fe 9083 st Z,r25 |
||
745 | 766 /* epilogue start */ |
||
746 | 767 0600 0895 ret |
||
747 | 769 .data |
||
748 | 770 .LC3: |
||
749 | 771 001a 5370 6F72 .string "Sport" |
||
750 | 771 7400 |
||
751 | 772 0020 00 .string "" |
||
752 | 773 .text |
||
753 | 774 .global ParamSet_DefaultSet1 |
||
754 | 776 ParamSet_DefaultSet1: |
||
755 | 777 /* prologue: function */ |
||
756 | 778 /* frame size = 0 */ |
||
757 | 779 0602 84E5 ldi r24,lo8(84) |
||
758 | 780 0604 8093 0000 sts EE_Parameter,r24 |
||
759 | 781 0608 8091 0000 lds r24,PlatinenVersion |
||
760 | 782 060c 8431 cpi r24,lo8(20) |
||
761 | 783 060e 00F0 brlo .L84 |
||
762 | 784 0610 8AE0 ldi r24,lo8(10) |
||
763 | 785 0612 8093 0000 sts EE_Parameter+32,r24 |
||
764 | 786 0616 1092 0000 sts EE_Parameter+66,__zero_reg__ |
||
765 | 787 061a 8BE1 ldi r24,lo8(27) |
||
766 | 788 061c 8093 0000 sts EE_Parameter+28,r24 |
||
767 | 789 0620 8EE4 ldi r24,lo8(78) |
||
768 | 790 0622 00C0 rjmp .L91 |
||
769 | 791 .L84: |
||
770 | 792 0624 83E0 ldi r24,lo8(3) |
||
771 | 793 0626 8093 0000 sts EE_Parameter+32,r24 |
||
772 | 794 062a 80E2 ldi r24,lo8(32) |
||
773 | 795 062c 8093 0000 sts EE_Parameter+66,r24 |
||
774 | 796 0630 8EE1 ldi r24,lo8(30) |
||
775 | 797 0632 8093 0000 sts EE_Parameter+28,r24 |
||
776 | 798 0636 85E5 ldi r24,lo8(85) |
||
777 | 799 .L91: |
||
778 | 800 0638 8093 0000 sts EE_Parameter+63,r24 |
||
779 | 801 063c 8093 0000 sts EE_Parameter+64,r24 |
||
780 | 802 0640 8AE6 ldi r24,lo8(106) |
||
781 | 803 0642 8093 0000 sts EE_Parameter+13,r24 |
||
782 | 804 0646 83E0 ldi r24,lo8(3) |
||
783 | 805 0648 8093 0000 sts EE_Parameter+99,r24 |
||
784 | 806 064c AEE1 ldi r26,lo8(30) |
||
785 | 807 064e A093 0000 sts EE_Parameter+14,r26 |
||
786 | 808 0652 8FEF ldi r24,lo8(-1) |
||
787 | 809 0654 8093 0000 sts EE_Parameter+16,r24 |
||
788 | 810 0658 EFE0 ldi r30,lo8(15) |
||
789 | 811 065a E093 0000 sts EE_Parameter+17,r30 |
||
790 | 812 065e A093 0000 sts EE_Parameter+15,r26 |
||
791 | 813 0662 1092 0000 sts EE_Parameter+19,__zero_reg__ |
||
792 | 814 0666 F8E0 ldi r31,lo8(8) |
||
793 | 815 0668 F093 0000 sts EE_Parameter+20,r31 |
||
794 | 816 066c 80E4 ldi r24,lo8(64) |
||
795 | 817 066e 8093 0000 sts EE_Parameter+21,r24 |
||
796 | 818 0672 1092 0000 sts EE_Parameter+22,__zero_reg__ |
||
797 | 819 0676 84E1 ldi r24,lo8(20) |
||
798 | 820 0678 8093 0000 sts EE_Parameter+18,r24 |
||
799 | 821 067c 8EE0 ldi r24,lo8(14) |
||
800 | 822 067e 8093 0000 sts EE_Parameter+23,r24 |
||
801 | 823 0682 B0E1 ldi r27,lo8(16) |
||
802 | 824 0684 B093 0000 sts EE_Parameter+24,r27 |
||
803 | 825 0688 8CE0 ldi r24,lo8(12) |
||
804 | 826 068a 8093 0000 sts EE_Parameter+25,r24 |
||
805 | 827 068e F093 0000 sts EE_Parameter+26,r31 |
||
806 | 828 0692 86EE ldi r24,lo8(-26) |
||
807 | 829 0694 8093 0000 sts EE_Parameter+27,r24 |
||
808 | 830 0698 80E8 ldi r24,lo8(-128) |
||
809 | 831 069a 8093 0000 sts EE_Parameter+29,r24 |
||
810 | 832 069e 50E5 ldi r21,lo8(80) |
||
811 | 833 06a0 5093 0000 sts EE_Parameter+30,r21 |
||
812 | 834 06a4 86E9 ldi r24,lo8(-106) |
||
813 | 835 06a6 8093 0000 sts EE_Parameter+31,r24 |
||
814 | 836 06aa 5093 0000 sts EE_Parameter+33,r21 |
||
815 | 837 06ae 8093 0000 sts EE_Parameter+34,r24 |
||
816 | 838 06b2 76E0 ldi r23,lo8(6) |
||
817 | 839 06b4 7093 0000 sts EE_Parameter+35,r23 |
||
818 | 840 06b8 81E2 ldi r24,lo8(33) |
||
819 | 841 06ba 8093 0000 sts EE_Parameter+36,r24 |
||
820 | 842 06be 8DE2 ldi r24,lo8(45) |
||
821 | 843 06c0 8093 0000 sts EE_Parameter+37,r24 |
||
822 | 844 06c4 9AE5 ldi r25,lo8(90) |
||
823 | 845 06c6 9093 0000 sts EE_Parameter+38,r25 |
||
824 | 846 06ca 80E2 ldi r24,lo8(32) |
||
825 | 847 06cc 8093 0000 sts EE_Parameter+40,r24 |
||
826 | 848 06d0 1092 0000 sts EE_Parameter+41,__zero_reg__ |
||
827 | 849 06d4 1092 0000 sts EE_Parameter+42,__zero_reg__ |
||
828 | 850 06d8 1092 0000 sts EE_Parameter+43,__zero_reg__ |
||
829 | 851 06dc 1092 0000 sts EE_Parameter+44,__zero_reg__ |
||
830 | 852 06e0 1092 0000 sts EE_Parameter+68,__zero_reg__ |
||
831 | 853 06e4 1092 0000 sts EE_Parameter+69,__zero_reg__ |
||
832 | 854 06e8 1092 0000 sts EE_Parameter+70,__zero_reg__ |
||
833 | 855 06ec 1092 0000 sts EE_Parameter+71,__zero_reg__ |
||
834 | 856 06f0 34E6 ldi r19,lo8(100) |
||
835 | 857 06f2 3093 0000 sts EE_Parameter+45,r19 |
||
836 | 858 06f6 48E2 ldi r20,lo8(40) |
||
837 | 859 06f8 4093 0000 sts EE_Parameter+46,r20 |
||
838 | 860 06fc 61E0 ldi r22,lo8(1) |
||
839 | 861 06fe 6093 0000 sts EE_Parameter+98,r22 |
||
840 | 862 0702 1092 0000 sts EE_Parameter+47,__zero_reg__ |
||
841 | 863 0706 27EF ldi r18,lo8(-9) |
||
842 | 864 0708 2093 0000 sts EE_Parameter+48,r18 |
||
843 | 865 070c 7093 0000 sts EE_Parameter+53,r23 |
||
844 | 866 0710 8DE7 ldi r24,lo8(125) |
||
845 | 867 0712 8093 0000 sts EE_Parameter+54,r24 |
||
846 | 868 0716 8093 0000 sts EE_Parameter+55,r24 |
||
847 | 869 071a 8093 0000 sts EE_Parameter+56,r24 |
||
848 | 870 071e 3093 0000 sts EE_Parameter+49,r19 |
||
849 | 871 0722 4093 0000 sts EE_Parameter+50,r20 |
||
850 | 872 0726 1092 0000 sts EE_Parameter+51,__zero_reg__ |
||
851 | 873 072a 2093 0000 sts EE_Parameter+52,r18 |
||
852 | 874 072e 82E3 ldi r24,lo8(50) |
||
853 | 875 0730 8093 0000 sts EE_Parameter+57,r24 |
||
854 | 876 0734 9093 0000 sts EE_Parameter+58,r25 |
||
855 | 877 0738 8093 0000 sts EE_Parameter+59,r24 |
||
856 | 878 073c 1092 0000 sts EE_Parameter+97,__zero_reg__ |
||
857 | 879 0740 9093 0000 sts EE_Parameter+60,r25 |
||
858 | 880 0744 5093 0000 sts EE_Parameter+61,r21 |
||
859 | 881 0748 6093 0000 sts EE_Parameter+62,r22 |
||
860 | 882 074c B093 0000 sts EE_Parameter+65,r27 |
||
861 | 883 0750 3093 0000 sts EE_Parameter+67,r19 |
||
862 | 884 0754 8FE5 ldi r24,lo8(95) |
||
863 | 885 0756 8093 0000 sts EE_Parameter+72,r24 |
||
864 | 886 075a 83EF ldi r24,lo8(-13) |
||
865 | 887 075c 8093 0000 sts EE_Parameter+74,r24 |
||
866 | 888 0760 8AEA ldi r24,lo8(-86) |
||
867 | 889 0762 8093 0000 sts EE_Parameter+76,r24 |
||
868 | 890 0766 8093 0000 sts EE_Parameter+77,r24 |
||
869 | 891 076a E093 0000 sts EE_Parameter+73,r30 |
||
870 | 892 076e E093 0000 sts EE_Parameter+75,r30 |
||
871 | 893 0772 8EEF ldi r24,lo8(-2) |
||
872 | 894 0774 8093 0000 sts EE_Parameter+78,r24 |
||
873 | 895 0778 3093 0000 sts EE_Parameter+79,r19 |
||
874 | 896 077c 9093 0000 sts EE_Parameter+80,r25 |
||
875 | 897 0780 9093 0000 sts EE_Parameter+81,r25 |
||
876 | 898 0784 9093 0000 sts EE_Parameter+82,r25 |
||
877 | 899 0788 8BE4 ldi r24,lo8(75) |
||
878 | 900 078a 8093 0000 sts EE_Parameter+83,r24 |
||
879 | 901 078e 8093 0000 sts EE_Parameter+84,r24 |
||
880 | 902 0792 8093 0000 sts EE_Parameter+85,r24 |
||
881 | 903 0796 1092 0000 sts EE_Parameter+86,__zero_reg__ |
||
882 | 904 079a 7093 0000 sts EE_Parameter+87,r23 |
||
883 | 905 079e F093 0000 sts EE_Parameter+88,r31 |
||
884 | 906 07a2 9093 0000 sts EE_Parameter+89,r25 |
||
885 | 907 07a6 A093 0000 sts EE_Parameter+90,r26 |
||
886 | 908 07aa 3093 0000 sts EE_Parameter+91,r19 |
||
887 | 909 07ae 3093 0000 sts EE_Parameter+92,r19 |
||
888 | 910 07b2 82E0 ldi r24,lo8(2) |
||
889 | 911 07b4 8093 0000 sts EE_Parameter+93,r24 |
||
890 | 912 07b8 6093 0000 sts EE_Parameter+39,r22 |
||
891 | 913 07bc 1092 0000 sts EE_Parameter+95,__zero_reg__ |
||
892 | 914 07c0 1092 0000 sts EE_Parameter+96,__zero_reg__ |
||
893 | 915 07c4 A0E0 ldi r26,lo8(EE_Parameter+100) |
||
894 | 916 07c6 B0E0 ldi r27,hi8(EE_Parameter+100) |
||
895 | 917 07c8 E0E0 ldi r30,lo8(.LC3) |
||
896 | 918 07ca F0E0 ldi r31,hi8(.LC3) |
||
897 | 919 07cc 8CE0 ldi r24,lo8(12) |
||
898 | 920 .L86: |
||
899 | 921 07ce 0190 ld r0,Z+ |
||
900 | 922 07d0 0D92 st X+,r0 |
||
901 | 923 07d2 8150 subi r24,lo8(-(-1)) |
||
902 | 924 07d4 01F4 brne .L86 |
||
903 | 925 07d6 E0E0 ldi r30,lo8(EE_Parameter) |
||
904 | 926 07d8 F0E0 ldi r31,hi8(EE_Parameter) |
||
905 | 927 07da 9AEA ldi r25,lo8(-86) |
||
906 | 928 .L87: |
||
907 | 929 07dc 8191 ld r24,Z+ |
||
908 | 930 07de 980F add r25,r24 |
||
909 | 931 07e0 80E0 ldi r24,hi8(EE_Parameter+112) |
||
910 | 932 07e2 E030 cpi r30,lo8(EE_Parameter+112) |
||
911 | 933 07e4 F807 cpc r31,r24 |
||
912 | 934 07e6 01F4 brne .L87 |
||
913 | 935 07e8 9083 st Z,r25 |
||
914 | 936 /* epilogue start */ |
||
915 | 937 07ea 0895 ret |
||
916 | 939 .global MixerTable_WriteToEEProm |
||
917 | 941 MixerTable_WriteToEEProm: |
||
918 | 942 /* prologue: function */ |
||
919 | 943 /* frame size = 0 */ |
||
920 | 944 07ec 8091 0000 lds r24,Mixer |
||
921 | 945 07f0 8130 cpi r24,lo8(1) |
||
922 | 946 07f2 01F0 breq .L93 |
||
923 | 947 07f4 80E0 ldi r24,lo8(0) |
||
924 | 948 07f6 0895 ret |
||
925 | 949 .L93: |
||
926 | 950 07f8 E0E0 ldi r30,lo8(Mixer) |
||
927 | 951 07fa F0E0 ldi r31,hi8(Mixer) |
||
928 | 952 07fc 9AEA ldi r25,lo8(-86) |
||
929 | 953 .L95: |
||
930 | 954 07fe 8191 ld r24,Z+ |
||
931 | 955 0800 980F add r25,r24 |
||
932 | 956 0802 80E0 ldi r24,hi8(Mixer+77) |
||
933 | 957 0804 E030 cpi r30,lo8(Mixer+77) |
||
934 | 958 0806 F807 cpc r31,r24 |
||
935 | 959 0808 01F4 brne .L95 |
||
936 | 960 080a 9083 st Z,r25 |
||
937 | 961 080c 88EE ldi r24,lo8(1000) |
||
938 | 962 080e 93E0 ldi r25,hi8(1000) |
||
939 | 963 0810 60E0 ldi r22,lo8(Mixer) |
||
940 | 964 0812 70E0 ldi r23,hi8(Mixer) |
||
941 | 965 0814 4EE4 ldi r20,lo8(78) |
||
942 | 966 0816 50E0 ldi r21,hi8(78) |
||
943 | 967 0818 20E0 ldi r18,lo8(gs(eeprom_write_byte)) |
||
944 | 968 081a 30E0 ldi r19,hi8(gs(eeprom_write_byte)) |
||
945 | 969 081c 0E94 0000 call __eewr_block |
||
946 | 970 0820 81E0 ldi r24,lo8(1) |
||
947 | 971 0822 0895 ret |
||
948 | 973 .global ParamSet_WriteToEEProm |
||
949 | 975 ParamSet_WriteToEEProm: |
||
950 | 976 0824 1F93 push r17 |
||
951 | 977 /* prologue: function */ |
||
952 | 978 /* frame size = 0 */ |
||
953 | 979 0826 182F mov r17,r24 |
||
954 | 980 0828 8091 0000 lds r24,EE_Parameter |
||
955 | 981 082c 8435 cpi r24,lo8(84) |
||
956 | 982 082e 01F0 breq .+2 |
||
957 | 983 0830 00C0 rjmp .L99 |
||
958 | 984 0832 1630 cpi r17,lo8(6) |
||
959 | 985 0834 00F0 brlo .L100 |
||
960 | 986 0836 15E0 ldi r17,lo8(5) |
||
961 | 987 0838 00C0 rjmp .L101 |
||
962 | 988 .L100: |
||
963 | 989 083a 1123 tst r17 |
||
964 | 990 083c 01F4 brne .+2 |
||
965 | 991 083e 00C0 rjmp .L99 |
||
966 | 992 .L101: |
||
967 | 993 0840 E0E0 ldi r30,lo8(EE_Parameter) |
||
968 | 994 0842 F0E0 ldi r31,hi8(EE_Parameter) |
||
969 | 995 0844 9AEA ldi r25,lo8(-86) |
||
970 | 996 .L102: |
||
971 | 997 0846 8191 ld r24,Z+ |
||
972 | 998 0848 980F add r25,r24 |
||
973 | 999 084a 40E0 ldi r20,hi8(EE_Parameter+112) |
||
974 | 1000 084c E030 cpi r30,lo8(EE_Parameter+112) |
||
975 | 1001 084e F407 cpc r31,r20 |
||
976 | 1002 0850 01F4 brne .L102 |
||
977 | 1003 0852 9083 st Z,r25 |
||
978 | 1004 0854 812F mov r24,r17 |
||
979 | 1005 0856 90E0 ldi r25,lo8(0) |
||
980 | 1006 0858 0197 sbiw r24,1 |
||
981 | 1007 085a 21E7 ldi r18,lo8(113) |
||
982 | 1008 085c 30E0 ldi r19,hi8(113) |
||
983 | 1009 085e AC01 movw r20,r24 |
||
984 | 1010 0860 429F mul r20,r18 |
||
985 | 1011 0862 C001 movw r24,r0 |
||
986 | 1012 0864 439F mul r20,r19 |
||
987 | 1013 0866 900D add r25,r0 |
||
988 | 1014 0868 529F mul r21,r18 |
||
989 | 1015 086a 900D add r25,r0 |
||
990 | 1016 086c 1124 clr r1 |
||
991 | 1017 086e 8C59 subi r24,lo8(-(100)) |
||
992 | 1018 0870 9F4F sbci r25,hi8(-(100)) |
||
993 | 1019 0872 60E0 ldi r22,lo8(EE_Parameter) |
||
994 | 1020 0874 70E0 ldi r23,hi8(EE_Parameter) |
||
995 | 1021 0876 41E7 ldi r20,lo8(113) |
||
996 | 1022 0878 50E0 ldi r21,hi8(113) |
||
997 | 1023 087a 20E0 ldi r18,lo8(gs(eeprom_write_byte)) |
||
998 | 1024 087c 30E0 ldi r19,hi8(gs(eeprom_write_byte)) |
||
999 | 1025 087e 0E94 0000 call __eewr_block |
||
1000 | 1026 0882 80E5 ldi r24,lo8(80) |
||
1001 | 1027 0884 90E0 ldi r25,hi8(80) |
||
1002 | 1028 0886 60E0 ldi r22,lo8(EE_Parameter+1) |
||
1003 | 1029 0888 70E0 ldi r23,hi8(EE_Parameter+1) |
||
1004 | 1030 088a 4CE0 ldi r20,lo8(12) |
||
1005 | 1031 088c 50E0 ldi r21,hi8(12) |
||
1006 | 1032 088e 20E0 ldi r18,lo8(gs(eeprom_write_byte)) |
||
1007 | 1033 0890 30E0 ldi r19,hi8(gs(eeprom_write_byte)) |
||
1008 | 1034 0892 0E94 0000 call __eewr_block |
||
1009 | 1035 0896 E0E0 ldi r30,lo8(EE_Parameter+1) |
||
1010 | 1036 0898 F0E0 ldi r31,hi8(EE_Parameter+1) |
||
1011 | 1037 089a 2AEA ldi r18,lo8(-86) |
||
1012 | 1038 .L103: |
||
1013 | 1039 089c 8191 ld r24,Z+ |
||
1014 | 1040 089e 280F add r18,r24 |
||
1015 | 1041 08a0 50E0 ldi r21,hi8(EE_Parameter+13) |
||
1016 | 1042 08a2 E030 cpi r30,lo8(EE_Parameter+13) |
||
1017 | 1043 08a4 F507 cpc r31,r21 |
||
1018 | 1044 08a6 01F4 brne .L103 |
||
1019 | 1045 .L108: |
||
1020 | 1046 08a8 F999 sbic 63-32,1 |
||
1021 | 1047 08aa 00C0 rjmp .L108 |
||
1022 | 1048 08ac 1FBA out 63-32,__zero_reg__ |
||
1023 | 1049 08ae 8CE5 ldi r24,lo8(92) |
||
1024 | 1050 08b0 90E0 ldi r25,hi8(92) |
||
1025 | 1051 08b2 92BD out (65)+1-32,r25 |
||
1026 | 1052 08b4 81BD out 65-32,r24 |
||
1027 | 1053 08b6 20BD out 64-32,r18 |
||
1028 | 1054 /* #APP */ |
||
1029 | 1055 ; 315 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1 |
||
1030 | 1056 /* START EEPROM WRITE CRITICAL SECTION */ |
||
1031 | 1057 08b8 0FB6 in r0, 63 |
||
1032 | 1058 08ba F894 cli |
||
1033 | 1059 08bc FA9A sbi 31, 2 |
||
1034 | 1060 08be F99A sbi 31, 1 |
||
1035 | 1061 08c0 0FBE out 63, r0 |
||
1036 | 1062 /* END EEPROM WRITE CRITICAL SECTION */ |
||
1037 | 1063 ; 0 "" 2 |
||
1038 | 1064 /* #NOAPP */ |
||
1039 | 1065 .L105: |
||
1040 | 1066 08c2 F999 sbic 63-32,1 |
||
1041 | 1067 08c4 00C0 rjmp .L105 |
||
1042 | 1068 08c6 1FBA out 63-32,__zero_reg__ |
||
1043 | 1069 08c8 82E0 ldi r24,lo8(2) |
||
1044 | 1070 08ca 90E0 ldi r25,hi8(2) |
||
1045 | 1071 08cc 92BD out (65)+1-32,r25 |
||
1046 | 1072 08ce 81BD out 65-32,r24 |
||
1047 | 1073 08d0 10BD out 64-32,r17 |
||
1048 | 1074 /* #APP */ |
||
1049 | 1075 ; 315 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1 |
||
1050 | 1076 /* START EEPROM WRITE CRITICAL SECTION */ |
||
1051 | 1077 08d2 0FB6 in r0, 63 |
||
1052 | 1078 08d4 F894 cli |
||
1053 | 1079 08d6 FA9A sbi 31, 2 |
||
1054 | 1080 08d8 F99A sbi 31, 1 |
||
1055 | 1081 08da 0FBE out 63, r0 |
||
1056 | 1082 /* END EEPROM WRITE CRITICAL SECTION */ |
||
1057 | 1083 ; 0 "" 2 |
||
1058 | 1084 /* #NOAPP */ |
||
1059 | 1085 08dc 0E94 0000 call LED_Init |
||
1060 | 1086 08e0 81E0 ldi r24,lo8(1) |
||
1061 | 1087 08e2 00C0 rjmp .L106 |
||
1062 | 1088 .L99: |
||
1063 | 1089 08e4 80E0 ldi r24,lo8(0) |
||
1064 | 1090 .L106: |
||
1065 | 1091 /* epilogue start */ |
||
1066 | 1092 08e6 1F91 pop r17 |
||
1067 | 1093 08e8 0895 ret |
||
1068 | 1095 .global ParamSet_ReadFromEEProm |
||
1069 | 1097 ParamSet_ReadFromEEProm: |
||
1070 | 1098 /* prologue: function */ |
||
1071 | 1099 /* frame size = 0 */ |
||
1072 | 1100 08ea 982F mov r25,r24 |
||
1073 | 1101 08ec 8150 subi r24,lo8(-(-1)) |
||
1074 | 1102 08ee 8530 cpi r24,lo8(5) |
||
1075 | 1103 08f0 00F0 brlo .L114 |
||
1076 | 1104 08f2 93E0 ldi r25,lo8(3) |
||
1077 | 1105 .L114: |
||
1078 | 1106 08f4 892F mov r24,r25 |
||
1079 | 1107 08f6 90E0 ldi r25,lo8(0) |
||
1080 | 1108 08f8 0197 sbiw r24,1 |
||
1081 | 1109 08fa 21E7 ldi r18,lo8(113) |
||
1082 | 1110 08fc 30E0 ldi r19,hi8(113) |
||
1083 | 1111 08fe AC01 movw r20,r24 |
||
1084 | 1112 0900 429F mul r20,r18 |
||
1085 | 1113 0902 C001 movw r24,r0 |
||
1086 | 1114 0904 439F mul r20,r19 |
||
1087 | 1115 0906 900D add r25,r0 |
||
1088 | 1116 0908 529F mul r21,r18 |
||
1089 | 1117 090a 900D add r25,r0 |
||
1090 | 1118 090c 1124 clr r1 |
||
1091 | 1119 090e BC01 movw r22,r24 |
||
1092 | 1120 0910 6C59 subi r22,lo8(-(100)) |
||
1093 | 1121 0912 7F4F sbci r23,hi8(-(100)) |
||
1094 | 1122 0914 9B01 movw r18,r22 |
||
1095 | 1123 0916 4AEA ldi r20,lo8(-86) |
||
1096 | 1124 0918 FC01 movw r30,r24 |
||
1097 | 1125 091a EC52 subi r30,lo8(-(212)) |
||
1098 | 1126 091c FF4F sbci r31,hi8(-(212)) |
||
1099 | 1127 .L127: |
||
1100 | 1128 091e F999 sbic 63-32,1 |
||
1101 | 1129 0920 00C0 rjmp .L127 |
||
1102 | 1130 0922 32BD out (65)+1-32,r19 |
||
1103 | 1131 0924 21BD out 65-32,r18 |
||
1104 | 1132 /* #APP */ |
||
1105 | 1133 ; 208 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1 |
||
1106 | 1134 /* START EEPROM READ CRITICAL SECTION */ |
||
1107 | 1135 0926 F89A sbi 31, 0 |
||
1108 | 1136 0928 80B5 in r24, 32 |
||
1109 | 1137 /* END EEPROM READ CRITICAL SECTION */ |
||
1110 | 1138 |
||
1111 | 1139 ; 0 "" 2 |
||
1112 | 1140 /* #NOAPP */ |
||
1113 | 1141 092a 480F add r20,r24 |
||
1114 | 1142 092c 2F5F subi r18,lo8(-(1)) |
||
1115 | 1143 092e 3F4F sbci r19,hi8(-(1)) |
||
1116 | 1144 0930 2E17 cp r18,r30 |
||
1117 | 1145 0932 3F07 cpc r19,r31 |
||
1118 | 1146 0934 01F4 brne .L127 |
||
1119 | 1147 .L123: |
||
1120 | 1148 0936 F999 sbic 63-32,1 |
||
1121 | 1149 0938 00C0 rjmp .L123 |
||
1122 | 1150 093a 6059 subi r22,lo8(-(112)) |
||
1123 | 1151 093c 7F4F sbci r23,hi8(-(112)) |
||
1124 | 1152 093e 72BD out (65)+1-32,r23 |
||
1125 | 1153 0940 61BD out 65-32,r22 |
||
1126 | 1154 0942 6057 subi r22,lo8(-(-112)) |
||
1127 | 1155 0944 7040 sbci r23,hi8(-(-112)) |
||
1128 | 1156 /* #APP */ |
||
1129 | 1157 ; 208 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1 |
||
1130 | 1158 /* START EEPROM READ CRITICAL SECTION */ |
||
1131 | 1159 0946 F89A sbi 31, 0 |
||
1132 | 1160 0948 80B5 in r24, 32 |
||
1133 | 1161 /* END EEPROM READ CRITICAL SECTION */ |
||
1134 | 1162 |
||
1135 | 1163 ; 0 "" 2 |
||
1136 | 1164 /* #NOAPP */ |
||
1137 | 1165 094a 4817 cp r20,r24 |
||
1138 | 1166 094c 01F4 brne .L117 |
||
1139 | 1167 .L122: |
||
1140 | 1168 094e F999 sbic 63-32,1 |
||
1141 | 1169 0950 00C0 rjmp .L122 |
||
1142 | 1170 0952 72BD out (65)+1-32,r23 |
||
1143 | 1171 0954 61BD out 65-32,r22 |
||
1144 | 1172 /* #APP */ |
||
1145 | 1173 ; 208 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1 |
||
1146 | 1174 /* START EEPROM READ CRITICAL SECTION */ |
||
1147 | 1175 0956 F89A sbi 31, 0 |
||
1148 | 1176 0958 80B5 in r24, 32 |
||
1149 | 1177 /* END EEPROM READ CRITICAL SECTION */ |
||
1150 | 1178 |
||
1151 | 1179 ; 0 "" 2 |
||
1152 | 1180 /* #NOAPP */ |
||
1153 | 1181 095a 8435 cpi r24,lo8(84) |
||
1154 | 1182 095c 01F4 brne .L117 |
||
1155 | 1183 095e 80E0 ldi r24,lo8(EE_Parameter) |
||
1156 | 1184 0960 90E0 ldi r25,hi8(EE_Parameter) |
||
1157 | 1185 0962 41E7 ldi r20,lo8(113) |
||
1158 | 1186 0964 50E0 ldi r21,hi8(113) |
||
1159 | 1187 0966 20E0 ldi r18,lo8(gs(eeprom_read_byte)) |
||
1160 | 1188 0968 30E0 ldi r19,hi8(gs(eeprom_read_byte)) |
||
1161 | 1189 096a 0E94 0000 call __eerd_block |
||
1162 | 1190 096e 0E94 0000 call LED_Init |
||
1163 | 1191 0972 81E0 ldi r24,lo8(1) |
||
1164 | 1192 0974 0895 ret |
||
1165 | 1193 .L117: |
||
1166 | 1194 0976 80E0 ldi r24,lo8(0) |
||
1167 | 1195 0978 0895 ret |
||
1168 | 1197 .global ParamSet_Init |
||
1169 | 1199 ParamSet_Init: |
||
1170 | 1200 097a A0E0 ldi r26,lo8(0) |
||
1171 | 1201 097c B0E0 ldi r27,hi8(0) |
||
1172 | 1202 097e E0E0 ldi r30,lo8(gs(1f)) |
||
1173 | 1203 0980 F0E0 ldi r31,hi8(gs(1f)) |
||
1174 | 1204 0982 0C94 0000 jmp __prologue_saves__+((18 - 18) * 2) |
||
1175 | 1205 1: |
||
1176 | 1206 /* prologue: function */ |
||
1177 | 1207 /* frame size = 0 */ |
||
1178 | 1208 .L129: |
||
1179 | 1209 0986 F999 sbic 63-32,1 |
||
1180 | 1210 0988 00C0 rjmp .L129 |
||
1181 | 1211 098a 81E0 ldi r24,lo8(1) |
||
1182 | 1212 098c 90E0 ldi r25,hi8(1) |
||
1183 | 1213 098e 92BD out (65)+1-32,r25 |
||
1184 | 1214 0990 81BD out 65-32,r24 |
||
1185 | 1215 /* #APP */ |
||
1186 | 1216 ; 208 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1 |
||
1187 | 1217 /* START EEPROM READ CRITICAL SECTION */ |
||
1188 | 1218 0992 F89A sbi 31, 0 |
||
1189 | 1219 0994 80B5 in r24, 32 |
||
1190 | 1220 /* END EEPROM READ CRITICAL SECTION */ |
||
1191 | 1221 |
||
1192 | 1222 ; 0 "" 2 |
||
1193 | 1223 /* #NOAPP */ |
||
1194 | 1224 0996 8435 cpi r24,lo8(84) |
||
1195 | 1225 0998 01F4 brne .L154 |
||
1196 | 1226 099a CC24 clr r12 |
||
1197 | 1227 099c 00C0 rjmp .L131 |
||
1198 | 1228 .L154: |
||
1199 | 1229 099e F999 sbic 63-32,1 |
||
1200 | 1230 09a0 00C0 rjmp .L154 |
||
1201 | 1231 09a2 1FBA out 63-32,__zero_reg__ |
||
1202 | 1232 09a4 81E0 ldi r24,lo8(1) |
||
1203 | 1233 09a6 90E0 ldi r25,hi8(1) |
||
1204 | 1234 09a8 92BD out (65)+1-32,r25 |
||
1205 | 1235 09aa 81BD out 65-32,r24 |
||
1206 | 1236 09ac 84E5 ldi r24,lo8(84) |
||
1207 | 1237 09ae 80BD out 64-32,r24 |
||
1208 | 1238 /* #APP */ |
||
1209 | 1239 ; 315 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1 |
||
1210 | 1240 /* START EEPROM WRITE CRITICAL SECTION */ |
||
1211 | 1241 09b0 0FB6 in r0, 63 |
||
1212 | 1242 09b2 F894 cli |
||
1213 | 1243 09b4 FA9A sbi 31, 2 |
||
1214 | 1244 09b6 F99A sbi 31, 1 |
||
1215 | 1245 09b8 0FBE out 63, r0 |
||
1216 | 1246 /* END EEPROM WRITE CRITICAL SECTION */ |
||
1217 | 1247 ; 0 "" 2 |
||
1218 | 1248 /* #NOAPP */ |
||
1219 | 1249 09ba CC24 clr r12 |
||
1220 | 1250 09bc C394 inc r12 |
||
1221 | 1251 .L131: |
||
1222 | 1252 09be EAEA ldi r30,lo8(-86) |
||
1223 | 1253 09c0 DE2E mov r13,r30 |
||
1224 | 1254 09c2 20E5 ldi r18,lo8(80) |
||
1225 | 1255 09c4 30E0 ldi r19,hi8(80) |
||
1226 | 1256 .L162: |
||
1227 | 1257 09c6 F999 sbic 63-32,1 |
||
1228 | 1258 09c8 00C0 rjmp .L162 |
||
1229 | 1259 09ca 32BD out (65)+1-32,r19 |
||
1230 | 1260 09cc 21BD out 65-32,r18 |
||
1231 | 1261 /* #APP */ |
||
1232 | 1262 ; 208 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1 |
||
1233 | 1263 /* START EEPROM READ CRITICAL SECTION */ |
||
1234 | 1264 09ce F89A sbi 31, 0 |
||
1235 | 1265 09d0 80B5 in r24, 32 |
||
1236 | 1266 /* END EEPROM READ CRITICAL SECTION */ |
||
1237 | 1267 |
||
1238 | 1268 ; 0 "" 2 |
||
1239 | 1269 /* #NOAPP */ |
||
1240 | 1270 09d2 D80E add r13,r24 |
||
1241 | 1271 09d4 2F5F subi r18,lo8(-(1)) |
||
1242 | 1272 09d6 3F4F sbci r19,hi8(-(1)) |
||
1243 | 1273 09d8 2C35 cpi r18,92 |
||
1244 | 1274 09da 3105 cpc r19,__zero_reg__ |
||
1245 | 1275 09dc 01F4 brne .L162 |
||
1246 | 1276 .L153: |
||
1247 | 1277 09de F999 sbic 63-32,1 |
||
1248 | 1278 09e0 00C0 rjmp .L153 |
||
1249 | 1279 09e2 8CE5 ldi r24,lo8(92) |
||
1250 | 1280 09e4 90E0 ldi r25,hi8(92) |
||
1251 | 1281 09e6 92BD out (65)+1-32,r25 |
||
1252 | 1282 09e8 81BD out 65-32,r24 |
||
1253 | 1283 /* #APP */ |
||
1254 | 1284 ; 208 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1 |
||
1255 | 1285 /* START EEPROM READ CRITICAL SECTION */ |
||
1256 | 1286 09ea F89A sbi 31, 0 |
||
1257 | 1287 09ec 90B4 in r9, 32 |
||
1258 | 1288 /* END EEPROM READ CRITICAL SECTION */ |
||
1259 | 1289 |
||
1260 | 1290 ; 0 "" 2 |
||
1261 | 1291 /* #NOAPP */ |
||
1262 | 1292 09ee EE24 clr r14 |
||
1263 | 1293 09f0 01E0 ldi r16,lo8(1) |
||
1264 | 1294 09f2 10E0 ldi r17,hi8(1) |
||
1265 | 1295 09f4 70E0 ldi r23,lo8(gs(uart_putchar)) |
||
1266 | 1296 09f6 A72E mov r10,r23 |
||
1267 | 1297 09f8 70E0 ldi r23,hi8(gs(uart_putchar)) |
||
1268 | 1298 09fa B72E mov r11,r23 |
||
1269 | 1299 09fc C0E0 ldi r28,lo8(__c.2353) |
||
1270 | 1300 09fe D0E0 ldi r29,hi8(__c.2353) |
||
1271 | 1301 0a00 66E0 ldi r22,lo8(6) |
||
1272 | 1302 0a02 262E mov r2,r22 |
||
1273 | 1303 0a04 57E0 ldi r21,lo8(7) |
||
1274 | 1304 0a06 352E mov r3,r21 |
||
1275 | 1305 0a08 48E0 ldi r20,lo8(8) |
||
1276 | 1306 0a0a 442E mov r4,r20 |
||
1277 | 1307 0a0c 39E0 ldi r19,lo8(9) |
||
1278 | 1308 0a0e 532E mov r5,r19 |
||
1279 | 1309 0a10 2AE0 ldi r18,lo8(10) |
||
1280 | 1310 0a12 622E mov r6,r18 |
||
1281 | 1311 0a14 9BE0 ldi r25,lo8(11) |
||
1282 | 1312 0a16 792E mov r7,r25 |
||
1283 | 1313 0a18 8CE0 ldi r24,lo8(12) |
||
1284 | 1314 0a1a 882E mov r8,r24 |
||
1285 | 1315 .L143: |
||
1286 | 1316 0a1c F02E mov r15,r16 |
||
1287 | 1317 0a1e CC20 tst r12 |
||
1288 | 1318 0a20 01F4 brne .L134 |
||
1289 | 1319 0a22 802F mov r24,r16 |
||
1290 | 1320 0a24 0E94 0000 call ParamSet_ReadFromEEProm |
||
1291 | 1321 0a28 8823 tst r24 |
||
1292 | 1322 0a2a 01F0 breq .+2 |
||
1293 | 1323 0a2c 00C0 rjmp .L135 |
||
1294 | 1324 .L134: |
||
1295 | 1325 0a2e 00D0 rcall . |
||
1296 | 1326 0a30 00D0 rcall . |
||
1297 | 1327 0a32 00D0 rcall . |
||
1298 | 1328 0a34 EDB7 in r30,__SP_L__ |
||
1299 | 1329 0a36 FEB7 in r31,__SP_H__ |
||
1300 | 1330 0a38 3196 adiw r30,1 |
||
1301 | 1331 0a3a ADB7 in r26,__SP_L__ |
||
1302 | 1332 0a3c BEB7 in r27,__SP_H__ |
||
1303 | 1333 0a3e 1296 adiw r26,1+1 |
||
1304 | 1334 0a40 BC92 st X,r11 |
||
1305 | 1335 0a42 AE92 st -X,r10 |
||
1306 | 1336 0a44 1197 sbiw r26,1 |
||
1307 | 1337 0a46 D383 std Z+3,r29 |
||
1308 | 1338 0a48 C283 std Z+2,r28 |
||
1309 | 1339 0a4a 1583 std Z+5,r17 |
||
1310 | 1340 0a4c 0483 std Z+4,r16 |
||
1311 | 1341 0a4e E091 0000 lds r30,_printf_P |
||
1312 | 1342 0a52 F091 0000 lds r31,(_printf_P)+1 |
||
1313 | 1343 0a56 0995 icall |
||
1314 | 1344 0a58 EDB7 in r30,__SP_L__ |
||
1315 | 1345 0a5a FEB7 in r31,__SP_H__ |
||
1316 | 1346 0a5c 3696 adiw r30,6 |
||
1317 | 1347 0a5e EDBF out __SP_L__,r30 |
||
1318 | 1348 0a60 F2E0 ldi r31,lo8(2) |
||
1319 | 1349 0a62 FF16 cp r15,r31 |
||
1320 | 1350 0a64 01F0 breq .L138 |
||
1321 | 1351 0a66 83E0 ldi r24,lo8(3) |
||
1322 | 1352 0a68 F816 cp r15,r24 |
||
1323 | 1353 0a6a 01F0 breq .L163 |
||
1324 | 1354 0a6c 91E0 ldi r25,lo8(1) |
||
1325 | 1355 0a6e F916 cp r15,r25 |
||
1326 | 1356 0a70 01F4 brne .L163 |
||
1327 | 1357 0a72 0E94 0000 call ParamSet_DefaultSet1 |
||
1328 | 1358 0a76 00C0 rjmp .L140 |
||
1329 | 1359 .L138: |
||
1330 | 1360 0a78 0E94 0000 call ParamSet_DefaultSet2 |
||
1331 | 1361 0a7c 00C0 rjmp .L140 |
||
1332 | 1362 .L163: |
||
1333 | 1363 0a7e 0E94 0000 call ParamSet_DefaultSet3 |
||
1334 | 1364 .L140: |
||
1335 | 1365 0a82 D914 cp r13,r9 |
||
1336 | 1366 0a84 01F4 brne .L141 |
||
1337 | 1367 0a86 80E0 ldi r24,lo8(EE_Parameter+1) |
||
1338 | 1368 0a88 90E0 ldi r25,hi8(EE_Parameter+1) |
||
1339 | 1369 0a8a 60E5 ldi r22,lo8(80) |
||
1340 | 1370 0a8c 70E0 ldi r23,hi8(80) |
||
1341 | 1371 0a8e 4CE0 ldi r20,lo8(12) |
||
1342 | 1372 0a90 50E0 ldi r21,hi8(12) |
||
1343 | 1373 0a92 20E0 ldi r18,lo8(gs(eeprom_read_byte)) |
||
1344 | 1374 0a94 30E0 ldi r19,hi8(gs(eeprom_read_byte)) |
||
1345 | 1375 0a96 0E94 0000 call __eerd_block |
||
1346 | 1376 0a9a 00C0 rjmp .L142 |
||
1347 | 1377 .L141: |
||
1348 | 1378 0a9c A1E0 ldi r26,lo8(1) |
||
1349 | 1379 0a9e A093 0000 sts EE_Parameter+3,r26 |
||
1350 | 1380 0aa2 B2E0 ldi r27,lo8(2) |
||
1351 | 1381 0aa4 B093 0000 sts EE_Parameter+2,r27 |
||
1352 | 1382 0aa8 E3E0 ldi r30,lo8(3) |
||
1353 | 1383 0aaa E093 0000 sts EE_Parameter+1,r30 |
||
1354 | 1384 0aae F4E0 ldi r31,lo8(4) |
||
1355 | 1385 0ab0 F093 0000 sts EE_Parameter+4,r31 |
||
1356 | 1386 0ab4 85E0 ldi r24,lo8(5) |
||
1357 | 1387 0ab6 8093 0000 sts EE_Parameter+5,r24 |
||
1358 | 1388 0aba 2092 0000 sts EE_Parameter+6,r2 |
||
1359 | 1389 0abe 3092 0000 sts EE_Parameter+7,r3 |
||
1360 | 1390 0ac2 4092 0000 sts EE_Parameter+8,r4 |
||
1361 | 1391 0ac6 5092 0000 sts EE_Parameter+9,r5 |
||
1362 | 1392 0aca 6092 0000 sts EE_Parameter+10,r6 |
||
1363 | 1393 0ace 7092 0000 sts EE_Parameter+11,r7 |
||
1364 | 1394 0ad2 8092 0000 sts EE_Parameter+12,r8 |
||
1365 | 1395 .L142: |
||
1366 | 1396 0ad6 8F2D mov r24,r15 |
||
1367 | 1397 0ad8 0E94 0000 call ParamSet_WriteToEEProm |
||
1368 | 1398 0adc EE24 clr r14 |
||
1369 | 1399 0ade E394 inc r14 |
||
1370 | 1400 .L135: |
||
1371 | 1401 0ae0 0F5F subi r16,lo8(-(1)) |
||
1372 | 1402 0ae2 1F4F sbci r17,hi8(-(1)) |
||
1373 | 1403 0ae4 0630 cpi r16,6 |
||
1374 | 1404 0ae6 1105 cpc r17,__zero_reg__ |
||
1375 | 1405 0ae8 01F0 breq .+2 |
||
1376 | 1406 0aea 00C0 rjmp .L143 |
||
1377 | 1407 0aec EE20 tst r14 |
||
1378 | 1408 0aee 01F0 breq .L144 |
||
1379 | 1409 .L152: |
||
1380 | 1410 0af0 F999 sbic 63-32,1 |
||
1381 | 1411 0af2 00C0 rjmp .L152 |
||
1382 | 1412 0af4 1FBA out 63-32,__zero_reg__ |
||
1383 | 1413 0af6 82E0 ldi r24,lo8(2) |
||
1384 | 1414 0af8 90E0 ldi r25,hi8(2) |
||
1385 | 1415 0afa 92BD out (65)+1-32,r25 |
||
1386 | 1416 0afc 81BD out 65-32,r24 |
||
1387 | 1417 0afe 83E0 ldi r24,lo8(3) |
||
1388 | 1418 0b00 80BD out 64-32,r24 |
||
1389 | 1419 /* #APP */ |
||
1390 | 1420 ; 315 "c:/winavr-20090313/lib/gcc/../../avr/include/avr/eeprom.h" 1 |
||
1391 | 1421 /* START EEPROM WRITE CRITICAL SECTION */ |
||
1392 | 1422 0b02 0FB6 in r0, 63 |
||
1393 | 1423 0b04 F894 cli |
||
1394 | 1424 0b06 FA9A sbi 31, 2 |
||
1395 | 1425 0b08 F99A sbi 31, 1 |
||
1396 | 1426 0b0a 0FBE out 63, r0 |
||
1397 | 1427 /* END EEPROM WRITE CRITICAL SECTION */ |
||
1398 | 1428 ; 0 "" 2 |
||
1399 | 1429 /* #NOAPP */ |
||
1400 | 1430 .L144: |
||
1401 | 1431 0b0c 0E94 0000 call GetActiveParamSet |
||
1402 | 1432 0b10 182F mov r17,r24 |
||
1403 | 1433 0b12 0E94 0000 call ParamSet_ReadFromEEProm |
||
1404 | 1434 0b16 00D0 rcall . |
||
1405 | 1435 0b18 00D0 rcall . |
||
1406 | 1436 0b1a 00D0 rcall . |
||
1407 | 1437 0b1c EDB7 in r30,__SP_L__ |
||
1408 | 1438 0b1e FEB7 in r31,__SP_H__ |
||
1409 | 1439 0b20 3196 adiw r30,1 |
||
1410 | 1440 0b22 80E0 ldi r24,lo8(gs(uart_putchar)) |
||
1411 | 1441 0b24 90E0 ldi r25,hi8(gs(uart_putchar)) |
||
1412 | 1442 0b26 ADB7 in r26,__SP_L__ |
||
1413 | 1443 0b28 BEB7 in r27,__SP_H__ |
||
1414 | 1444 0b2a 1296 adiw r26,1+1 |
||
1415 | 1445 0b2c 9C93 st X,r25 |
||
1416 | 1446 0b2e 8E93 st -X,r24 |
||
1417 | 1447 0b30 1197 sbiw r26,1 |
||
1418 | 1448 0b32 80E0 ldi r24,lo8(__c.2363) |
||
1419 | 1449 0b34 90E0 ldi r25,hi8(__c.2363) |
||
1420 | 1450 0b36 9383 std Z+3,r25 |
||
1421 | 1451 0b38 8283 std Z+2,r24 |
||
1422 | 1452 0b3a 1483 std Z+4,r17 |
||
1423 | 1453 0b3c 1582 std Z+5,__zero_reg__ |
||
1424 | 1454 0b3e E091 0000 lds r30,_printf_P |
||
1425 | 1455 0b42 F091 0000 lds r31,(_printf_P)+1 |
||
1426 | 1456 0b46 0995 icall |
||
1427 | 1457 0b48 EDB7 in r30,__SP_L__ |
||
1428 | 1458 0b4a FEB7 in r31,__SP_H__ |
||
1429 | 1459 0b4c 3696 adiw r30,6 |
||
1430 | 1460 0b4e EDBF out __SP_L__,r30 |
||
1431 | 1461 0b50 CC20 tst r12 |
||
1432 | 1462 0b52 01F4 brne .L146 |
||
1433 | 1463 0b54 0E94 0000 call MixerTable_ReadFromEEProm |
||
1434 | 1464 0b58 8823 tst r24 |
||
1435 | 1465 0b5a 01F4 brne .L147 |
||
1436 | 1466 .L146: |
||
1437 | 1467 0b5c 00D0 rcall . |
||
1438 | 1468 0b5e 00D0 rcall . |
||
1439 | 1469 0b60 80E0 ldi r24,lo8(gs(uart_putchar)) |
||
1440 | 1470 0b62 90E0 ldi r25,hi8(gs(uart_putchar)) |
||
1441 | 1471 0b64 ADB7 in r26,__SP_L__ |
||
1442 | 1472 0b66 BEB7 in r27,__SP_H__ |
||
1443 | 1473 0b68 1296 adiw r26,1+1 |
||
1444 | 1474 0b6a 9C93 st X,r25 |
||
1445 | 1475 0b6c 8E93 st -X,r24 |
||
1446 | 1476 0b6e 1197 sbiw r26,1 |
||
1447 | 1477 0b70 80E0 ldi r24,lo8(__c.2365) |
||
1448 | 1478 0b72 90E0 ldi r25,hi8(__c.2365) |
||
1449 | 1479 0b74 1496 adiw r26,3+1 |
||
1450 | 1480 0b76 9C93 st X,r25 |
||
1451 | 1481 0b78 8E93 st -X,r24 |
||
1452 | 1482 0b7a 1397 sbiw r26,3 |
||
1453 | 1483 0b7c E091 0000 lds r30,_printf_P |
||
1454 | 1484 0b80 F091 0000 lds r31,(_printf_P)+1 |
||
1455 | 1485 0b84 0995 icall |
||
1456 | 1486 0b86 0F90 pop __tmp_reg__ |
||
1457 | 1487 0b88 0F90 pop __tmp_reg__ |
||
1458 | 1488 0b8a 0F90 pop __tmp_reg__ |
||
1459 | 1489 0b8c 0F90 pop __tmp_reg__ |
||
1460 | 1490 0b8e 0E94 0000 call MixerTable_Default |
||
1461 | 1491 0b92 0E94 0000 call MixerTable_WriteToEEProm |
||
1462 | 1492 .L147: |
||
1463 | 1493 0b96 1092 0000 sts RequiredMotors,__zero_reg__ |
||
1464 | 1494 0b9a E0E0 ldi r30,lo8(Mixer+13) |
||
1465 | 1495 0b9c F0E0 ldi r31,hi8(Mixer+13) |
||
1466 | 1496 .L149: |
||
1467 | 1497 0b9e 8081 ld r24,Z |
||
1468 | 1498 0ba0 1816 cp __zero_reg__,r24 |
||
1469 | 1499 0ba2 04F4 brge .L148 |
||
1470 | 1500 0ba4 8091 0000 lds r24,RequiredMotors |
||
1471 | 1501 0ba8 8F5F subi r24,lo8(-(1)) |
||
1472 | 1502 0baa 8093 0000 sts RequiredMotors,r24 |
||
1473 | 1503 .L148: |
||
1474 | 1504 0bae 3496 adiw r30,4 |
||
1475 | 1505 0bb0 B0E0 ldi r27,hi8(Mixer+77) |
||
1476 | 1506 0bb2 E030 cpi r30,lo8(Mixer+77) |
||
1477 | 1507 0bb4 FB07 cpc r31,r27 |
||
1478 | 1508 0bb6 01F4 brne .L149 |
||
1479 | 1509 0bb8 EDB7 in r30,__SP_L__ |
||
1480 | 1510 0bba FEB7 in r31,__SP_H__ |
||
1481 | 1511 0bbc 3897 sbiw r30,8 |
||
1482 | 1512 0bbe EDBF out __SP_L__,r30 |
||
1483 | 1513 0bc0 3196 adiw r30,1 |
||
1484 | 1514 0bc2 00E0 ldi r16,lo8(gs(uart_putchar)) |
||
1485 | 1515 0bc4 10E0 ldi r17,hi8(gs(uart_putchar)) |
||
1486 | 1516 0bc6 ADB7 in r26,__SP_L__ |
||
1487 | 1517 0bc8 BEB7 in r27,__SP_H__ |
||
1488 | 1518 0bca 1296 adiw r26,1+1 |
||
1489 | 1519 0bcc 1C93 st X,r17 |
||
1490 | 1520 0bce 0E93 st -X,r16 |
||
1491 | 1521 0bd0 1197 sbiw r26,1 |
||
1492 | 1522 0bd2 80E0 ldi r24,lo8(__c.2370) |
||
1493 | 1523 0bd4 90E0 ldi r25,hi8(__c.2370) |
||
1494 | 1524 0bd6 9383 std Z+3,r25 |
||
1495 | 1525 0bd8 8283 std Z+2,r24 |
||
1496 | 1526 0bda 80E0 ldi r24,lo8(Mixer+1) |
||
1497 | 1527 0bdc 90E0 ldi r25,hi8(Mixer+1) |
||
1498 | 1528 0bde 9583 std Z+5,r25 |
||
1499 | 1529 0be0 8483 std Z+4,r24 |
||
1500 | 1530 0be2 8091 0000 lds r24,RequiredMotors |
||
1501 | 1531 0be6 8683 std Z+6,r24 |
||
1502 | 1532 0be8 1782 std Z+7,__zero_reg__ |
||
1503 | 1533 0bea E091 0000 lds r30,_printf_P |
||
1504 | 1534 0bee F091 0000 lds r31,(_printf_P)+1 |
||
1505 | 1535 0bf2 0995 icall |
||
1506 | 1536 0bf4 0F90 pop __tmp_reg__ |
||
1507 | 1537 0bf6 0F90 pop __tmp_reg__ |
||
1508 | 1538 0bf8 0F90 pop __tmp_reg__ |
||
1509 | 1539 0bfa 0F90 pop __tmp_reg__ |
||
1510 | 1540 0bfc EDB7 in r30,__SP_L__ |
||
1511 | 1541 0bfe FEB7 in r31,__SP_H__ |
||
1512 | 1542 0c00 1283 std Z+2,r17 |
||
1513 | 1543 0c02 0183 std Z+1,r16 |
||
1514 | 1544 0c04 80E0 ldi r24,lo8(__c.2372) |
||
1515 | 1545 0c06 90E0 ldi r25,hi8(__c.2372) |
||
1516 | 1546 0c08 9483 std Z+4,r25 |
||
1517 | 1547 0c0a 8383 std Z+3,r24 |
||
1518 | 1548 0c0c E091 0000 lds r30,_printf_P |
||
1519 | 1549 0c10 F091 0000 lds r31,(_printf_P)+1 |
||
1520 | 1550 0c14 0995 icall |
||
1521 | 1551 0c16 0F90 pop __tmp_reg__ |
||
1522 | 1552 0c18 0F90 pop __tmp_reg__ |
||
1523 | 1553 0c1a 0F90 pop __tmp_reg__ |
||
1524 | 1554 0c1c 0F90 pop __tmp_reg__ |
||
1525 | 1555 /* epilogue start */ |
||
1526 | 1556 0c1e CDB7 in r28,__SP_L__ |
||
1527 | 1557 0c20 DEB7 in r29,__SP_H__ |
||
1528 | 1558 0c22 E2E1 ldi r30, lo8(18) |
||
1529 | 1559 0c24 0C94 0000 jmp __epilogue_restores__ + ((18 - 18) * 2) |
||
1530 | 1561 .global SetParamWord |
||
1531 | 1563 SetParamWord: |
||
1532 | 1564 /* prologue: function */ |
||
1533 | 1565 /* frame size = 0 */ |
||
1534 | 1566 0c28 40E0 ldi r20,lo8(gs(eeprom_write_byte)) |
||
1535 | 1567 0c2a 50E0 ldi r21,hi8(gs(eeprom_write_byte)) |
||
1536 | 1568 0c2c 0E94 0000 call __eewr_word |
||
1537 | 1569 /* epilogue start */ |
||
1538 | 1570 0c30 0895 ret |
||
1539 | 1572 .global GetParamWord |
||
1540 | 1574 GetParamWord: |
||
1541 | 1575 /* prologue: function */ |
||
1542 | 1576 /* frame size = 0 */ |
||
1543 | 1577 0c32 60E0 ldi r22,lo8(gs(eeprom_read_byte)) |
||
1544 | 1578 0c34 70E0 ldi r23,hi8(gs(eeprom_read_byte)) |
||
1545 | 1579 0c36 0E94 0000 call __eerd_word |
||
1546 | 1580 /* epilogue start */ |
||
1547 | 1581 0c3a 0895 ret |
||
1548 | 1583 .section .progmem.data,"a",@progbits |
||
1549 | 1586 __c.2372: |
||
1550 | 1587 0000 0A0D 3D3D .string "\n\r==============================" |
||
1551 | 1587 3D3D 3D3D |
||
1552 | 1587 3D3D 3D3D |
||
1553 | 1587 3D3D 3D3D |
||
1554 | 1587 3D3D 3D3D |
||
1555 | 1590 __c.2370: |
||
1556 | 1591 0021 0A0D 4D69 .string "\n\rMixer-Config: '%s' (%u Motors)" |
||
1557 | 1591 7865 722D |
||
1558 | 1591 436F 6E66 |
||
1559 | 1591 6967 3A20 |
||
1560 | 1591 2725 7327 |
||
1561 | 1594 __c.2365: |
||
1562 | 1595 0042 0A0D 4765 .string "\n\rGenerating default Mixer Table" |
||
1563 | 1595 6E65 7261 |
||
1564 | 1595 7469 6E67 |
||
1565 | 1595 2064 6566 |
||
1566 | 1595 6175 6C74 |
||
1567 | 1598 __c.2363: |
||
1568 | 1599 0063 0A0D 5573 .string "\n\rUsing Parameter Set %d" |
||
1569 | 1599 696E 6720 |
||
1570 | 1599 5061 7261 |
||
1571 | 1599 6D65 7465 |
||
1572 | 1599 7220 5365 |
||
1573 | 1602 __c.2353: |
||
1574 | 1603 007c 0A0D 4765 .string "\n\rGenerating default Parameter Set %d" |
||
1575 | 1603 6E65 7261 |
||
1576 | 1603 7469 6E67 |
||
1577 | 1603 2064 6566 |
||
1578 | 1603 6175 6C74 |
||
1579 | 1604 .comm Mixer,78,1 |
||
1580 | 1605 .comm RequiredMotors,1,1 |
||
1581 | 1606 .comm EE_Parameter,113,1 |
||
1582 | 1607 .global __do_copy_data |
||
1583 | 1608 .global __do_clear_bss |
||
1755 | - | 1584 | DEFINED SYMBOLS |
1585 | *ABS*:00000000 eeprom.c |
||
1789 | - | 1586 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmcRtsh.s:2 *ABS*:0000003f __SREG__ |
1587 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmcRtsh.s:3 *ABS*:0000003e __SP_H__ |
||
1588 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmcRtsh.s:4 *ABS*:0000003d __SP_L__ |
||
1589 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmcRtsh.s:5 *ABS*:00000034 __CCP__ |
||
1590 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmcRtsh.s:6 *ABS*:00000000 __tmp_reg__ |
||
1591 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmcRtsh.s:7 *ABS*:00000001 __zero_reg__ |
||
1592 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmcRtsh.s:10 .text:00000000 eeprom_read_byte |
||
1593 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmcRtsh.s:32 .text:00000010 eeprom_write_byte |
||
1594 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmcRtsh.s:59 .text:0000002a RAM_Checksum |
||
1595 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmcRtsh.s:85 .text:0000004c EEProm_Checksum |
||
1596 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmcRtsh.s:123 .text:00000078 ParamSet_DefaultStickMapping |
||
1755 | - | 1597 | *COM*:00000071 EE_Parameter |
1789 | - | 1598 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmcRtsh.s:155 .text:000000c2 GetParamByte |
1599 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmcRtsh.s:177 .text:000000d0 SetParamByte |
||
1600 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmcRtsh.s:203 .text:000000e8 GetActiveParamSet |
||
1601 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmcRtsh.s:250 .text:0000011a SetActiveParamSet |
||
1602 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmcRtsh.s:287 .text:00000146 MixerTable_ReadFromEEProm |
||
1755 | - | 1603 | *COM*:0000004e Mixer |
1789 | - | 1604 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmcRtsh.s:372 .text:000001aa MixerTable_Default |
1605 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmcRtsh.s:438 .text:00000232 ParamSet_DefaultSet3 |
||
1606 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmcRtsh.s:606 .text:00000418 ParamSet_DefaultSet2 |
||
1607 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmcRtsh.s:776 .text:00000602 ParamSet_DefaultSet1 |
||
1608 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmcRtsh.s:941 .text:000007ec MixerTable_WriteToEEProm |
||
1609 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmcRtsh.s:975 .text:00000824 ParamSet_WriteToEEProm |
||
1610 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmcRtsh.s:1097 .text:000008ea ParamSet_ReadFromEEProm |
||
1611 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmcRtsh.s:1199 .text:0000097a ParamSet_Init |
||
1612 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmcRtsh.s:1602 .progmem.data:0000007c __c.2353 |
||
1613 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmcRtsh.s:1598 .progmem.data:00000063 __c.2363 |
||
1614 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmcRtsh.s:1594 .progmem.data:00000042 __c.2365 |
||
1755 | - | 1615 | *COM*:00000001 RequiredMotors |
1789 | - | 1616 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmcRtsh.s:1590 .progmem.data:00000021 __c.2370 |
1617 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmcRtsh.s:1586 .progmem.data:00000000 __c.2372 |
||
1618 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmcRtsh.s:1563 .text:00000c28 SetParamWord |
||
1619 | C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccmcRtsh.s:1574 .text:00000c32 GetParamWord |
||
1755 | - | 1620 | |
1621 | UNDEFINED SYMBOLS |
||
1789 | - | 1622 | __eerd_block |
1755 | - | 1623 | PlatinenVersion |
1789 | - | 1624 | __eewr_block |
1755 | - | 1625 | LED_Init |
1789 | - | 1626 | __prologue_saves__ |
1755 | - | 1627 | uart_putchar |
1628 | _printf_P |
||
1789 | - | 1629 | __epilogue_restores__ |
1630 | __eewr_word |
||
1631 | __eerd_word |
||
1632 | __do_copy_data |
||
1633 | __do_clear_bss |