comparison code_part1/OSTC_code_asm_part1/simulator.asm @ 385:af703be9ead2 64kByte Logbook

Fix simulator start
author heinrichsweikamp
date Sat, 18 Jun 2011 17:52:52 +0200
parents 61742b3ef842
children a59532d2daf8
comparison
equal deleted inserted replaced
384:904863f96582 385:af703be9ead2
151 movff xC+1,sim_pressure+1 151 movff xC+1,sim_pressure+1
152 152
153 ; This override is done in ISR too, but do it right now also: 153 ; This override is done in ISR too, but do it right now also:
154 movff sim_pressure+0,amb_pressure+0 154 movff sim_pressure+0,amb_pressure+0
155 movff sim_pressure+1,amb_pressure+1 155 movff sim_pressure+1,amb_pressure+1
156 call comp_air_pressure0 ; Make sure to have depth in rel_pressure:2
156 157
157 bcf menubit2 158 bcf menubit2
158 bcf menubit3 159 bcf menubit3
159 bcf menubit 160 bcf menubit
160 bcf switch_left 161 bcf switch_left