Mercurial > public > mk2
changeset 158:3fd7d304a0fe
Restore simulator inputs
author | heinrichsweikamp |
---|---|
date | Tue, 18 Jan 2011 11:52:06 +0100 |
parents | 54cc1346ac15 |
children | aaa6e8720a7d |
files | code_part1/OSTC_code_asm_part1/changelog.txt code_part1/OSTC_code_asm_part1/simulator.asm code_part1/OSTC_code_asm_part1/text_table.asm |
diffstat | 3 files changed, 4 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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:
--- 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