comparison code_part1/OSTC_code_asm_part1/divemode.asm @ 349:ed137d66ac65

Preparations for new "0x21" logbook format
author heinrichsweikamp
date Mon, 30 May 2011 19:28:59 +0200
parents 797e2ac42d24
children 5c186a72cb5d b5b030c1ae7e
comparison
equal deleted inserted replaced
348:d722a820b675 349:ed137d66ac65
1160 1160
1161 movlw 0xFA ; Header start 1161 movlw 0xFA ; Header start
1162 call write_external_eeprom 1162 call write_external_eeprom
1163 movlw 0xFA 1163 movlw 0xFA
1164 call write_external_eeprom 1164 call write_external_eeprom
1165 movlw logbook_profile_version ; Defined in definitions_vxyy.asm 1165 movlw logbook_profile_version ; Defined in definitions.asm
1166 call write_external_eeprom 1166 call write_external_eeprom
1167 movf month,W ; Date 1167 movf month,W ; Date
1168 call write_external_eeprom 1168 call write_external_eeprom
1169 movf day,W 1169 movf day,W
1170 call write_external_eeprom 1170 call write_external_eeprom
1330 movf EEDATA,W 1330 movf EEDATA,W
1331 call write_external_eeprom ; Store Salinity to Dive 1331 call write_external_eeprom ; Store Salinity to Dive
1332 1332
1333 movff char_O_CNS_fraction,WREG ; copy into bank1 1333 movff char_O_CNS_fraction,WREG ; copy into bank1
1334 call write_external_eeprom ; Stores CNS% 1334 call write_external_eeprom ; Stores CNS%
1335
1336 ; Add additional 10bytes here.... mH
1335 1337
1336 movlw 0xFB ; Header stop 1338 movlw 0xFB ; Header stop
1337 call write_external_eeprom 1339 call write_external_eeprom
1338 movlw 0xFB 1340 movlw 0xFB
1339 call write_external_eeprom 1341 call write_external_eeprom