Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/surfmode.asm @ 100:db4a20b413df
Checking all CF values at once.
Fix minor false negative check on 15bit CF values.
author | JeanDo |
---|---|
date | Tue, 14 Dec 2010 02:20:04 +0100 |
parents | ce3283064cde |
children | a2b9eca1f396 |
comparison
equal
deleted
inserted
replaced
99:39d325b2a5f9 | 100:db4a20b413df |
---|---|
96 | 96 |
97 bcf switch_left | 97 bcf switch_left |
98 bcf switch_right | 98 bcf switch_right |
99 call PLED_active_gas_surfmode ; Show start gas / SetPoint | 99 call PLED_active_gas_surfmode ; Show start gas / SetPoint |
100 call PLED_custom_text ; Displays custom text | 100 call PLED_custom_text ; Displays custom text |
101 movlw d'1' ; next cf to check | 101 clrf cf_checker_counter ; next cf to check |
102 movwf cf_checker_counter ; | |
103 ostc_debug 'G' ; Sends debug-information to screen if debugmode active | 102 ostc_debug 'G' ; Sends debug-information to screen if debugmode active |
104 GETCUSTOM8 d'12' ; Desaturation multiplier % | 103 GETCUSTOM8 d'12' ; Desaturation multiplier % |
105 movwf wait_temp | 104 movwf wait_temp |
106 movff wait_temp,char_I_desaturation_multiplier | 105 movff wait_temp,char_I_desaturation_multiplier |
107 GETCUSTOM8 d'11' ; Saturation multiplier % | 106 GETCUSTOM8 d'11' ; Saturation multiplier % |