comparison code_part1/OSTC_code_asm_part1/divemode.asm @ 373:8781d1cf96d8 64kByte Logbook

added GF_hi, GF_lo and deco model to dive header
author Heinrichsweikamp
date Fri, 10 Jun 2011 17:47:52 +0200
parents 584741726190
children 6ee9c849ad92
comparison
equal deleted inserted replaced
372:d8e83ef49962 373:8781d1cf96d8
1343 movff total_divetime_seconds+0,WREG ; Total dive time (Regardless of CF01) 1343 movff total_divetime_seconds+0,WREG ; Total dive time (Regardless of CF01)
1344 call write_external_eeprom 1344 call write_external_eeprom
1345 movff total_divetime_seconds+1,WREG ; Total dive time (Regardless of CF01) 1345 movff total_divetime_seconds+1,WREG ; Total dive time (Regardless of CF01)
1346 call write_external_eeprom 1346 call write_external_eeprom
1347 1347
1348 clrf WREG 1348 GETCUSTOM8 d'32' ; GF_lo
1349 call write_external_eeprom ; Spare6 1349 call write_external_eeprom
1350 clrf WREG 1350 GETCUSTOM8 d'33' ; GF_hi
1351 call write_external_eeprom ; Spare5 1351 call write_external_eeprom
1352 clrf WREG 1352 read_int_eeprom d'34' ; Read deco modell
1353 call write_external_eeprom ; Spare4 1353 movf EEDATA,W
1354 call write_external_eeprom
1355
1354 clrf WREG 1356 clrf WREG
1355 call write_external_eeprom ; Spare3 1357 call write_external_eeprom ; Spare3
1356 clrf WREG 1358 clrf WREG
1357 call write_external_eeprom ; Spare2 1359 call write_external_eeprom ; Spare2
1358 clrf WREG 1360 clrf WREG