comparison code_part1/OSTC_code_asm_part1/MAIN.ASM @ 341:2144f19fa1eb

BUGFIX protect against ISR changing pressure/temperature while reading it.
author JeanDo
date Fri, 20 May 2011 00:48:30 +0200
parents 9581e48a914f
children 797e2ac42d24
comparison
equal deleted inserted replaced
340:ecbbbd423e86 341:2144f19fa1eb
80 80
81 ;============================================================================= 81 ;=============================================================================
82 osct_asm code 82 osct_asm code
83 #include strings.inc 83 #include strings.inc
84 84
85 #include isr.asm ; Interrupt service routine (RTC&Sensor)
85 #include displaytext.asm ; sends texts to wordprocessor 86 #include displaytext.asm ; sends texts to wordprocessor
86 #include math.asm ; mathematical functions 87 #include math.asm ; mathematical functions
87 #include wait.asm ; waitroutines 88 #include wait.asm ; waitroutines
88 #include oled_samsung.asm ; Attached in 80-System 8-Bit Mode 89 #include oled_samsung.asm ; Attached in 80-System 8-Bit Mode
89 #include aa_wordprocessor.asm ; New antialiased word processor and fonts 90 #include aa_wordprocessor.asm ; New antialiased word processor and fonts
100 #include menu_logbook.asm ; Submenu "Logbook" 101 #include menu_logbook.asm ; Submenu "Logbook"
101 #include interface.asm ; Interface routines 102 #include interface.asm ; Interface routines
102 #include menu_ppO2.asm ; Constant ppO2 setup menu 103 #include menu_ppO2.asm ; Constant ppO2 setup menu
103 #include menu_battery.asm ; Submenu "Battery Info" 104 #include menu_battery.asm ; Submenu "Battery Info"
104 #include menu_gassetup.asm ; Menu "Gas Setup" 105 #include menu_gassetup.asm ; Menu "Gas Setup"
105 #include isr.asm ; Interrupt service routine (RTC&Sensor)
106 #include surfmode.asm ; Mainroutines for Surfacemode 106 #include surfmode.asm ; Mainroutines for Surfacemode
107 #include divemode.asm ; Mainroutines for Divemode 107 #include divemode.asm ; Mainroutines for Divemode
108 #include divemode_menu.asm ; Underwater menu 108 #include divemode_menu.asm ; Underwater menu
109 #include sleepmode.asm ; Mainroutines for Sleepmode 109 #include sleepmode.asm ; Mainroutines for Sleepmode
110 #include adc_rtc.asm ; A/D converter (battery control) and RTC init 110 #include adc_rtc.asm ; A/D converter (battery control) and RTC init