Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/simulator.asm @ 158:3fd7d304a0fe
Restore simulator inputs
author | heinrichsweikamp |
---|---|
date | Tue, 18 Jan 2011 11:52:06 +0100 |
parents | 4f9f477bb452 |
children | aaa6e8720a7d |
line wrap: on
line diff
--- 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: