Mercurial > public > hwos_code
comparison src/divemode.asm @ 335:3d43da7acfe1 new_screen_layout
Always show ppO2 (warning position, standard color) option
author | janos_kovacs <kovjanos@gmail.com> |
---|---|
date | Sun, 28 Jun 2015 05:02:45 +0200 |
parents | 6d8c82fe5a01 |
children | 508d7fb98b34 |
comparison
equal
deleted
inserted
replaced
333:14b466f66a7f | 335:3d43da7acfe1 |
---|---|
1545 bsf warning_active ; Set Warning flag | 1545 bsf warning_active ; Set Warning flag |
1546 return ; Done. | 1546 return ; Done. |
1547 | 1547 |
1548 check_ppO2_0: | 1548 check_ppO2_0: |
1549 ; Check if ppO2 should be displayed | 1549 ; Check if ppO2 should be displayed |
1550 movlw .0 | |
1551 TSTOSS opt_showppo2 ; 0=no, 1=always show | |
1550 movlw ppo2_display_high | 1552 movlw ppo2_display_high |
1551 mullw d'100' ; ppo2_display_high*100 | 1553 mullw d'100' ; ppo2_display_high*100 |
1552 movff PRODL,sub_a+0 | 1554 movff PRODL,sub_a+0 |
1553 movff PRODH,sub_a+1 | 1555 movff PRODH,sub_a+1 |
1554 call subU16 | 1556 call subU16 |