# HG changeset patch # User Heinrichsweikamp # Date 1307720872 -7200 # Node ID 8781d1cf96d82a14d562336cc4daa8a6c3826533 # Parent d8e83ef4996220378e26a2508befe7965885b552 added GF_hi, GF_lo and deco model to dive header diff -r d8e83ef49962 -r 8781d1cf96d8 code_part1/OSTC_code_asm_part1/divemode.asm --- 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 diff -r d8e83ef49962 -r 8781d1cf96d8 code_part1/OSTC_code_asm_part1/german_text.asm --- 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 ;============================================================================= diff -r d8e83ef49962 -r 8781d1cf96d8 code_part1/OSTC_code_asm_part1/menu_logbook.asm --- 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