Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/strings.asm @ 681:6e456a6398e0
Hardware4 support
author | heinrichsweikamp |
---|---|
date | Fri, 25 Jan 2013 18:00:49 +0100 |
parents | cdba979821ee |
children | d68c6a6b1f38 |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/strings.asm Fri Jan 25 16:31:22 2013 +0100 +++ b/code_part1/OSTC_code_asm_part1/strings.asm Fri Jan 25 18:00:49 2013 +0100 @@ -148,15 +148,16 @@ ;============================================================================= box_std_block: ; Use standard color (CF#35) - call PLED_standard_color + call DISP_standard_color bra box_common box_color_block: ; Use color from WREG - call PLED_set_color + call DISP_set_color bra box_common box_black_block: ; Use black color clrf WREG movff WREG,win_color1 ; Bank-safe addressing. movff WREG,win_color2 + movff WREG,win_color3 box_common: VARARGS_BEGIN VARARGS_GET8 win_top @@ -164,10 +165,10 @@ VARARGS_GET8 win_leftx2 VARARGS_GET8 win_width VARARGS_END - goto PLED_box + goto DISP_box box_frame_std: - call PLED_standard_color + call DISP_standard_color box_frame_common: VARARGS_BEGIN @@ -176,8 +177,8 @@ VARARGS_GET8 win_leftx2 VARARGS_GET8 win_width VARARGS_END - goto PLED_frame + goto DISP_frame box_frame_color: - call PLED_set_color + call DISP_set_color bra box_frame_common