# HG changeset patch # User heinrichsweikamp # Date 1295347926 -3600 # Node ID 3fd7d304a0fe500a47fc1b10d2360bcb14ec0f81 # Parent 54cc1346ac15b837b9752d6db502968802619dee Restore simulator inputs diff -r 54cc1346ac15 -r 3fd7d304a0fe code_part1/OSTC_code_asm_part1/changelog.txt --- a/code_part1/OSTC_code_asm_part1/changelog.txt Tue Jan 18 07:39:41 2011 +0100 +++ b/code_part1/OSTC_code_asm_part1/changelog.txt Tue Jan 18 11:52:06 2011 +0100 @@ -9,7 +9,6 @@ CHANGE: NoFly and Desaturation time only visible when > 0 CHANGE: "LowBatt!" Warning in Divemode - New in 1.75 Beta: BETA Version - Do NOT use for diving! BUGFIX: Decomask in Gauge mode removed diff -r 54cc1346ac15 -r 3fd7d304a0fe code_part1/OSTC_code_asm_part1/simulator.asm --- a/code_part1/OSTC_code_asm_part1/simulator.asm Tue Jan 18 07:39:41 2011 +0100 +++ b/code_part1/OSTC_code_asm_part1/simulator.asm Tue Jan 18 11:52:06 2011 +0100 @@ -235,6 +235,7 @@ bsf simulatormode_active ; normal simulator mode bsf standalone_simulator ; Standalone Simulator active + movff logbook_temp2,logbook_temp3 ; store bottom time movff logbook_temp2,xA+0 clrf xA+1 @@ -248,11 +249,6 @@ movlw HIGH d'1000' addwfc xC+1,F ; add 1000mBar -; movf amb_pressure+0,W -; addwf xC+0,F -; movf amb_pressure+1,W -; addwfc xC+1,F ; Add ambient pressure -; movff xC+0,sim_pressure+0 movff xC+1,sim_pressure+1 @@ -326,6 +322,7 @@ movlw d'5' ; Pre-Set Cursor to "Show Decoplan" movwf menupos + movff logbook_temp3,logbook_temp2 ; restore bottom time bra menu_simulator1 ; Done. simulator_calc_deco2: diff -r 54cc1346ac15 -r 3fd7d304a0fe code_part1/OSTC_code_asm_part1/text_table.asm --- a/code_part1/OSTC_code_asm_part1/text_table.asm Tue Jan 18 07:39:41 2011 +0100 +++ b/code_part1/OSTC_code_asm_part1/text_table.asm Tue Jan 18 11:52:06 2011 +0100 @@ -188,8 +188,8 @@ DB .102,.54 ;82 Decostop DB .0,.0 ;83 - DB .108,.112 ;84 No Stop - DB .135,.112 ;85 TTS + DB .108,.113 ;84 No Stop + DB .135,.113 ;85 TTS DB .100,.0 ;86 Divetime DB .0,.0 ;87 Depth DB .0,.0 ;88