Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/divemode.asm @ 507:ed51a7a89d9a
minor cleanups for TESTING mode
author | JeanDo |
---|---|
date | Sun, 20 Nov 2011 22:52:09 +0100 |
parents | 24e018713ea2 |
children | c9f19a546e64 |
comparison
equal
deleted
inserted
replaced
506:ab819be6193f | 507:ed51a7a89d9a |
---|---|
301 ; Check for decompression gases if in decomode | 301 ; Check for decompression gases if in decomode |
302 btfss dekostop_active | 302 btfss dekostop_active |
303 bra reset_decompression_gases ; While in NDL, do not set deompression gas | 303 bra reset_decompression_gases ; While in NDL, do not set deompression gas |
304 | 304 |
305 ; Copy all gases to char_I_deco_N2_ratio and char_I_deco_He_ratio | 305 ; Copy all gases to char_I_deco_N2_ratio and char_I_deco_He_ratio |
306 divemode_check_decogases: ; CALLed from Simulator, too | 306 divemode_check_decogases: ; CALLed from Simulator, too |
307 | 307 |
308 clrf EEADRH ; Make sure to select eeprom bank 0 | 308 clrf EEADRH ; Make sure to select eeprom bank 0 |
309 | 309 |
310 read_int_eeprom d'7' ; Read He ratio | 310 read_int_eeprom d'7' ; Read He ratio |
311 movff EEDATA,char_I_deco_He_ratio+0 ; And copy into hold register | 311 movff EEDATA,char_I_deco_He_ratio+0 ; And copy into hold register |