comparison code_part1/OSTC_code_asm_part1/outputs.asm @ 683:f998411851b7

minor
author heinrichsweikamp
date Fri, 25 Jan 2013 19:26:16 +0100
parents 8aaacf6eee3f
children aebb6d039249
comparison
equal deleted inserted replaced
682:8aaacf6eee3f 683:f998411851b7
863 movff mins,lo 863 movff mins,lo
864 output_99x 864 output_99x
865 PUTC ':' 865 PUTC ':'
866 movff secs,lo 866 movff secs,lo
867 output_99x 867 output_99x
868 STRCAT_PRINT " " 868 STRCAT_PRINT ""
869 return 869 return
870 870
871 DISP_interval: 871 DISP_interval:
872 WIN_TOP .75 872 WIN_TOP .75
873 WIN_LEFT .90 873 WIN_LEFT .90
2718 btfss divemode ; In dive mode ? 2718 btfss divemode ; In dive mode ?
2719 sublw .240 ; No: bottom row in planning 2719 sublw .240 ; No: bottom row in planning
2720 movff WREG,win_height 2720 movff WREG,win_height
2721 2721
2722 WIN_LEFT .85 ; Full divemenu width 2722 WIN_LEFT .85 ; Full divemenu width
2723 movlw .159-.85+1 2723 movlw .159-.85
2724 movff WREG,win_width 2724 movff WREG,win_width
2725 2725
2726 clrf WREG ; Fill with black 2726 clrf WREG ; Fill with black
2727 movff WREG,win_color1 2727 movff WREG,win_color1
2728 movff WREG,win_color2 2728 movff WREG,win_color2
2729 movff WREG,win_color3
2729 2730
2730 goto DISP_box 2731 goto DISP_box
2731 2732
2732 ;----------------------------------------------------------------------------- 2733 ;-----------------------------------------------------------------------------
2733 ; Display the decoplan (simulator or divemode) for GF model 2734 ; Display the decoplan (simulator or divemode) for GF model