diff code_part1/OSTC_code_asm_part1/interface.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 5c186a72cb5d
children c512a868937c
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/interface.asm	Sun Jun 12 16:18:22 2011 +0200
+++ b/code_part1/OSTC_code_asm_part1/interface.asm	Sun Jun 12 21:27:07 2011 +0200
@@ -142,11 +142,16 @@
 	DISPLAYTEXT	.16						; "Start"
 
 	call		get_free_EEPROM_location		; 
+
 	movlw		d'1'						; increase
 	addwf		eeprom_address+0,F
 	movlw		d'0'
 	addwfc	eeprom_address+1,F
 
+;For debug only
+;clrf	eeprom_address+0,F
+;clrf	eeprom_address+1,F
+
 	DISPLAYTEXT	.17						; "Data"
 
 	rcall		send_internal_eeprom1		; sends complete 1st. page of internal EEPROM