diff 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
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/definitions.asm	Sat Jan 22 23:24:12 2011 +0100
+++ b/code_part1/OSTC_code_asm_part1/definitions.asm	Mon Jan 24 23:31:57 2011 +0100
@@ -88,6 +88,11 @@
 ; BANK0 data
 ;
 bank0           udata 0x060     ;Bank 0
+
+                global letter, win_color1, win_top, win_leftx2
+                global win_font, win_invert
+                global win_height, win_width, win_bargraph
+
 letter          res .26         ;letter buffer
 win_color1      res 1
 win_color2      res 1
@@ -159,6 +164,7 @@
 oled3_temp      res 1
 oled4_temp      res 1           ; Used in "Displaytext"
 
+                global hi,lo    ; Make them visible from C-code
 lo              res 1           ; bin to dec conversion routine
 hi              res 1
 lo_temp         res 1