comparison code_part1/OSTC_code_asm_part1/divemode.asm @ 453:38b38b105782

compute desat based on 30min old surface pressure
author heinrichsweikamp
date Mon, 22 Aug 2011 17:36:30 +0200
parents b63a90a87fe2
children 993e681e89cf
comparison
equal deleted inserted replaced
452:05ec97e106da 453:38b38b105782
1114 movff WREG,char_I_desaturation_multiplier 1114 movff WREG,char_I_desaturation_multiplier
1115 1115
1116 ostc_debug 'G' ; Sends debug-information to screen if debugmode active 1116 ostc_debug 'G' ; Sends debug-information to screen if debugmode active
1117 call deco_calc_desaturation_time ; calculate desaturation time 1117 call deco_calc_desaturation_time ; calculate desaturation time
1118 movlb b'00000001' ; select ram bank 1 1118 movlb b'00000001' ; select ram bank 1
1119 call calc_deko_surfmode ; work-around for nofly bug 1119 call calc_deko_surfmode2 ; work-around for nofly bug
1120 rcall calculate_noflytime ; Calc NoFly time 1120 rcall calculate_noflytime ; Calc NoFly time
1121 ostc_debug 'H' ; Sends debug-information to screen if debugmode active 1121 ostc_debug 'H' ; Sends debug-information to screen if debugmode active
1122 ; store header and ... 1122 ; store header and ...
1123 movlw 0xFD ; .... End-of-Profile Bytes 1123 movlw 0xFD ; .... End-of-Profile Bytes
1124 call write_external_eeprom 1124 call write_external_eeprom