comparison src/ghostwriter.asm @ 6:13cda523891f

bugfix: dive length in normal header
author heinrichsweikamp
date Fri, 10 May 2013 15:56:17 +0200
parents ed1dec74d5fd
children e402813343b6
comparison
equal deleted inserted replaced
5:ed1dec74d5fd 6:13cda523891f
334 movff EEDATA,ext_flash_address+2 334 movff EEDATA,ext_flash_address+2
335 335
336 incf_ext_flash_address_0x20 d'6' ; Skip internal "0xFA 0xFA #Divenumber:2 0xFA 0xFA" Header 336 incf_ext_flash_address_0x20 d'6' ; Skip internal "0xFA 0xFA #Divenumber:2 0xFA 0xFA" Header
337 ; Store dive length 337 ; Store dive length
338 movf ext_flash_dive_counter+0,W 338 movf ext_flash_dive_counter+0,W
339 rcall ghostwrite_byte_profile ; WREG -> Profile in ext. flash 339 call write_byte_ext_flash_plus_nocnt ; WREG -> Profile in ext. flash (No ext_flash_dive_counter:3 increase)
340 movf ext_flash_dive_counter+1,W 340 movf ext_flash_dive_counter+1,W
341 rcall ghostwrite_byte_profile ; WREG -> Profile in ext. flash 341 call write_byte_ext_flash_plus_nocnt ; WREG -> Profile in ext. flash (No ext_flash_dive_counter:3 increase)
342 movf ext_flash_dive_counter+2,W 342 movf ext_flash_dive_counter+2,W
343 rcall ghostwrite_byte_profile ; WREG -> Profile in ext. flash 343 call write_byte_ext_flash_plus_nocnt ; WREG -> Profile in ext. flash (No ext_flash_dive_counter:3 increase)
344 344
345 ; profile recording done. 345 ; profile recording done.
346 346
347 ; Load total number of dives 347 ; Load total number of dives
348 read_int_eeprom .2 348 read_int_eeprom .2