# HG changeset patch # User heinrichsweikamp # Date 1352360413 -3600 # Node ID ef198c1669f13957e5e11e7bf16bb3661abb13ea # Parent 75dc320f46817e1f82331e5876fc16c0656628cc minor, docu update diff -r 75dc320f4681 -r ef198c1669f1 code_part1/OSTC_code_asm_part1/divemode.asm --- a/code_part1/OSTC_code_asm_part1/divemode.asm Fri Nov 02 00:57:09 2012 +0100 +++ b/code_part1/OSTC_code_asm_part1/divemode.asm Thu Nov 08 08:40:13 2012 +0100 @@ -286,8 +286,8 @@ return ; Yes, return warn_gf1: - movlw d'2' ; Type of Alarm - movwf AlarmType ; Copy to Alarm Register + movlw d'2' ; Type of alarm (Deco Stop missed/GF violated) + movwf AlarmType ; Copy to alarm Register bsf event_occured ; Set Event Flag return @@ -732,7 +732,7 @@ clrf EventByte ; reset EventByte - movf AlarmType,W ; Type of Alarm Bit 0-3 + movf AlarmType,W ; Type of alarm Bit 0-3 addwf EventByte,F ; Copy to EventByte Bit 0-3 clrf AlarmType ; Reset AlarmType @@ -1052,8 +1052,8 @@ check_ppO2_bail2: bsf ppO2_show_value ; set flag if required - movlw d'5' ; Type of Alarm - movwf AlarmType ; Copy to Alarm Register + movlw d'5' ; Type of alarm (ppO High Warning) + movwf AlarmType ; Copy to alarm Register bsf event_occured ; Set Event Flag check_ppO2_0: @@ -1068,8 +1068,8 @@ bra check_ppO2_1 ; Not too low bsf ppO2_show_value ; show ppO2 if below threshold! - movlw d'4' ; Type of Alarm - movwf AlarmType ; Copy to Alarm Register + movlw d'4' ; Type of alarm (ppO Low Warning) + movwf AlarmType ; Copy to alarm Register bsf event_occured ; Set Event Flag check_ppO2_1: @@ -1842,8 +1842,8 @@ return set_powersafe1: - movlw d'7' ; Type of Alarm (Battery Low) - movwf AlarmType ; Copy to Alarm Register + movlw d'7' ; Type of alarm (Battery Low) + movwf AlarmType ; Copy to alarm Register bsf event_occured ; Set Event Flag bsf low_battery_state ; set flag for battery warning return ; return diff -r 75dc320f4681 -r ef198c1669f1 docu/ostc_interface_description.odt Binary file docu/ostc_interface_description.odt has changed