Mercurial > public > mk2
changeset 373:8781d1cf96d8 64kByte Logbook
added GF_hi, GF_lo and deco model to dive header
author | Heinrichsweikamp |
---|---|
date | Fri, 10 Jun 2011 17:47:52 +0200 |
parents | d8e83ef49962 |
children | 6ee9c849ad92 |
files | code_part1/OSTC_code_asm_part1/divemode.asm code_part1/OSTC_code_asm_part1/german_text.asm code_part1/OSTC_code_asm_part1/menu_logbook.asm |
diffstat | 3 files changed, 12 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/divemode.asm Fri Jun 10 13:59:10 2011 +0200 +++ b/code_part1/OSTC_code_asm_part1/divemode.asm Fri Jun 10 17:47:52 2011 +0200 @@ -1345,12 +1345,14 @@ movff total_divetime_seconds+1,WREG ; Total dive time (Regardless of CF01) call write_external_eeprom - clrf WREG - call write_external_eeprom ; Spare6 - clrf WREG - call write_external_eeprom ; Spare5 - clrf WREG - call write_external_eeprom ; Spare4 + GETCUSTOM8 d'32' ; GF_lo + call write_external_eeprom + GETCUSTOM8 d'33' ; GF_hi + call write_external_eeprom + read_int_eeprom d'34' ; Read deco modell + movf EEDATA,W + call write_external_eeprom + clrf WREG call write_external_eeprom ; Spare3 clrf WREG
--- a/code_part1/OSTC_code_asm_part1/german_text.asm Fri Jun 10 13:59:10 2011 +0200 +++ b/code_part1/OSTC_code_asm_part1/german_text.asm Fri Jun 10 17:47:52 2011 +0200 @@ -396,5 +396,5 @@ TCODE .100, .125, "Ende Sim" ;306 Quit Sim (=8char max. Quit Simulator mode) ;Dive interval TCODE .20, .35, "Interval:" ;307 Interval: - TCODE .0, .0, "Now" ;308 Now + TCODE .0, .0, "Jetzt" ;308 Now ;=============================================================================
--- a/code_part1/OSTC_code_asm_part1/menu_logbook.asm Fri Jun 10 13:59:10 2011 +0200 +++ b/code_part1/OSTC_code_asm_part1/menu_logbook.asm Fri Jun 10 17:47:52 2011 +0200 @@ -964,11 +964,11 @@ movlw color_grey call PLED_set_color ; Make this configurable? - movlw d'75' + movlw d'76' movff WREG,win_top incf timeout_counter3,W ; draw one line to right to make sure it's the background of the profile movff WREG,win_leftx2 ; Left border (0-159) - movlw d'164' + movlw d'163' movff WREG,win_height movlw d'1' movff WREG,win_width ; "Window" Width @@ -1221,7 +1221,7 @@ movlw 0xAA movwf EEDATA call write_eeprom ; write 0xAA to indicate the logbook is already converted -return +;return ; convert logbook: ; Step 1: Copy 32k from 0xFE + 1 with bank switching to bank1 ; Step 2: Copy 32k from bank1 to bank0