comparison 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
comparison
equal deleted inserted replaced
375:84a1762de6ab 376:ed26990716fe
140 movwf TXREG 140 movwf TXREG
141 141
142 DISPLAYTEXT .16 ; "Start" 142 DISPLAYTEXT .16 ; "Start"
143 143
144 call get_free_EEPROM_location ; 144 call get_free_EEPROM_location ;
145
145 movlw d'1' ; increase 146 movlw d'1' ; increase
146 addwf eeprom_address+0,F 147 addwf eeprom_address+0,F
147 movlw d'0' 148 movlw d'0'
148 addwfc eeprom_address+1,F 149 addwfc eeprom_address+1,F
150
151 ;For debug only
152 ;clrf eeprom_address+0,F
153 ;clrf eeprom_address+1,F
149 154
150 DISPLAYTEXT .17 ; "Data" 155 DISPLAYTEXT .17 ; "Data"
151 156
152 rcall send_internal_eeprom1 ; sends complete 1st. page of internal EEPROM 157 rcall send_internal_eeprom1 ; sends complete 1st. page of internal EEPROM
153 158