Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/menu_reset.asm @ 43:65d5b0c8da41
New CF48, changed CF15
author | heinrichsweikamp |
---|---|
date | Thu, 24 Jun 2010 22:12:32 +0200 |
parents | e01e6428d316 |
children | 985607cfb813 |
comparison
equal
deleted
inserted
replaced
42:da553e5c7a90 | 43:65d5b0c8da41 |
---|---|
227 #DEFINE saturation_multiplier d'110' ; 8BIT x1.1 | 227 #DEFINE saturation_multiplier d'110' ; 8BIT x1.1 |
228 #DEFINE desaturation_multiplier d'90' ; 8BIT x0.9 | 228 #DEFINE desaturation_multiplier d'90' ; 8BIT x0.9 |
229 #DEFINE nofly_time_ratio d'60' ; 8BIT 60% | 229 #DEFINE nofly_time_ratio d'60' ; 8BIT 60% |
230 #DEFINE gradient_factor_alarm1 d'100' ; 8Bit 100% | 230 #DEFINE gradient_factor_alarm1 d'100' ; 8Bit 100% |
231 | 231 |
232 #DEFINE not_used_CF15 d'100' ; 8Bit | 232 #DEFINE cns_display_surface d'10' ; 8Bit 10% |
233 #DEFINE deco_distance_for_sim d'10' ; 8Bit 1m | 233 #DEFINE deco_distance_for_sim d'10' ; 8Bit 1m |
234 #DEFINE ppo2_warning_low d'019' ; 8Bit 0.19 Bar | 234 #DEFINE ppo2_warning_low d'019' ; 8Bit 0.19 Bar |
235 #DEFINE ppo2_warning_high d'160' ; 8Bit 1.60 Bar | 235 #DEFINE ppo2_warning_high d'160' ; 8Bit 1.60 Bar |
236 #DEFINE ppo2_display_high d'150' ; 8Bit 1.50 Bar | 236 #DEFINE ppo2_display_high d'150' ; 8Bit 1.50 Bar |
237 | 237 |
266 #DEFINE color_warn_cns_percent d'101' ; 8Bit Warn-% | 266 #DEFINE color_warn_cns_percent d'101' ; 8Bit Warn-% |
267 #DEFINE color_warn_gf_percent d'101' ; 8Bit Warn-% | 267 #DEFINE color_warn_gf_percent d'101' ; 8Bit Warn-% |
268 #DEFINE color_warn_ppo2_cbar d'161' ; 8Bit ppO2 warn | 268 #DEFINE color_warn_ppo2_cbar d'161' ; 8Bit ppO2 warn |
269 #DEFINE color_warn_celocity_mmin d'15' ; 8Bit warn at xx m/min | 269 #DEFINE color_warn_celocity_mmin d'15' ; 8Bit warn at xx m/min |
270 | 270 |
271 #DEFINE time_correction_value_default d'42' ; 8Bit Adds to Seconds on Midnight | |
272 | |
271 movlw d'127' ; address of low byte of first custom function | 273 movlw d'127' ; address of low byte of first custom function |
272 movwf EEADR | 274 movwf EEADR |
273 clrf hi ; only required once | 275 clrf hi ; only required once |
274 movlw LOW dive_threshold ; 8Bit value | 276 movlw LOW dive_threshold ; 8Bit value |
275 rcall reset_customfunction ; saves default and current value | 277 rcall reset_customfunction ; saves default and current value |
320 rcall reset_customfunction ; saves default and current value | 322 rcall reset_customfunction ; saves default and current value |
321 | 323 |
322 movlw LOW gradient_factor_alarm1 | 324 movlw LOW gradient_factor_alarm1 |
323 rcall reset_customfunction ; saves default and current value | 325 rcall reset_customfunction ; saves default and current value |
324 | 326 |
325 movlw LOW not_used_CF15 | 327 movlw LOW cns_display_surface |
326 rcall reset_customfunction ; saves default and current value | 328 rcall reset_customfunction ; saves default and current value |
327 | 329 |
328 movlw LOW deco_distance_for_sim | 330 movlw LOW deco_distance_for_sim |
329 rcall reset_customfunction ; saves default and current value | 331 rcall reset_customfunction ; saves default and current value |
330 | 332 |
431 rcall reset_customfunction ; saves default and current value | 433 rcall reset_customfunction ; saves default and current value |
432 | 434 |
433 movlw color_warn_celocity_mmin | 435 movlw color_warn_celocity_mmin |
434 rcall reset_customfunction ; saves default and current value | 436 rcall reset_customfunction ; saves default and current value |
435 | 437 |
436 movlw d'0' | 438 movlw time_correction_value_default |
437 rcall reset_customfunction ; saves default and current value | 439 rcall reset_customfunction ; saves default and current value |
440 | |
438 movlw d'0' | 441 movlw d'0' |
439 rcall reset_customfunction ; saves default and current value | 442 rcall reset_customfunction ; saves default and current value |
440 movlw d'0' | 443 movlw d'0' |
441 rcall reset_customfunction ; saves default and current value | 444 rcall reset_customfunction ; saves default and current value |
442 movlw d'0' | 445 movlw d'0' |