Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/pled_outputs.asm @ 324:a86c9d1219ce
ppO2 diluent (flush) color coded
author | Heinrichsweikamp |
---|---|
date | Sat, 07 May 2011 09:26:47 +0200 |
parents | b7940978edc9 |
children | 4a28d7a1c620 |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/pled_outputs.asm Sat May 07 00:52:20 2011 +0200 +++ b/code_part1/OSTC_code_asm_part1/pled_outputs.asm Sat May 07 09:26:47 2011 +0200 @@ -3105,7 +3105,12 @@ WIN_TOP .168 call PLED_divemask_color ; Set Color for Divemode mask STRCPY_PRINT "ppO2:" ; ppO2 of diluent - call PLED_standard_color + + movff char_O_flush_ppO2,WREG ; copy to WREG + mullw .100 + movff PRODH,xC+1 + movff PRODL,xC+0 ; For color code + PLED_color_code warn_ppo2 ; Color-code output (ppO2 stored in xC) WIN_LEFT .130 WIN_TOP .168 @@ -3115,6 +3120,8 @@ bnz PLED_show_end_ead_divemode_1 STRCPY_PRINT "----" ; YES: mark overflow. + call PLED_standard_color ; Back to white. + return PLED_show_end_ead_divemode_1: