comparison code_part1/OSTC_code_asm_part1/simulator.asm @ 263:27c9bb14b008

making the seconds display in divemode smoother...
author heinrichsweikamp
date Mon, 11 Apr 2011 11:47:00 +0200
parents a9f8c87dda06
children ab8ce7de2b46
comparison
equal deleted inserted replaced
262:a9f8c87dda06 263:27c9bb14b008
401 movff WREG,char_I_step_is_1min ; 2 second deco mode 401 movff WREG,char_I_step_is_1min ; 2 second deco mode
402 402
403 movlw d'30' 403 movlw d'30'
404 movwf timeout_counter2 ; timeout used as temp here 404 movwf timeout_counter2 ; timeout used as temp here
405 simulator_calc_deco2: 405 simulator_calc_deco2:
406
407 call divemode_check_decogases ; Checks for decogases and sets the gases 406 call divemode_check_decogases ; Checks for decogases and sets the gases
408 call divemode_prepare_flags_for_deco 407 call divemode_prepare_flags_for_deco
409 408
410 call deco_calc_hauptroutine ; calc_tissue 409 call deco_calc_hauptroutine ; calc_tissue
411 movlb b'00000001' ; rambank 1 selected 410 movlb b'00000001' ; rambank 1 selected