Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/menu_settime.asm @ 681:6e456a6398e0
Hardware4 support
author | heinrichsweikamp |
---|---|
date | Fri, 25 Jan 2013 18:00:49 +0100 |
parents | ab2686087bce |
children | 91ae251d379f |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/menu_settime.asm Fri Jan 25 16:31:22 2013 +0100 +++ b/code_part1/OSTC_code_asm_part1/menu_settime.asm Fri Jan 25 18:00:49 2013 +0100 @@ -25,7 +25,7 @@ menu_settime: - call PLED_ClearScreen + call DISP_ClearScreen call menu_pre_loop_common ; Clear some menu flags, timeout and switches bcf set_minutes @@ -35,7 +35,7 @@ bcf set_month clrf menupos2 - call PLED_topline_box + call DISP_topline_box WIN_INVERT .1 ; Init new Wordprocessor DISPLAYTEXT .29 ; Set Time WIN_INVERT .0 ; Init new Wordprocessor @@ -94,7 +94,7 @@ movff month,convert_value_temp+0 movff day,convert_value_temp+1 movff year,convert_value_temp+2 - call PLED_convert_date ; converts into "DD/MM/YY" or "MM/DD/YY" or "YY/MM/DD" in postinc2 + call DISP_convert_date ; converts into "DD/MM/YY" or "MM/DD/YY" or "YY/MM/DD" in postinc2 STRCAT_PRINT " " return @@ -134,7 +134,7 @@ WIN_TOP .215 movlw (.160-.0)/7 ; full line length, for various translations. movwf temp1 - call PLED_display_clear_common_y1 + call DISP_display_clear_common_y1 movlw d'5' movwf wait_temp @@ -188,7 +188,7 @@ WIN_LEFT .0 WIN_TOP .215 - call PLED_standard_color + call DISP_standard_color lfsr FSR2,letter OUTPUTTEXT .94 ; Set