Subversion Repositories FlightCtrl

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
21 user 1
   1               		.file	"menu.c"
2
   2               		.arch atmega644
3
   3               	__SREG__ = 0x3f
4
   4               	__SP_H__ = 0x3e
5
   5               	__SP_L__ = 0x3d
6
   6               	__tmp_reg__ = 0
7
   7               	__zero_reg__ = 1
8
   8               		.global __do_copy_data
9
   9               		.global __do_clear_bss
10
  10               		.text
11
  11               	.global	LcdClear
12
  13               	LcdClear:
13
  14               	/* prologue: frame size=0 */
14
  15               	/* prologue end (size=0) */
15
  16 0000 E0E0      		ldi r30,lo8(DisplayBuff)
16
  17 0002 F0E0      		ldi r31,hi8(DisplayBuff)
17
  18 0004 80E2      		ldi r24,lo8(32)
18
  19               	.L2:
19
  20 0006 8193      		st Z+,r24
20
  21 0008 90E0      		ldi r25,hi8(DisplayBuff+80)
21
  22 000a E030      		cpi r30,lo8(DisplayBuff+80)
22
  23 000c F907      		cpc r31,r25
23
  24 000e 01F4      		brne .L2
24
  25               	/* epilogue: frame size=0 */
25
  26 0010 0895      		ret
26
  27               	/* epilogue end (size=1) */
27
  28               	/* function LcdClear size 9 (8) */
28
  30               	.global	Menu
29
  32               	Menu:
30
  33               	/* prologue: frame size=0 */
31
  34 0012 FF92      		push r15
32
  35 0014 0F93      		push r16
33
  36 0016 1F93      		push r17
34
  37               	/* prologue end (size=3) */
35
  38 0018 8091 0000 		lds r24,RemoteTasten
36
  39 001c 282F      		mov r18,r24
37
  40 001e 3327      		clr r19
38
  41 0020 C901      		movw r24,r18
39
  42 0022 8170      		andi r24,lo8(1)
40
  43 0024 9070      		andi r25,hi8(1)
41
  44 0026 682F      		mov r22,r24
42
  45 0028 8823      		tst r24
43
  46 002a 01F0      		breq .L8
36 chris2798 44
  47 002c 8091 0000 		lds r24,MenuePunkt.1973
21 user 45
  48 0030 8823      		tst r24
46
  49 0032 01F0      		breq .L10
47
  50 0034 8150      		subi r24,lo8(-(-1))
48
  51 0036 00C0      		rjmp .L41
49
  52               	.L10:
36 chris2798 50
  53 0038 8091 0000 		lds r24,MaxMenue.1972
21 user 51
  54               	.L41:
36 chris2798 52
  55 003c 8093 0000 		sts MenuePunkt.1973,r24
21 user 53
  56 0040 E0E0      		ldi r30,lo8(DisplayBuff)
54
  57 0042 F0E0      		ldi r31,hi8(DisplayBuff)
55
  58 0044 80E2      		ldi r24,lo8(32)
56
  59               	.L13:
57
  60 0046 8193      		st Z+,r24
58
  61 0048 90E0      		ldi r25,hi8(DisplayBuff+80)
59
  62 004a E030      		cpi r30,lo8(DisplayBuff+80)
60
  63 004c F907      		cpc r31,r25
61
  64 004e 01F4      		brne .L13
62
  65               	.L8:
63
  66 0050 A901      		movw r20,r18
64
  67 0052 4270      		andi r20,lo8(2)
65
  68 0054 5070      		andi r21,hi8(2)
66
  69 0056 21FF      		sbrs r18,1
67
  70 0058 00C0      		rjmp .L14
36 chris2798 68
  71 005a 8091 0000 		lds r24,MenuePunkt.1973
21 user 69
  72 005e 8F5F      		subi r24,lo8(-(1))
36 chris2798 70
  73 0060 8093 0000 		sts MenuePunkt.1973,r24
21 user 71
  74 0064 E0E0      		ldi r30,lo8(DisplayBuff)
72
  75 0066 F0E0      		ldi r31,hi8(DisplayBuff)
73
  76 0068 80E2      		ldi r24,lo8(32)
74
  77               	.L16:
75
  78 006a 8193      		st Z+,r24
76
  79 006c 90E0      		ldi r25,hi8(DisplayBuff+80)
77
  80 006e E030      		cpi r30,lo8(DisplayBuff+80)
78
  81 0070 F907      		cpc r31,r25
79
  82 0072 01F4      		brne .L16
80
  83               	.L14:
81
  84 0074 6623      		tst r22
82
  85 0076 01F0      		breq .L17
83
  86 0078 452B      		or r20,r21
84
  87 007a 01F0      		breq .L17
36 chris2798 85
  88 007c 1092 0000 		sts MenuePunkt.1973,__zero_reg__
21 user 86
  89               	.L17:
87
  90 0080 81E1      		ldi r24,lo8(17)
88
  91 0082 8093 0000 		sts DispPtr,r24
36 chris2798 89
  92 0086 8091 0000 		lds r24,MenuePunkt.1973
21 user 90
  93 008a 9927      		clr r25
91
  94 008c 9F93      		push r25
92
  95 008e 8F93      		push r24
36 chris2798 93
  96 0090 80E0      		ldi r24,lo8(__c.1974)
94
  97 0092 90E0      		ldi r25,hi8(__c.1974)
21 user 95
  98 0094 9F93      		push r25
96
  99 0096 8F93      		push r24
97
 100 0098 E1E0      		ldi r30,lo8(1)
98
 101 009a FE2E      		mov r15,r30
99
 102 009c FF92      		push r15
100
 103 009e 0E94 0000 		call _printf_P
36 chris2798 101
 104 00a2 0091 0000 		lds r16,MenuePunkt.1973
21 user 102
 105 00a6 0F90      		pop __tmp_reg__
103
 106 00a8 0F90      		pop __tmp_reg__
104
 107 00aa 0F90      		pop __tmp_reg__
105
 108 00ac 0F90      		pop __tmp_reg__
106
 109 00ae 0F90      		pop __tmp_reg__
107
 110 00b0 0530      		cpi r16,lo8(5)
108
 111 00b2 01F4      		brne .+2
109
 112 00b4 00C0      		rjmp .L26
110
 113 00b6 0630      		cpi r16,lo8(6)
111
 114 00b8 00F4      		brsh .L32
112
 115 00ba 0230      		cpi r16,lo8(2)
113
 116 00bc 01F4      		brne .+2
114
 117 00be 00C0      		rjmp .L23
115
 118 00c0 0330      		cpi r16,lo8(3)
116
 119 00c2 00F4      		brsh .L33
117
 120 00c4 0023      		tst r16
118
 121 00c6 01F0      		breq .L21
119
 122 00c8 0130      		cpi r16,lo8(1)
120
 123 00ca 01F0      		breq .+2
121
 124 00cc 00C0      		rjmp .L20
122
 125 00ce 00C0      		rjmp .L22
123
 126               	.L33:
124
 127 00d0 0330      		cpi r16,lo8(3)
125
 128 00d2 01F4      		brne .+2
126
 129 00d4 00C0      		rjmp .L24
127
 130 00d6 0430      		cpi r16,lo8(4)
128
 131 00d8 01F0      		breq .+2
129
 132 00da 00C0      		rjmp .L20
130
 133 00dc 00C0      		rjmp .L25
131
 134               	.L32:
132
 135 00de 0830      		cpi r16,lo8(8)
133
 136 00e0 01F4      		brne .+2
134
 137 00e2 00C0      		rjmp .L29
135
 138 00e4 0930      		cpi r16,lo8(9)
136
 139 00e6 00F4      		brsh .L34
137
 140 00e8 0630      		cpi r16,lo8(6)
138
 141 00ea 01F4      		brne .+2
139
 142 00ec 00C0      		rjmp .L27
140
 143 00ee 0730      		cpi r16,lo8(7)
141
 144 00f0 01F0      		breq .+2
142
 145 00f2 00C0      		rjmp .L20
143
 146 00f4 00C0      		rjmp .L28
144
 147               	.L34:
145
 148 00f6 0930      		cpi r16,lo8(9)
146
 149 00f8 01F4      		brne .+2
147
 150 00fa 00C0      		rjmp .L30
148
 151 00fc 0A30      		cpi r16,lo8(10)
149
 152 00fe 01F0      		breq .+2
150
 153 0100 00C0      		rjmp .L20
151
 154 0102 00C0      		rjmp .L31
152
 155               	.L21:
153
 156 0104 1092 0000 		sts DispPtr,__zero_reg__
36 chris2798 154
 157 0108 80E0      		ldi r24,lo8(__c.1977)
155
 158 010a 90E0      		ldi r25,hi8(__c.1977)
21 user 156
 159 010c 9F93      		push r25
157
 160 010e 8F93      		push r24
158
 161 0110 FF92      		push r15
159
 162 0112 0E94 0000 		call _printf_P
160
 163 0116 84E1      		ldi r24,lo8(20)
161
 164 0118 8093 0000 		sts DispPtr,r24
162
 165 011c 8CE3      		ldi r24,lo8(60)
163
 166 011e 90E0      		ldi r25,hi8(60)
164
 167 0120 9F93      		push r25
165
 168 0122 8F93      		push r24
166
 169 0124 1F92      		push __zero_reg__
167
 170 0126 1F92      		push __zero_reg__
36 chris2798 168
 171 0128 80E0      		ldi r24,lo8(__c.1979)
169
 172 012a 90E0      		ldi r25,hi8(__c.1979)
21 user 170
 173 012c 9F93      		push r25
171
 174 012e 8F93      		push r24
172
 175 0130 FF92      		push r15
173
 176 0132 0E94 0000 		call _printf_P
174
 177 0136 88E2      		ldi r24,lo8(40)
175
 178 0138 8093 0000 		sts DispPtr,r24
176
 179 013c 0E94 0000 		call GetActiveParamSetNumber
177
 180 0140 9927      		clr r25
178
 181 0142 9F93      		push r25
179
 182 0144 8F93      		push r24
36 chris2798 180
 183 0146 80E0      		ldi r24,lo8(__c.1981)
181
 184 0148 90E0      		ldi r25,hi8(__c.1981)
21 user 182
 185 014a 9F93      		push r25
183
 186 014c 8F93      		push r24
184
 187 014e FF92      		push r15
185
 188 0150 0E94 0000 		call _printf_P
186
 189 0154 8CE3      		ldi r24,lo8(60)
187
 190 0156 8093 0000 		sts DispPtr,r24
36 chris2798 188
 191 015a 80E0      		ldi r24,lo8(__c.1983)
189
 192 015c 90E0      		ldi r25,hi8(__c.1983)
21 user 190
 193 015e 9F93      		push r25
191
 194 0160 8F93      		push r24
192
 195 0162 FF92      		push r15
193
 196 0164 0E94 0000 		call _printf_P
194
 197 0168 00C0      		rjmp .L43
195
 198               	.L22:
196
 199 016a 8091 0000 		lds r24,EE_Parameter+8
197
 200 016e 80FF      		sbrs r24,0
198
 201 0170 00C0      		rjmp .L36
199
 202 0172 1092 0000 		sts DispPtr,__zero_reg__
200
 203 0176 8091 0000 		lds r24,HoehenWert
201
 204 017a 9091 0000 		lds r25,(HoehenWert)+1
202
 205 017e 9F93      		push r25
203
 206 0180 8F93      		push r24
36 chris2798 204
 207 0182 80E0      		ldi r24,lo8(__c.1987)
205
 208 0184 90E0      		ldi r25,hi8(__c.1987)
21 user 206
 209 0186 9F93      		push r25
207
 210 0188 8F93      		push r24
208
 211 018a 0F93      		push r16
209
 212 018c 0E94 0000 		call _printf_P
210
 213 0190 84E1      		ldi r24,lo8(20)
211
 214 0192 8093 0000 		sts DispPtr,r24
212
 215 0196 8091 0000 		lds r24,SollHoehe
213
 216 019a 9091 0000 		lds r25,(SollHoehe)+1
214
 217 019e 9F93      		push r25
215
 218 01a0 8F93      		push r24
36 chris2798 216
 219 01a2 80E0      		ldi r24,lo8(__c.1989)
217
 220 01a4 90E0      		ldi r25,hi8(__c.1989)
21 user 218
 221 01a6 9F93      		push r25
219
 222 01a8 8F93      		push r24
220
 223 01aa 0F93      		push r16
221
 224 01ac 0E94 0000 		call _printf_P
222
 225 01b0 88E2      		ldi r24,lo8(40)
223
 226 01b2 8093 0000 		sts DispPtr,r24
224
 227 01b6 8091 0000 		lds r24,MessLuftdruck
225
 228 01ba 9091 0000 		lds r25,(MessLuftdruck)+1
226
 229 01be 9F93      		push r25
227
 230 01c0 8F93      		push r24
36 chris2798 228
 231 01c2 80E0      		ldi r24,lo8(__c.1991)
229
 232 01c4 90E0      		ldi r25,hi8(__c.1991)
21 user 230
 233 01c6 9F93      		push r25
231
 234 01c8 8F93      		push r24
232
 235 01ca 0F93      		push r16
233
 236 01cc 0E94 0000 		call _printf_P
234
 237 01d0 8CE3      		ldi r24,lo8(60)
235
 238 01d2 8093 0000 		sts DispPtr,r24
236
 239 01d6 8091 0000 		lds r24,DruckOffsetSetting
237
 240 01da 9927      		clr r25
238
 241 01dc 9F93      		push r25
239
 242 01de 8F93      		push r24
36 chris2798 240
 243 01e0 80E0      		ldi r24,lo8(__c.1993)
241
 244 01e2 90E0      		ldi r25,hi8(__c.1993)
21 user 242
 245 01e4 9F93      		push r25
243
 246 01e6 8F93      		push r24
244
 247 01e8 0F93      		push r16
245
 248               	.L47:
246
 249 01ea 0E94 0000 		call _printf_P
247
 250               	.L44:
248
 251 01ee 8DB7      		in r24,__SP_L__
249
 252 01f0 9EB7      		in r25,__SP_H__
250
 253 01f2 4496      		adiw r24,20
251
 254               	.L42:
252
 255 01f4 0FB6      		in __tmp_reg__,__SREG__
253
 256 01f6 F894      		cli
254
 257 01f8 9EBF      		out __SP_H__,r25
255
 258 01fa 0FBE      		out __SREG__,__tmp_reg__
256
 259 01fc 8DBF      		out __SP_L__,r24
257
 260 01fe 00C0      		rjmp .L35
258
 261               	.L36:
259
 262 0200 84E1      		ldi r24,lo8(20)
260
 263 0202 8093 0000 		sts DispPtr,r24
36 chris2798 261
 264 0206 80E0      		ldi r24,lo8(__c.1995)
262
 265 0208 90E0      		ldi r25,hi8(__c.1995)
21 user 263
 266 020a 9F93      		push r25
264
 267 020c 8F93      		push r24
265
 268 020e 0F93      		push r16
266
 269 0210 0E94 0000 		call _printf_P
267
 270 0214 88E2      		ldi r24,lo8(40)
268
 271 0216 8093 0000 		sts DispPtr,r24
36 chris2798 269
 272 021a 80E0      		ldi r24,lo8(__c.1997)
270
 273 021c 90E0      		ldi r25,hi8(__c.1997)
21 user 271
 274 021e 9F93      		push r25
272
 275 0220 8F93      		push r24
273
 276 0222 0F93      		push r16
274
 277 0224 0E94 0000 		call _printf_P
275
 278 0228 8DB7      		in r24,__SP_L__
276
 279 022a 9EB7      		in r25,__SP_H__
277
 280 022c 0696      		adiw r24,6
278
 281 022e 00C0      		rjmp .L42
279
 282               	.L23:
280
 283 0230 1092 0000 		sts DispPtr,__zero_reg__
36 chris2798 281
 284 0234 80E0      		ldi r24,lo8(__c.2000)
282
 285 0236 90E0      		ldi r25,hi8(__c.2000)
21 user 283
 286 0238 9F93      		push r25
284
 287 023a 8F93      		push r24
285
 288 023c FF92      		push r15
286
 289 023e 0E94 0000 		call _printf_P
287
 290 0242 84E1      		ldi r24,lo8(20)
288
 291 0244 8093 0000 		sts DispPtr,r24
289
 292 0248 6091 0000 		lds r22,IntegralNick
290
 293 024c 7091 0000 		lds r23,(IntegralNick)+1
291
 294 0250 8091 0000 		lds r24,(IntegralNick)+2
292
 295 0254 9091 0000 		lds r25,(IntegralNick)+3
293
 296 0258 20E0      		ldi r18,lo8(1024)
294
 297 025a 34E0      		ldi r19,hi8(1024)
295
 298 025c 40E0      		ldi r20,hlo8(1024)
296
 299 025e 50E0      		ldi r21,hhi8(1024)
297
 300 0260 0E94 0000 		call __divmodsi4
298
 301 0264 5F93      		push r21
299
 302 0266 4F93      		push r20
300
 303 0268 3F93      		push r19
301
 304 026a 2F93      		push r18
36 chris2798 302
 305 026c 80E0      		ldi r24,lo8(__c.2002)
303
 306 026e 90E0      		ldi r25,hi8(__c.2002)
21 user 304
 307 0270 9F93      		push r25
305
 308 0272 8F93      		push r24
306
 309 0274 FF92      		push r15
307
 310 0276 0E94 0000 		call _printf_P
308
 311 027a 88E2      		ldi r24,lo8(40)
309
 312 027c 8093 0000 		sts DispPtr,r24
310
 313 0280 6091 0000 		lds r22,IntegralRoll
311
 314 0284 7091 0000 		lds r23,(IntegralRoll)+1
312
 315 0288 8091 0000 		lds r24,(IntegralRoll)+2
313
 316 028c 9091 0000 		lds r25,(IntegralRoll)+3
314
 317 0290 20E0      		ldi r18,lo8(1024)
315
 318 0292 34E0      		ldi r19,hi8(1024)
316
 319 0294 40E0      		ldi r20,hlo8(1024)
317
 320 0296 50E0      		ldi r21,hhi8(1024)
318
 321 0298 0E94 0000 		call __divmodsi4
319
 322 029c 5F93      		push r21
320
 323 029e 4F93      		push r20
321
 324 02a0 3F93      		push r19
322
 325 02a2 2F93      		push r18
36 chris2798 323
 326 02a4 80E0      		ldi r24,lo8(__c.2004)
324
 327 02a6 90E0      		ldi r25,hi8(__c.2004)
21 user 325
 328 02a8 9F93      		push r25
326
 329 02aa 8F93      		push r24
327
 330 02ac FF92      		push r15
328
 331 02ae 0E94 0000 		call _printf_P
329
 332 02b2 8CE3      		ldi r24,lo8(60)
330
 333 02b4 8093 0000 		sts DispPtr,r24
331
 334 02b8 8091 0000 		lds r24,KompassValue
332
 335 02bc 9091 0000 		lds r25,(KompassValue)+1
333
 336 02c0 9F93      		push r25
334
 337 02c2 8F93      		push r24
36 chris2798 335
 338 02c4 80E0      		ldi r24,lo8(__c.2006)
336
 339 02c6 90E0      		ldi r25,hi8(__c.2006)
21 user 337
 340 02c8 9F93      		push r25
338
 341 02ca 8F93      		push r24
339
 342 02cc FF92      		push r15
340
 343 02ce 0E94 0000 		call _printf_P
341
 344 02d2 8DB7      		in r24,__SP_L__
342
 345 02d4 9EB7      		in r25,__SP_H__
343
 346 02d6 4696      		adiw r24,22
344
 347 02d8 00C0      		rjmp .L42
345
 348               	.L24:
346
 349 02da 1092 0000 		sts DispPtr,__zero_reg__
347
 350 02de 8091 0000 		lds r24,PPM_in+4
348
 351 02e2 9091 0000 		lds r25,(PPM_in+4)+1
349
 352 02e6 2091 0000 		lds r18,PPM_in+2
350
 353 02ea 3091 0000 		lds r19,(PPM_in+2)+1
351
 354 02ee 9F93      		push r25
352
 355 02f0 8F93      		push r24
353
 356 02f2 3F93      		push r19
354
 357 02f4 2F93      		push r18
36 chris2798 355
 358 02f6 80E0      		ldi r24,lo8(__c.2009)
356
 359 02f8 90E0      		ldi r25,hi8(__c.2009)
21 user 357
 360 02fa 9F93      		push r25
358
 361 02fc 8F93      		push r24
359
 362 02fe FF92      		push r15
360
 363 0300 0E94 0000 		call _printf_P
361
 364 0304 84E1      		ldi r24,lo8(20)
362
 365 0306 8093 0000 		sts DispPtr,r24
363
 366 030a 8091 0000 		lds r24,PPM_in+8
364
 367 030e 9091 0000 		lds r25,(PPM_in+8)+1
365
 368 0312 2091 0000 		lds r18,PPM_in+6
366
 369 0316 3091 0000 		lds r19,(PPM_in+6)+1
367
 370 031a 9F93      		push r25
368
 371 031c 8F93      		push r24
369
 372 031e 3F93      		push r19
370
 373 0320 2F93      		push r18
36 chris2798 371
 374 0322 80E0      		ldi r24,lo8(__c.2011)
372
 375 0324 90E0      		ldi r25,hi8(__c.2011)
21 user 373
 376 0326 9F93      		push r25
374
 377 0328 8F93      		push r24
375
 378 032a FF92      		push r15
376
 379 032c 0E94 0000 		call _printf_P
377
 380 0330 88E2      		ldi r24,lo8(40)
378
 381 0332 8093 0000 		sts DispPtr,r24
379
 382 0336 8091 0000 		lds r24,PPM_in+12
380
 383 033a 9091 0000 		lds r25,(PPM_in+12)+1
381
 384 033e 2091 0000 		lds r18,PPM_in+10
382
 385 0342 3091 0000 		lds r19,(PPM_in+10)+1
383
 386 0346 9F93      		push r25
384
 387 0348 8F93      		push r24
385
 388 034a 3F93      		push r19
386
 389 034c 2F93      		push r18
36 chris2798 387
 390 034e 80E0      		ldi r24,lo8(__c.2013)
388
 391 0350 90E0      		ldi r25,hi8(__c.2013)
21 user 389
 392 0352 9F93      		push r25
390
 393 0354 8F93      		push r24
391
 394 0356 FF92      		push r15
392
 395 0358 0E94 0000 		call _printf_P
393
 396 035c 8CE3      		ldi r24,lo8(60)
394
 397 035e 8093 0000 		sts DispPtr,r24
395
 398 0362 8091 0000 		lds r24,PPM_in+14
396
 399 0366 9091 0000 		lds r25,(PPM_in+14)+1
397
 400 036a 9F93      		push r25
398
 401 036c 8F93      		push r24
36 chris2798 399
 402 036e 80E0      		ldi r24,lo8(__c.2015)
400
 403 0370 90E0      		ldi r25,hi8(__c.2015)
21 user 401
 404 0372 00C0      		rjmp .L45
402
 405               	.L25:
403
 406 0374 1092 0000 		sts DispPtr,__zero_reg__
404
 407 0378 E091 0000 		lds r30,EE_Parameter+1
405
 408 037c FF27      		clr r31
406
 409 037e EE0F      		lsl r30
407
 410 0380 FF1F      		rol r31
408
 411 0382 E050      		subi r30,lo8(-(PPM_in))
409
 412 0384 F040      		sbci r31,hi8(-(PPM_in))
410
 413 0386 2081      		ld r18,Z
411
 414 0388 3181      		ldd r19,Z+1
412
 415 038a E091 0000 		lds r30,EE_Parameter
413
 416 038e FF27      		clr r31
414
 417 0390 EE0F      		lsl r30
415
 418 0392 FF1F      		rol r31
416
 419 0394 E050      		subi r30,lo8(-(PPM_in))
417
 420 0396 F040      		sbci r31,hi8(-(PPM_in))
418
 421 0398 8081      		ld r24,Z
419
 422 039a 9181      		ldd r25,Z+1
420
 423 039c 3F93      		push r19
421
 424 039e 2F93      		push r18
422
 425 03a0 9F93      		push r25
423
 426 03a2 8F93      		push r24
36 chris2798 424
 427 03a4 80E0      		ldi r24,lo8(__c.2018)
425
 428 03a6 90E0      		ldi r25,hi8(__c.2018)
21 user 426
 429 03a8 9F93      		push r25
427
 430 03aa 8F93      		push r24
428
 431 03ac FF92      		push r15
429
 432 03ae 0E94 0000 		call _printf_P
430
 433 03b2 84E1      		ldi r24,lo8(20)
431
 434 03b4 8093 0000 		sts DispPtr,r24
432
 435 03b8 E091 0000 		lds r30,EE_Parameter+3
433
 436 03bc FF27      		clr r31
434
 437 03be EE0F      		lsl r30
435
 438 03c0 FF1F      		rol r31
436
 439 03c2 E050      		subi r30,lo8(-(PPM_in))
437
 440 03c4 F040      		sbci r31,hi8(-(PPM_in))
438
 441 03c6 2081      		ld r18,Z
439
 442 03c8 3181      		ldd r19,Z+1
440
 443 03ca E091 0000 		lds r30,EE_Parameter+2
441
 444 03ce FF27      		clr r31
442
 445 03d0 EE0F      		lsl r30
443
 446 03d2 FF1F      		rol r31
444
 447 03d4 E050      		subi r30,lo8(-(PPM_in))
445
 448 03d6 F040      		sbci r31,hi8(-(PPM_in))
446
 449 03d8 8081      		ld r24,Z
447
 450 03da 9181      		ldd r25,Z+1
448
 451 03dc 3F93      		push r19
449
 452 03de 2F93      		push r18
450
 453 03e0 9F93      		push r25
451
 454 03e2 8F93      		push r24
36 chris2798 452
 455 03e4 80E0      		ldi r24,lo8(__c.2020)
453
 456 03e6 90E0      		ldi r25,hi8(__c.2020)
21 user 454
 457 03e8 9F93      		push r25
455
 458 03ea 8F93      		push r24
456
 459 03ec FF92      		push r15
457
 460 03ee 0E94 0000 		call _printf_P
458
 461 03f2 88E2      		ldi r24,lo8(40)
459
 462 03f4 8093 0000 		sts DispPtr,r24
460
 463 03f8 E091 0000 		lds r30,EE_Parameter+5
461
 464 03fc FF27      		clr r31
462
 465 03fe EE0F      		lsl r30
463
 466 0400 FF1F      		rol r31
464
 467 0402 E050      		subi r30,lo8(-(PPM_in))
465
 468 0404 F040      		sbci r31,hi8(-(PPM_in))
466
 469 0406 2081      		ld r18,Z
467
 470 0408 3181      		ldd r19,Z+1
468
 471 040a E091 0000 		lds r30,EE_Parameter+4
469
 472 040e FF27      		clr r31
470
 473 0410 EE0F      		lsl r30
471
 474 0412 FF1F      		rol r31
472
 475 0414 E050      		subi r30,lo8(-(PPM_in))
473
 476 0416 F040      		sbci r31,hi8(-(PPM_in))
474
 477 0418 8081      		ld r24,Z
475
 478 041a 9181      		ldd r25,Z+1
476
 479 041c 3F93      		push r19
477
 480 041e 2F93      		push r18
478
 481 0420 9F93      		push r25
479
 482 0422 8F93      		push r24
36 chris2798 480
 483 0424 80E0      		ldi r24,lo8(__c.2022)
481
 484 0426 90E0      		ldi r25,hi8(__c.2022)
21 user 482
 485 0428 9F93      		push r25
483
 486 042a 8F93      		push r24
484
 487 042c FF92      		push r15
485
 488 042e 0E94 0000 		call _printf_P
486
 489 0432 8CE3      		ldi r24,lo8(60)
487
 490 0434 8093 0000 		sts DispPtr,r24
488
 491 0438 E091 0000 		lds r30,EE_Parameter+6
489
 492 043c FF27      		clr r31
490
 493 043e EE0F      		lsl r30
491
 494 0440 FF1F      		rol r31
492
 495 0442 E050      		subi r30,lo8(-(PPM_in))
493
 496 0444 F040      		sbci r31,hi8(-(PPM_in))
494
 497 0446 8081      		ld r24,Z
495
 498 0448 9181      		ldd r25,Z+1
496
 499 044a 9F93      		push r25
497
 500 044c 8F93      		push r24
36 chris2798 498
 501 044e 80E0      		ldi r24,lo8(__c.2024)
499
 502 0450 90E0      		ldi r25,hi8(__c.2024)
21 user 500
 503               	.L45:
501
 504 0452 9F93      		push r25
502
 505 0454 8F93      		push r24
503
 506 0456 FF92      		push r15
504
 507 0458 0E94 0000 		call _printf_P
505
 508 045c 8DB7      		in r24,__SP_L__
506
 509 045e 9EB7      		in r25,__SP_H__
507
 510 0460 4A96      		adiw r24,26
508
 511 0462 00C0      		rjmp .L42
509
 512               	.L26:
510
 513 0464 1092 0000 		sts DispPtr,__zero_reg__
36 chris2798 511
 514 0468 80E0      		ldi r24,lo8(__c.2027)
512
 515 046a 90E0      		ldi r25,hi8(__c.2027)
21 user 513
 516 046c 9F93      		push r25
514
 517 046e 8F93      		push r24
515
 518 0470 FF92      		push r15
516
 519 0472 0E94 0000 		call _printf_P
517
 520 0476 84E1      		ldi r24,lo8(20)
518
 521 0478 8093 0000 		sts DispPtr,r24
519
 522 047c 2091 0000 		lds r18,AdNeutralNick
520
 523 0480 3091 0000 		lds r19,(AdNeutralNick)+1
521
 524 0484 8091 0000 		lds r24,AccumulateNick
522
 525 0488 9091 0000 		lds r25,(AccumulateNick)+1
523
 526 048c 6091 0000 		lds r22,MessanzahlNick
524
 527 0490 3F93      		push r19
525
 528 0492 2F93      		push r18
526
 529 0494 7727      		clr r23
527
 530 0496 0E94 0000 		call __divmodhi4
528
 531 049a 7F93      		push r23
529
 532 049c 6F93      		push r22
36 chris2798 530
 533 049e 80E0      		ldi r24,lo8(__c.2029)
531
 534 04a0 90E0      		ldi r25,hi8(__c.2029)
21 user 532
 535 04a2 9F93      		push r25
533
 536 04a4 8F93      		push r24
534
 537 04a6 FF92      		push r15
535
 538 04a8 0E94 0000 		call _printf_P
536
 539 04ac 88E2      		ldi r24,lo8(40)
537
 540 04ae 8093 0000 		sts DispPtr,r24
538
 541 04b2 2091 0000 		lds r18,AdNeutralRoll
539
 542 04b6 3091 0000 		lds r19,(AdNeutralRoll)+1
540
 543 04ba 8091 0000 		lds r24,AccumulateRoll
541
 544 04be 9091 0000 		lds r25,(AccumulateRoll)+1
542
 545 04c2 6091 0000 		lds r22,MessanzahlRoll
543
 546 04c6 3F93      		push r19
544
 547 04c8 2F93      		push r18
545
 548 04ca 7727      		clr r23
546
 549 04cc 0E94 0000 		call __divmodhi4
547
 550 04d0 7F93      		push r23
548
 551 04d2 6F93      		push r22
36 chris2798 549
 552 04d4 80E0      		ldi r24,lo8(__c.2031)
550
 553 04d6 90E0      		ldi r25,hi8(__c.2031)
21 user 551
 554 04d8 9F93      		push r25
552
 555 04da 8F93      		push r24
553
 556 04dc FF92      		push r15
554
 557 04de 0E94 0000 		call _printf_P
555
 558 04e2 8CE3      		ldi r24,lo8(60)
556
 559 04e4 8093 0000 		sts DispPtr,r24
557
 560 04e8 2091 0000 		lds r18,AdNeutralGier
558
 561 04ec 3091 0000 		lds r19,(AdNeutralGier)+1
559
 562 04f0 8091 0000 		lds r24,AccumulateGier
560
 563 04f4 9091 0000 		lds r25,(AccumulateGier)+1
561
 564 04f8 6091 0000 		lds r22,MessanzahlGier
562
 565 04fc 3F93      		push r19
563
 566 04fe 2F93      		push r18
564
 567 0500 7727      		clr r23
565
 568 0502 0E94 0000 		call __divmodhi4
566
 569 0506 7F93      		push r23
567
 570 0508 6F93      		push r22
36 chris2798 568
 571 050a 80E0      		ldi r24,lo8(__c.2033)
569
 572 050c 90E0      		ldi r25,hi8(__c.2033)
21 user 570
 573 050e 00C0      		rjmp .L46
571
 574               	.L27:
572
 575 0510 1092 0000 		sts DispPtr,__zero_reg__
36 chris2798 573
 576 0514 80E0      		ldi r24,lo8(__c.2036)
574
 577 0516 90E0      		ldi r25,hi8(__c.2036)
21 user 575
 578 0518 9F93      		push r25
576
 579 051a 8F93      		push r24
577
 580 051c FF92      		push r15
578
 581 051e 0E94 0000 		call _printf_P
579
 582 0522 84E1      		ldi r24,lo8(20)
580
 583 0524 8093 0000 		sts DispPtr,r24
581
 584 0528 2091 0000 		lds r18,NeutralAccX
582
 585 052c 3091 0000 		lds r19,(NeutralAccX)+1
583
 586 0530 8091 0000 		lds r24,accumulate_AccNick
584
 587 0534 9091 0000 		lds r25,(accumulate_AccNick)+1
585
 588 0538 6091 0000 		lds r22,messanzahl_AccNick
586
 589 053c 3F93      		push r19
587
 590 053e 2F93      		push r18
588
 591 0540 7727      		clr r23
589
 592 0542 0E94 0000 		call __divmodhi4
590
 593 0546 7F93      		push r23
591
 594 0548 6F93      		push r22
36 chris2798 592
 595 054a 80E0      		ldi r24,lo8(__c.2038)
593
 596 054c 90E0      		ldi r25,hi8(__c.2038)
21 user 594
 597 054e 9F93      		push r25
595
 598 0550 8F93      		push r24
596
 599 0552 FF92      		push r15
597
 600 0554 0E94 0000 		call _printf_P
598
 601 0558 88E2      		ldi r24,lo8(40)
599
 602 055a 8093 0000 		sts DispPtr,r24
600
 603 055e 2091 0000 		lds r18,NeutralAccY
601
 604 0562 3091 0000 		lds r19,(NeutralAccY)+1
602
 605 0566 8091 0000 		lds r24,accumulate_AccRoll
603
 606 056a 9091 0000 		lds r25,(accumulate_AccRoll)+1
604
 607 056e 6091 0000 		lds r22,messanzahl_AccRoll
605
 608 0572 3F93      		push r19
606
 609 0574 2F93      		push r18
607
 610 0576 7727      		clr r23
608
 611 0578 0E94 0000 		call __divmodhi4
609
 612 057c 7F93      		push r23
610
 613 057e 6F93      		push r22
36 chris2798 611
 614 0580 80E0      		ldi r24,lo8(__c.2040)
612
 615 0582 90E0      		ldi r25,hi8(__c.2040)
21 user 613
 616 0584 9F93      		push r25
614
 617 0586 8F93      		push r24
615
 618 0588 FF92      		push r15
616
 619 058a 0E94 0000 		call _printf_P
617
 620 058e 8CE3      		ldi r24,lo8(60)
618
 621 0590 8093 0000 		sts DispPtr,r24
619
 622 0594 6091 0000 		lds r22,NeutralAccZ
620
 623 0598 7091 0000 		lds r23,(NeutralAccZ)+1
621
 624 059c 8091 0000 		lds r24,(NeutralAccZ)+2
622
 625 05a0 9091 0000 		lds r25,(NeutralAccZ)+3
623
 626 05a4 0091 0000 		lds r16,Aktuell_az
624
 627 05a8 1091 0000 		lds r17,(Aktuell_az)+1
625
 628 05ac 0E94 0000 		call __fixsfsi
626
 629 05b0 7F93      		push r23
627
 630 05b2 6F93      		push r22
628
 631 05b4 1F93      		push r17
629
 632 05b6 0F93      		push r16
36 chris2798 630
 633 05b8 80E0      		ldi r24,lo8(__c.2042)
631
 634 05ba 90E0      		ldi r25,hi8(__c.2042)
21 user 632
 635               	.L46:
633
 636 05bc 9F93      		push r25
634
 637 05be 8F93      		push r24
635
 638 05c0 FF92      		push r15
636
 639 05c2 0E94 0000 		call _printf_P
637
 640 05c6 8DB7      		in r24,__SP_L__
638
 641 05c8 9EB7      		in r25,__SP_H__
639
 642 05ca 4896      		adiw r24,24
640
 643 05cc 00C0      		rjmp .L42
641
 644               	.L28:
642
 645 05ce 84E1      		ldi r24,lo8(20)
643
 646 05d0 8093 0000 		sts DispPtr,r24
644
 647 05d4 8091 0000 		lds r24,UBat
645
 648 05d8 9091 0000 		lds r25,(UBat)+1
646
 649 05dc 9F93      		push r25
647
 650 05de 8F93      		push r24
36 chris2798 648
 651 05e0 80E0      		ldi r24,lo8(__c.2045)
649
 652 05e2 90E0      		ldi r25,hi8(__c.2045)
21 user 650
 653 05e4 9F93      		push r25
651
 654 05e6 8F93      		push r24
652
 655 05e8 FF92      		push r15
653
 656 05ea 0E94 0000 		call _printf_P
654
 657 05ee 88E2      		ldi r24,lo8(40)
655
 658 05f0 8093 0000 		sts DispPtr,r24
656
 659 05f4 8091 0000 		lds r24,SenderOkay
657
 660 05f8 9927      		clr r25
658
 661 05fa 9F93      		push r25
659
 662 05fc 8F93      		push r24
36 chris2798 660
 663 05fe 80E0      		ldi r24,lo8(__c.2047)
661
 664 0600 90E0      		ldi r25,hi8(__c.2047)
21 user 662
 665 0602 9F93      		push r25
663
 666 0604 8F93      		push r24
664
 667 0606 FF92      		push r15
665
 668 0608 0E94 0000 		call _printf_P
666
 669 060c 8DB7      		in r24,__SP_L__
667
 670 060e 9EB7      		in r25,__SP_H__
668
 671 0610 0A96      		adiw r24,10
669
 672 0612 00C0      		rjmp .L42
670
 673               	.L29:
671
 674 0614 1092 0000 		sts DispPtr,__zero_reg__
36 chris2798 672
 675 0618 80E0      		ldi r24,lo8(__c.2050)
673
 676 061a 90E0      		ldi r25,hi8(__c.2050)
21 user 674
 677 061c 9F93      		push r25
675
 678 061e 8F93      		push r24
676
 679 0620 FF92      		push r15
677
 680 0622 0E94 0000 		call _printf_P
678
 681 0626 84E1      		ldi r24,lo8(20)
679
 682 0628 8093 0000 		sts DispPtr,r24
680
 683 062c 8091 0000 		lds r24,KompassRichtung
681
 684 0630 9091 0000 		lds r25,(KompassRichtung)+1
682
 685 0634 9F93      		push r25
683
 686 0636 8F93      		push r24
36 chris2798 684
 687 0638 80E0      		ldi r24,lo8(__c.2052)
685
 688 063a 90E0      		ldi r25,hi8(__c.2052)
21 user 686
 689 063c 9F93      		push r25
687
 690 063e 8F93      		push r24
688
 691 0640 FF92      		push r15
689
 692 0642 0E94 0000 		call _printf_P
690
 693 0646 88E2      		ldi r24,lo8(40)
691
 694 0648 8093 0000 		sts DispPtr,r24
692
 695 064c 8091 0000 		lds r24,KompassValue
693
 696 0650 9091 0000 		lds r25,(KompassValue)+1
694
 697 0654 9F93      		push r25
695
 698 0656 8F93      		push r24
36 chris2798 696
 699 0658 80E0      		ldi r24,lo8(__c.2054)
697
 700 065a 90E0      		ldi r25,hi8(__c.2054)
21 user 698
 701 065c 9F93      		push r25
699
 702 065e 8F93      		push r24
700
 703 0660 FF92      		push r15
701
 704 0662 0E94 0000 		call _printf_P
702
 705 0666 8CE3      		ldi r24,lo8(60)
703
 706 0668 8093 0000 		sts DispPtr,r24
704
 707 066c 8091 0000 		lds r24,KompassStartwert
705
 708 0670 9091 0000 		lds r25,(KompassStartwert)+1
706
 709 0674 9F93      		push r25
707
 710 0676 8F93      		push r24
36 chris2798 708
 711 0678 80E0      		ldi r24,lo8(__c.2056)
709
 712 067a 90E0      		ldi r25,hi8(__c.2056)
21 user 710
 713 067c 9F93      		push r25
711
 714 067e 8F93      		push r24
712
 715 0680 FF92      		push r15
713
 716 0682 0E94 0000 		call _printf_P
714
 717               	.L43:
715
 718 0686 8DB7      		in r24,__SP_L__
716
 719 0688 9EB7      		in r25,__SP_H__
717
 720 068a 4296      		adiw r24,18
718
 721 068c 00C0      		rjmp .L42
719
 722               	.L30:
720
 723 068e 1092 0000 		sts DispPtr,__zero_reg__
721
 724 0692 8091 0000 		lds r24,Poti1
722
 725 0696 9091 0000 		lds r25,(Poti1)+1
723
 726 069a 9F93      		push r25
724
 727 069c 8F93      		push r24
36 chris2798 725
 728 069e 80E0      		ldi r24,lo8(__c.2059)
726
 729 06a0 90E0      		ldi r25,hi8(__c.2059)
21 user 727
 730 06a2 9F93      		push r25
728
 731 06a4 8F93      		push r24
729
 732 06a6 FF92      		push r15
730
 733 06a8 0E94 0000 		call _printf_P
731
 734 06ac 84E1      		ldi r24,lo8(20)
732
 735 06ae 8093 0000 		sts DispPtr,r24
733
 736 06b2 8091 0000 		lds r24,Poti2
734
 737 06b6 9091 0000 		lds r25,(Poti2)+1
735
 738 06ba 9F93      		push r25
736
 739 06bc 8F93      		push r24
36 chris2798 737
 740 06be 80E0      		ldi r24,lo8(__c.2061)
738
 741 06c0 90E0      		ldi r25,hi8(__c.2061)
21 user 739
 742 06c2 9F93      		push r25
740
 743 06c4 8F93      		push r24
741
 744 06c6 FF92      		push r15
742
 745 06c8 0E94 0000 		call _printf_P
743
 746 06cc 88E2      		ldi r24,lo8(40)
744
 747 06ce 8093 0000 		sts DispPtr,r24
745
 748 06d2 8091 0000 		lds r24,Poti3
746
 749 06d6 9091 0000 		lds r25,(Poti3)+1
747
 750 06da 9F93      		push r25
748
 751 06dc 8F93      		push r24
36 chris2798 749
 752 06de 80E0      		ldi r24,lo8(__c.2063)
750
 753 06e0 90E0      		ldi r25,hi8(__c.2063)
21 user 751
 754 06e2 9F93      		push r25
752
 755 06e4 8F93      		push r24
753
 756 06e6 FF92      		push r15
754
 757 06e8 0E94 0000 		call _printf_P
755
 758 06ec 8CE3      		ldi r24,lo8(60)
756
 759 06ee 8093 0000 		sts DispPtr,r24
757
 760 06f2 8091 0000 		lds r24,Poti4
758
 761 06f6 9091 0000 		lds r25,(Poti4)+1
759
 762 06fa 9F93      		push r25
760
 763 06fc 8F93      		push r24
36 chris2798 761
 764 06fe 80E0      		ldi r24,lo8(__c.2065)
762
 765 0700 90E0      		ldi r25,hi8(__c.2065)
21 user 763
 766 0702 9F93      		push r25
764
 767 0704 8F93      		push r24
765
 768 0706 FF92      		push r15
766
 769 0708 00C0      		rjmp .L47
767
 770               	.L31:
768
 771 070a 1092 0000 		sts DispPtr,__zero_reg__
36 chris2798 769
 772 070e 80E0      		ldi r24,lo8(__c.2068)
770
 773 0710 90E0      		ldi r25,hi8(__c.2068)
21 user 771
 774 0712 9F93      		push r25
772
 775 0714 8F93      		push r24
773
 776 0716 FF92      		push r15
774
 777 0718 0E94 0000 		call _printf_P
775
 778 071c 84E1      		ldi r24,lo8(20)
776
 779 071e 8093 0000 		sts DispPtr,r24
777
 780 0722 8091 0000 		lds r24,Parameter_ServoNickControl
778
 781 0726 9927      		clr r25
779
 782 0728 9F93      		push r25
780
 783 072a 8F93      		push r24
36 chris2798 781
 784 072c 80E0      		ldi r24,lo8(__c.2070)
782
 785 072e 90E0      		ldi r25,hi8(__c.2070)
21 user 783
 786 0730 9F93      		push r25
784
 787 0732 8F93      		push r24
785
 788 0734 FF92      		push r15
786
 789 0736 0E94 0000 		call _printf_P
787
 790 073a 88E2      		ldi r24,lo8(40)
788
 791 073c 8093 0000 		sts DispPtr,r24
789
 792 0740 8091 0000 		lds r24,ServoValue
790
 793 0744 9091 0000 		lds r25,(ServoValue)+1
791
 794 0748 9F93      		push r25
792
 795 074a 8F93      		push r24
36 chris2798 793
 796 074c 80E0      		ldi r24,lo8(__c.2072)
794
 797 074e 90E0      		ldi r25,hi8(__c.2072)
21 user 795
 798 0750 9F93      		push r25
796
 799 0752 8F93      		push r24
797
 800 0754 FF92      		push r15
798
 801 0756 0E94 0000 		call _printf_P
799
 802 075a 8CE3      		ldi r24,lo8(60)
800
 803 075c 8093 0000 		sts DispPtr,r24
801
 804 0760 8091 0000 		lds r24,EE_Parameter+36
802
 805 0764 9927      		clr r25
803
 806 0766 9F93      		push r25
804
 807 0768 8F93      		push r24
805
 808 076a 8091 0000 		lds r24,EE_Parameter+35
806
 809 076e 9927      		clr r25
807
 810 0770 9F93      		push r25
808
 811 0772 8F93      		push r24
36 chris2798 809
 812 0774 80E0      		ldi r24,lo8(__c.2074)
810
 813 0776 90E0      		ldi r25,hi8(__c.2074)
21 user 811
 814 0778 9F93      		push r25
812
 815 077a 8F93      		push r24
813
 816 077c FF92      		push r15
814
 817 077e 0E94 0000 		call _printf_P
815
 818 0782 00C0      		rjmp .L44
816
 819               	.L20:
817
 820 0784 0150      		subi r16,lo8(-(-1))
36 chris2798 818
 821 0786 0093 0000 		sts MaxMenue.1972,r16
819
 822 078a 1092 0000 		sts MenuePunkt.1973,__zero_reg__
21 user 820
 823               	.L35:
821
 824 078e 1092 0000 		sts RemoteTasten,__zero_reg__
822
 825               	/* epilogue: frame size=0 */
823
 826 0792 1F91      		pop r17
824
 827 0794 0F91      		pop r16
825
 828 0796 FF90      		pop r15
826
 829 0798 0895      		ret
827
 830               	/* epilogue end (size=4) */
828
 831               	/* function Menu size 964 (957) */
829
 833               	.global	TestInt
830
 834               	.global	TestInt
831
 835               		.section .bss
832
 838               	TestInt:
833
 839 0000 0000      		.skip 2,0
834
 840               	.global	Array
835
 841               		.data
836
 844               	Array:
837
 845 0000 01        		.byte	1
838
 846 0001 02        		.byte	2
839
 847 0002 03        		.byte	3
840
 848 0003 04        		.byte	4
841
 849 0004 05        		.byte	5
842
 850 0005 06        		.byte	6
843
 851 0006 07        		.byte	7
844
 852 0007 08        		.byte	8
845
 853 0008 09        		.byte	9
846
 854 0009 0A        		.byte	10
847
 855               	.global	DisplayBuff
848
 858               	DisplayBuff:
849
 859 000a 4861 6C6C 		.string	"Hallo Welt"
850
 859      6F20 5765
851
 859      6C74 00
852
 860 0015 0000 0000 		.skip 69,0
853
 860      0000 0000
854
 860      0000 0000
855
 860      0000 0000
856
 860      0000 0000
857
 861               	.global	DispPtr
858
 862               	.global	DispPtr
859
 863               		.section .bss
860
 866               	DispPtr:
861
 867 0002 00        		.skip 1,0
862
 868               	.global	RemoteTasten
863
 869               	.global	RemoteTasten
864
 872               	RemoteTasten:
865
 873 0003 00        		.skip 1,0
866
 874               		.section	.progmem.data,"a",@progbits
36 chris2798 867
 877               	__c.2074:
21 user 868
 878 0000 5261 6E67 		.string	"Range:%3i-%3i"
869
 878      653A 2533
870
 878      692D 2533
871
 878      6900
36 chris2798 872
 881               	__c.2072:
21 user 873
 882 000e 5374 656C 		.string	"Stellung: %3i"
874
 882      6C75 6E67
875
 882      3A20 2533
876
 882      6900
36 chris2798 877
 885               	__c.2070:
21 user 878
 886 001c 5365 7470 		.string	"Setpoint  %3i"
879
 886      6F69 6E74
880
 886      2020 2533
881
 886      6900
36 chris2798 882
 889               	__c.2068:
21 user 883
 890 002a 5365 7276 		.string	"Servo  "
884
 890      6F20 2000
36 chris2798 885
 893               	__c.2065:
21 user 886
 894 0032 506F 7469 		.string	"Poti4:  %3i"
887
 894      343A 2020
888
 894      2533 6900
36 chris2798 889
 897               	__c.2063:
21 user 890
 898 003e 506F 7469 		.string	"Poti3:  %3i"
891
 898      333A 2020
892
 898      2533 6900
36 chris2798 893
 901               	__c.2061:
21 user 894
 902 004a 506F 7469 		.string	"Poti2:  %3i"
895
 902      323A 2020
896
 902      2533 6900
36 chris2798 897
 905               	__c.2059:
21 user 898
 906 0056 506F 7469 		.string	"Poti1:  %3i"
899
 906      313A 2020
900
 906      2533 6900
36 chris2798 901
 909               	__c.2056:
21 user 902
 910 0062 5374 6172 		.string	"Start:     %5i"
903
 910      743A 2020
904
 910      2020 2025
905
 910      3569 00
36 chris2798 906
 913               	__c.2054:
21 user 907
 914 0071 4D65 7373 		.string	"Messwert:  %5i"
908
 914      7765 7274
909
 914      3A20 2025
910
 914      3569 00
36 chris2798 911
 917               	__c.2052:
21 user 912
 918 0080 5269 6368 		.string	"Richtung:  %5i"
913
 918      7475 6E67
914
 918      3A20 2025
915
 918      3569 00
36 chris2798 916
 921               	__c.2050:
21 user 917
 922 008f 4B6F 6D70 		.string	"Kompass       "
918
 922      6173 7320
919
 922      2020 2020
920
 922      2020 00
36 chris2798 921
 925               	__c.2047:
21 user 922
 926 009e 456D 7066 		.string	"Empf.Pegel:%5i"
923
 926      2E50 6567
924
 926      656C 3A25
925
 926      3569 00
36 chris2798 926
 929               	__c.2045:
21 user 927
 930 00ad 5370 616E 		.string	"Spannung:  %5i"
928
 930      6E75 6E67
929
 930      3A20 2025
930
 930      3569 00
36 chris2798 931
 933               	__c.2042:
21 user 932
 934 00bc 486F 6368 		.string	"Hoch %4i (%3i)"
933
 934      2025 3469
934
 934      2028 2533
935
 934      6929 00
36 chris2798 936
 937               	__c.2040:
21 user 937
 938 00cb 526F 6C6C 		.string	"Roll %4i (%3i)"
938
 938      2025 3469
939
 938      2028 2533
940
 938      6929 00
36 chris2798 941
 941               	__c.2038:
21 user 942
 942 00da 4E69 636B 		.string	"Nick %4i (%3i)"
943
 942      2025 3469
944
 942      2028 2533
945
 942      6929 00
36 chris2798 946
 945               	__c.2036:
21 user 947
 946 00e9 4143 4320 		.string	"ACC - Sensor"
948
 946      2D20 5365
949
 946      6E73 6F72
950
 946      00
36 chris2798 951
 949               	__c.2033:
21 user 952
 950 00f6 4769 6572 		.string	"Gier %4i (%3i)"
953
 950      2025 3469
954
 950      2028 2533
955
 950      6929 00
36 chris2798 956
 953               	__c.2031:
21 user 957
 954 0105 526F 6C6C 		.string	"Roll %4i (%3i)"
958
 954      2025 3469
959
 954      2028 2533
960
 954      6929 00
36 chris2798 961
 957               	__c.2029:
21 user 962
 958 0114 4E69 636B 		.string	"Nick %4i (%3i)"
963
 958      2025 3469
964
 958      2028 2533
965
 958      6929 00
36 chris2798 966
 961               	__c.2027:
21 user 967
 962 0123 4779 726F 		.string	"Gyro - Sensor"
968
 962      202D 2053
969
 962      656E 736F
970
 962      7200
36 chris2798 971
 965               	__c.2024:
21 user 972
 966 0131 5033 3A25 		.string	"P3:%4i  Kan\344le "
973
 966      3469 2020
974
 966      4B61 6EE4
975
 966      6C65 2000
36 chris2798 976
 969               	__c.2022:
21 user 977
 970 0141 5031 3A25 		.string	"P1:%4i  P2:%4i "
978
 970      3469 2020
979
 970      5032 3A25
980
 970      3469 2000
36 chris2798 981
 973               	__c.2020:
21 user 982
 974 0151 4773 3A25 		.string	"Gs:%4i  Gi:%4i "
983
 974      3469 2020
984
 974      4769 3A25
985
 974      3469 2000
36 chris2798 986
 977               	__c.2018:
21 user 987
 978 0161 4E69 3A25 		.string	"Ni:%4i  Ro:%4i "
988
 978      3469 2020
989
 978      526F 3A25
990
 978      3469 2000
36 chris2798 991
 981               	__c.2015:
21 user 992
 982 0171 4B37 3A25 		.string	"K7:%4i  Kan\344le "
993
 982      3469 2020
994
 982      4B61 6EE4
995
 982      6C65 2000
36 chris2798 996
 985               	__c.2013:
21 user 997
 986 0181 4B35 3A25 		.string	"K5:%4i  K6:%4i "
998
 986      3469 2020
999
 986      4B36 3A25
1000
 986      3469 2000
36 chris2798 1001
 989               	__c.2011:
21 user 1002
 990 0191 4B33 3A25 		.string	"K3:%4i  K4:%4i "
1003
 990      3469 2020
1004
 990      4B34 3A25
1005
 990      3469 2000
36 chris2798 1006
 993               	__c.2009:
21 user 1007
 994 01a1 4B31 3A25 		.string	"K1:%4i  K2:%4i "
1008
 994      3469 2020
1009
 994      4B32 3A25
1010
 994      3469 2000
36 chris2798 1011
 997               	__c.2006:
21 user 1012
 998 01b1 4B6F 6D70 		.string	"Kompass:   %5i"
1013
 998      6173 733A
1014
 998      2020 2025
1015
 998      3569 00
36 chris2798 1016
 1001               	__c.2004:
21 user 1017
 1002 01c0 526F 6C6C 		.string	"Roll:      %5i"
1018
 1002      3A20 2020
1019
 1002      2020 2025
1020
 1002      3569 00
36 chris2798 1021
 1005               	__c.2002:
21 user 1022
 1006 01cf 4E69 636B 		.string	"Nick:      %5i"
1023
 1006      3A20 2020
1024
 1006      2020 2025
1025
 1006      3569 00
36 chris2798 1026
 1009               	__c.2000:
21 user 1027
 1010 01de 616B 742E 		.string	"akt. Lage"
1028
 1010      204C 6167
1029
 1010      6500
36 chris2798 1030
 1013               	__c.1997:
21 user 1031
 1014 01e8 48F6 6865 		.string	"H\366henregelung"
1032
 1014      6E72 6567
1033
 1014      656C 756E
1034
 1014      6700
36 chris2798 1035
 1017               	__c.1995:
21 user 1036
 1018 01f6 4B65 696E 		.string	"Keine "
1037
 1018      6520 00
36 chris2798 1038
 1021               	__c.1993:
21 user 1039
 1022 01fd 4F66 6620 		.string	"Off      : %5i"
1040
 1022      2020 2020
1041
 1022      203A 2025
1042
 1022      3569 00
36 chris2798 1043
 1025               	__c.1991:
21 user 1044
 1026 020c 4C75 6674 		.string	"Luftdruck: %5i"
1045
 1026      6472 7563
1046
 1026      6B3A 2025
1047
 1026      3569 00
36 chris2798 1048
 1029               	__c.1989:
21 user 1049
 1030 021b 536F 6C6C 		.string	"SollHoehe: %5i"
1050
 1030      486F 6568
1051
 1030      653A 2025
1052
 1030      3569 00
36 chris2798 1053
 1033               	__c.1987:
21 user 1054
 1034 022a 486F 6568 		.string	"Hoehe:     %5i"
1055
 1034      653A 2020
1056
 1034      2020 2025
1057
 1034      3569 00
36 chris2798 1058
 1037               	__c.1983:
21 user 1059
 1038 0239 2863 2920 		.string	"(c) Holger Buss"
1060
 1038      486F 6C67
1061
 1038      6572 2042
1062
 1038      7573 7300
36 chris2798 1063
 1041               	__c.1981:
21 user 1064
 1042 0249 5365 7474 		.string	"Setting: %d "
1065
 1042      696E 673A
1066
 1042      2025 6420
1067
 1042      00
36 chris2798 1068
 1045               	__c.1979:
21 user 1069
 1046 0256 5625 642E 		.string	"V%d.%d"
1070
 1046      2564 00
36 chris2798 1071
 1049               	__c.1977:
21 user 1072
 1050 025d 2B2B 204D 		.string	"++ MikroKopter ++"
1073
 1050      696B 726F
1074
 1050      4B6F 7074
1075
 1050      6572 202B
1076
 1050      2B00
36 chris2798 1077
 1053               	__c.1974:
21 user 1078
 1054 026f 5B25 695D 		.string	"[%i]"
1079
 1054      00
36 chris2798 1080
 1055               		.lcomm MenuePunkt.1973,1
21 user 1081
 1056               		.data
36 chris2798 1082
 1059               	MaxMenue.1972:
21 user 1083
 1060 005a 0A        		.byte	10
1084
 1061               		.comm DiffNick,2,1
1085
 1062               		.comm DiffRoll,2,1
1086
 1063               		.comm SenderOkay,1,1
1087
 1064               		.comm CosinusNickWinkel,1,1
1088
 1065               		.comm CosinusRollWinkel,1,1
1089
 1066               		.comm durchschnitt_northing,4,1
1090
 1067               		.comm durchschnitt_easting,4,1
1091
 1068               		.comm gps_p,2,1
1092
 1069               		.comm gps_d,2,1
1093
 1070               		.comm skal,2,1
36 chris2798 1094
 1071               		.comm gps_gethome,2,1
1095
 1072               		.comm Timeout,1,1
1096
 1073               		.comm IntegralNick,4,1
1097
 1074               		.comm IntegralNick2,4,1
1098
 1075               		.comm IntegralRoll,4,1
1099
 1076               		.comm IntegralRoll2,4,1
1100
 1077               		.comm Mess_IntegralNick,4,1
1101
 1078               		.comm Mess_IntegralNick2,4,1
1102
 1079               		.comm Mess_IntegralRoll,4,1
1103
 1080               		.comm Mess_IntegralRoll2,4,1
1104
 1081               		.comm Integral_Gier,4,1
1105
 1082               		.comm Mess_Integral_Gier,4,1
1106
 1083               		.comm h,1,1
1107
 1084               		.comm m,1,1
1108
 1085               		.comm s,1,1
1109
 1086               		.comm Motor_Vorne,1,1
1110
 1087               		.comm Motor_Hinten,1,1
1111
 1088               		.comm Motor_Rechts,1,1
1112
 1089               		.comm Motor_Links,1,1
1113
 1090               		.comm Count,1,1
1114
 1091               		.comm MotorWert,5,1
1115
 1092               		.comm StickNick,2,1
1116
 1093               		.comm StickRoll,2,1
1117
 1094               		.comm StickGier,2,1
1118
 1095               		.comm MotorenEin,1,1
1119
 1096               	/* File "menu.c": code  973 = 0x03cd ( 965), prologues   3, epilogues   5 */
21 user 1120
DEFINED SYMBOLS
1121
                            *ABS*:00000000 menu.c
36 chris2798 1122
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:3      *ABS*:0000003f __SREG__
1123
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:4      *ABS*:0000003e __SP_H__
1124
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:5      *ABS*:0000003d __SP_L__
1125
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:6      *ABS*:00000000 __tmp_reg__
1126
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:7      *ABS*:00000001 __zero_reg__
1127
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:13     .text:00000000 LcdClear
1128
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:858    .data:0000000a DisplayBuff
1129
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:32     .text:00000012 Menu
1130
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:872    .bss:00000003 RemoteTasten
1131
                             .bss:00000004 MenuePunkt.1973
1132
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:1059   .data:0000005a MaxMenue.1972
1133
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:866    .bss:00000002 DispPtr
1134
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:1053   .progmem.data:0000026f __c.1974
1135
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:1049   .progmem.data:0000025d __c.1977
1136
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:1045   .progmem.data:00000256 __c.1979
1137
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:1041   .progmem.data:00000249 __c.1981
1138
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:1037   .progmem.data:00000239 __c.1983
1139
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:1033   .progmem.data:0000022a __c.1987
1140
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:1029   .progmem.data:0000021b __c.1989
1141
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:1025   .progmem.data:0000020c __c.1991
1142
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:1021   .progmem.data:000001fd __c.1993
1143
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:1017   .progmem.data:000001f6 __c.1995
1144
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:1013   .progmem.data:000001e8 __c.1997
1145
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:1009   .progmem.data:000001de __c.2000
21 user 1146
                            *COM*:00000004 IntegralNick
36 chris2798 1147
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:1005   .progmem.data:000001cf __c.2002
21 user 1148
                            *COM*:00000004 IntegralRoll
36 chris2798 1149
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:1001   .progmem.data:000001c0 __c.2004
1150
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:997    .progmem.data:000001b1 __c.2006
1151
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:993    .progmem.data:000001a1 __c.2009
1152
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:989    .progmem.data:00000191 __c.2011
1153
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:985    .progmem.data:00000181 __c.2013
1154
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:981    .progmem.data:00000171 __c.2015
1155
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:977    .progmem.data:00000161 __c.2018
1156
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:973    .progmem.data:00000151 __c.2020
1157
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:969    .progmem.data:00000141 __c.2022
1158
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:965    .progmem.data:00000131 __c.2024
1159
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:961    .progmem.data:00000123 __c.2027
1160
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:957    .progmem.data:00000114 __c.2029
1161
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:953    .progmem.data:00000105 __c.2031
1162
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:949    .progmem.data:000000f6 __c.2033
1163
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:945    .progmem.data:000000e9 __c.2036
1164
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:941    .progmem.data:000000da __c.2038
1165
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:937    .progmem.data:000000cb __c.2040
1166
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:933    .progmem.data:000000bc __c.2042
1167
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:929    .progmem.data:000000ad __c.2045
21 user 1168
                            *COM*:00000001 SenderOkay
36 chris2798 1169
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:925    .progmem.data:0000009e __c.2047
1170
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:921    .progmem.data:0000008f __c.2050
1171
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:917    .progmem.data:00000080 __c.2052
1172
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:913    .progmem.data:00000071 __c.2054
1173
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:909    .progmem.data:00000062 __c.2056
1174
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:905    .progmem.data:00000056 __c.2059
1175
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:901    .progmem.data:0000004a __c.2061
1176
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:897    .progmem.data:0000003e __c.2063
1177
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:893    .progmem.data:00000032 __c.2065
1178
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:889    .progmem.data:0000002a __c.2068
1179
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:885    .progmem.data:0000001c __c.2070
1180
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:881    .progmem.data:0000000e __c.2072
1181
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:877    .progmem.data:00000000 __c.2074
1182
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:838    .bss:00000000 TestInt
1183
C:\DOKUME~1\CHRIST~1\LOKALE~1\Temp/cc6pcxsb.s:844    .data:00000000 Array
21 user 1184
                            *COM*:00000002 DiffNick
1185
                            *COM*:00000002 DiffRoll
1186
                            *COM*:00000001 CosinusNickWinkel
1187
                            *COM*:00000001 CosinusRollWinkel
1188
                            *COM*:00000004 durchschnitt_northing
1189
                            *COM*:00000004 durchschnitt_easting
1190
                            *COM*:00000002 gps_p
1191
                            *COM*:00000002 gps_d
1192
                            *COM*:00000002 skal
36 chris2798 1193
                            *COM*:00000002 gps_gethome
21 user 1194
                            *COM*:00000001 Timeout
1195
                            *COM*:00000004 IntegralNick2
1196
                            *COM*:00000004 IntegralRoll2
1197
                            *COM*:00000004 Mess_IntegralNick
1198
                            *COM*:00000004 Mess_IntegralNick2
1199
                            *COM*:00000004 Mess_IntegralRoll
1200
                            *COM*:00000004 Mess_IntegralRoll2
1201
                            *COM*:00000004 Integral_Gier
1202
                            *COM*:00000004 Mess_Integral_Gier
1203
                            *COM*:00000001 h
1204
                            *COM*:00000001 m
1205
                            *COM*:00000001 s
1206
                            *COM*:00000001 Motor_Vorne
1207
                            *COM*:00000001 Motor_Hinten
1208
                            *COM*:00000001 Motor_Rechts
1209
                            *COM*:00000001 Motor_Links
1210
                            *COM*:00000001 Count
1211
                            *COM*:00000005 MotorWert
1212
                            *COM*:00000002 StickNick
1213
                            *COM*:00000002 StickRoll
1214
                            *COM*:00000002 StickGier
1215
                            *COM*:00000001 MotorenEin
1216
 
1217
UNDEFINED SYMBOLS
1218
__do_copy_data
1219
__do_clear_bss
1220
_printf_P
1221
GetActiveParamSetNumber
1222
EE_Parameter
1223
HoehenWert
1224
SollHoehe
1225
MessLuftdruck
1226
DruckOffsetSetting
1227
__divmodsi4
1228
KompassValue
1229
PPM_in
1230
AdNeutralNick
1231
AccumulateNick
1232
MessanzahlNick
1233
__divmodhi4
1234
AdNeutralRoll
1235
AccumulateRoll
1236
MessanzahlRoll
1237
AdNeutralGier
1238
AccumulateGier
1239
MessanzahlGier
1240
NeutralAccX
1241
accumulate_AccNick
1242
messanzahl_AccNick
1243
NeutralAccY
1244
accumulate_AccRoll
1245
messanzahl_AccRoll
1246
NeutralAccZ
1247
Aktuell_az
1248
__fixsfsi
1249
UBat
1250
KompassRichtung
1251
KompassStartwert
1252
Poti1
1253
Poti2
1254
Poti3
1255
Poti4
1256
Parameter_ServoNickControl
1257
ServoValue