comparison code_part1/OSTC_code_asm_part1/divemode.asm @ 361:88660a400338 64kByte Logbook

Updated 64K logbook to changeset 360.
author JeanDo
date Wed, 08 Jun 2011 01:37:14 +0200
parents 562f1bc79f3c b5b030c1ae7e
children 584741726190
comparison
equal deleted inserted replaced
357:562f1bc79f3c 361:88660a400338
1801 1801
1802 ; Read Start Gas and configure char_I_He_ratio, char_I_O2_ratio and char_I_N2_ratio 1802 ; Read Start Gas and configure char_I_He_ratio, char_I_O2_ratio and char_I_N2_ratio
1803 set_first_gas: 1803 set_first_gas:
1804 read_int_eeprom d'33' ; Read byte (stored in EEDATA) 1804 read_int_eeprom d'33' ; Read byte (stored in EEDATA)
1805 movff EEDATA,active_gas ; Read start gas (1-5) 1805 movff EEDATA,active_gas ; Read start gas (1-5)
1806 movff EEDATA,char_I_current_gas
1806 1807
1807 decf active_gas,W ; Gas 0-4 1808 decf active_gas,W ; Gas 0-4
1808 mullw d'4' 1809 mullw d'4'
1809 movf PRODL,W 1810 movf PRODL,W
1810 addlw d'7' ; = address for He ratio 1811 addlw d'7' ; = address for He ratio