comparison code_part1/OSTC_code_asm_part1/MAIN.ASM @ 125:2907b42c195b

Altimeter: - use H = 19902 log10(P0/P) - Interface to select sea level mbars. - Average over 32 values, using 1/16 of mbar. - Display in customview area. - Fix display ****m when not yet computed - Fix reset when exiting sleep mode - Fix : edit menu in 1/4 of mbar. - Fix use CF#49 to enable/disable altimeter, also in altimeter menu. - Fix visible in Menu 2
author JeanDo
date Wed, 29 Dec 2010 01:41:13 +0100
parents 6a94f96e9cea
children 06c4899ddb4b
comparison
equal deleted inserted replaced
124:4f9f477bb452 125:2907b42c195b
116 #include simulator.asm ; Stand-alone simulator routines 116 #include simulator.asm ; Stand-alone simulator routines
117 #include io.asm ; Low-Level I/O access 117 #include io.asm ; Low-Level I/O access
118 #include customview.asm ; Customview for divemode 118 #include customview.asm ; Customview for divemode
119 #include strings.asm ; Basic string operations 119 #include strings.asm ; Basic string operations
120 120
121 #include altimeter.asm
121 ;============================================================================= 122 ;=============================================================================
122 #include dive_icons.asm ; Draw dive type icons in surface mode. 123 #include dive_icons.asm ; Draw dive type icons in surface mode.
123 124
124 ;============================================================================= 125 ;=============================================================================
125 ; Extracted from p3_wordprocessor includes: 126 ; Extracted from p3_wordprocessor includes: