Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/pled_outputs.asm @ 290:4dbff2aa31ee
Hunting for refusing to ignore disabled gas in list...
+ Keep gaslist in order.
author | JeanDo |
---|---|
date | Fri, 22 Apr 2011 00:13:39 +0200 |
parents | 6d8a2550c9ea |
children | 21a0f7393468 |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/pled_outputs.asm Thu Apr 21 20:09:09 2011 +0200 +++ b/code_part1/OSTC_code_asm_part1/pled_outputs.asm Fri Apr 22 00:13:39 2011 +0200 @@ -2534,10 +2534,10 @@ ;----------------------------------------------------------------------------- ; Toggle gas activity flag during dive. ; -; Input: sorted_gaslist_active +; Input: gaslist_active ; Gaslist from eeprom[2...] ; -; Output: sorted_gaslist_active +; Output: gaslist_active ; ; Note: Gas with a zero depth cannot be used in deco simulation, hence ; should not be displayed as selected here... @@ -2589,7 +2589,7 @@ bz PLED_de_activelist_grey ; should be displayed inactive. ; Check if gas needs to be greyed-out (inactive) - movff sorted_gaslist_active,EEDATA ; Get flag register + movff gaslist_active,EEDATA ; Get flag register movff hi,lo ; copy gas number PLED_de_activelist_loop1: rrcf EEDATA ; roll flags into carry @@ -2652,7 +2652,7 @@ call read_eeprom ; get byte (stored in EEDATA) PLED_color_code warn_gas_in_gaslist ; Color-code output (%O2 in "EEDATA") ; Check if gas needs to be greyed-out (inactive) - movff sorted_gaslist_active, EEDATA ; Work with sorted list + movff gaslist_active, EEDATA ; Work with sorted list ; read_int_eeprom d'27' ; read flag register movff hi,lo ; copy gas number PLED_gas_list_loop1: