Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/oled_samsung.asm @ 167:cb055a7d75f3
+ Use overlay local vars.
+ Make all private functions static.
+ Merge calc_tissue 2sec and 1min
+ Merge sim_tissue 1min and 10min
+ Expose basic display utilities for c-code.
+ Prepare stand-alone utilities for p2_main.c testing platform.
+ New c utility: int read_custom_function(cf#)
author | JeanDo |
---|---|
date | Mon, 24 Jan 2011 23:31:57 +0100 |
parents | fc699a7460e6 |
children | 447390289f47 |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/oled_samsung.asm Sat Jan 22 23:24:12 2011 +0100 +++ b/code_part1/OSTC_code_asm_part1/oled_samsung.asm Mon Jan 24 23:31:57 2011 +0100 @@ -311,7 +311,7 @@ ; Inputs: win_top, win_leftx2, win_height, win_width, win_color1, win_color2 ; Outputs: (none) ; Trashed: WREG, PROD, aa_start:2, aa_end:2, win_leftx2, win_width:1 - + global PLED_frame PLED_frame: movff win_top,aa_start+0 ; Backup everything. movff win_height,aa_start+1 @@ -352,6 +352,7 @@ ; Outputs: (none) ; Trashed: WREG, PROD + global PLED_box PLED_box: ;---- Define Window ------------------------------------------------------ movff win_width,WREG @@ -416,6 +417,7 @@ ; PLED_ClearScreen: An optimized version of PLEX_box, for full screen black. ; Trashed: WREG, PROD + global PLED_ClearScreen PLED_ClearScreen: movlw 0x35 ; VerticalStartAddress HIGH:LOW rcall PLED_CmdWrite