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