comparison code_part1/OSTC_code_asm_part1/divemode.asm @ 376:ed26990716fe 64kByte Logbook

first gas does not reset change depth, display fix with multigas dives in logbook
author heinrichsweikamp
date Sun, 12 Jun 2011 21:27:07 +0200
parents 84a1762de6ab
children deced1cacff7
comparison
equal deleted inserted replaced
375:84a1762de6ab 376:ed26990716fe
1296 swapf temp1,F ; swap nibbels 0-3 with 4-7 1296 swapf temp1,F ; swap nibbels 0-3 with 4-7
1297 GETCUSTOM8 d'22' ; Divisor deco 1297 GETCUSTOM8 d'22' ; Divisor deco
1298 addwf temp1,W ; copy to bits 0-3, result in WREG 1298 addwf temp1,W ; copy to bits 0-3, result in WREG
1299 call write_external_eeprom 1299 call write_external_eeprom
1300 1300
1301 movlw d'2' ; information size tank 1301 movlw d'1' ; information size GF
1302 movwf temp1 ; copy to bits 0-3 1302 movwf temp1 ; copy to bits 0-3
1303 swapf temp1,F ; swap nibbels 0-3 with 4-7 1303 swapf temp1,F ; swap nibbels 0-3 with 4-7
1304 GETCUSTOM8 d'23' ; Divisor Tank 1304 GETCUSTOM8 d'23' ; Divisor GF
1305 addwf temp1,W ; copy to bits 0-3, result in WREG 1305 addwf temp1,W ; copy to bits 0-3, result in WREG
1306 call write_external_eeprom 1306 call write_external_eeprom
1307 1307
1308 movlw d'3' ; information size pp02 1308 movlw d'3' ; information size pp02
1309 movwf temp1 ; copy to bits 0-3 1309 movwf temp1 ; copy to bits 0-3