Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/definitions.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 | 8b5b848db4cd |
children | e26f49674956 |
comparison
equal
deleted
inserted
replaced
166:80de93d72a17 | 167:cb055a7d75f3 |
---|---|
86 | 86 |
87 ;============================================================================= | 87 ;============================================================================= |
88 ; BANK0 data | 88 ; BANK0 data |
89 ; | 89 ; |
90 bank0 udata 0x060 ;Bank 0 | 90 bank0 udata 0x060 ;Bank 0 |
91 | |
92 global letter, win_color1, win_top, win_leftx2 | |
93 global win_font, win_invert | |
94 global win_height, win_width, win_bargraph | |
95 | |
91 letter res .26 ;letter buffer | 96 letter res .26 ;letter buffer |
92 win_color1 res 1 | 97 win_color1 res 1 |
93 win_color2 res 1 | 98 win_color2 res 1 |
94 win_top res 1 ; Box/text position (0..239). | 99 win_top res 1 ; Box/text position (0..239). |
95 win_height res 1 ; Box/text height (1..240) | 100 win_height res 1 ; Box/text height (1..240) |
157 oled1_temp res 1 ; Temp variables for display output | 162 oled1_temp res 1 ; Temp variables for display output |
158 oled2_temp res 1 | 163 oled2_temp res 1 |
159 oled3_temp res 1 | 164 oled3_temp res 1 |
160 oled4_temp res 1 ; Used in "Displaytext" | 165 oled4_temp res 1 ; Used in "Displaytext" |
161 | 166 |
167 global hi,lo ; Make them visible from C-code | |
162 lo res 1 ; bin to dec conversion routine | 168 lo res 1 ; bin to dec conversion routine |
163 hi res 1 | 169 hi res 1 |
164 lo_temp res 1 | 170 lo_temp res 1 |
165 hi_temp res 1 | 171 hi_temp res 1 |
166 temp3 res 1 ; used in valconv math | 172 temp3 res 1 ; used in valconv math |