comparison code_part1/OSTC_code_asm_part1/simulator.asm @ 230:9406a5b0ba5e

BUGFIX Clear bottom stops when display gas usage (bug BB23)
author JeanDo
date Tue, 15 Mar 2011 18:44:16 +0100
parents 85ea09d3b9d8
children f9d42f8ff97b
comparison
equal deleted inserted replaced
229:85ea09d3b9d8 230:9406a5b0ba5e
266 266
267 ; Compute gas consumption for each tank. 267 ; Compute gas consumption for each tank.
268 call deco_gas_volumes 268 call deco_gas_volumes
269 movlb 1 269 movlb 1
270 270
271 ; Display results 271 ; Clear the complete stop result column:
272 call PLED_clear_divemode_menu ; Clear right part. 272 WIN_BOX_BLACK .0, .239, .82, .160 ;top, bottom, left, right
273 273
274 movlw d'10' 274 movlw d'10'
275 movwf waitms_temp ; Row for gas list is .10+.25 275 movwf waitms_temp ; Row for gas list is .10+.25
276 clrf wait_temp ; Gas counter 276 clrf wait_temp ; Gas counter
277 lfsr FSR0,int_O_gas_volumes ; Initialize indexed addressing. 277 lfsr FSR0,int_O_gas_volumes ; Initialize indexed addressing.