diff code_part1/OSTC_code_asm_part1/pled_outputs.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 494587193f5d
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/pled_outputs.asm	Sat Jan 22 23:24:12 2011 +0100
+++ b/code_part1/OSTC_code_asm_part1/pled_outputs.asm	Mon Jan 24 23:31:57 2011 +0100
@@ -28,14 +28,17 @@
 ; known bugs:
 ; ToDo:	More comments
 
+    global   PLED_divemask_color
 PLED_divemask_color:
 	GETCUSTOM8	d'36'			; Divemask output color
 	bra		PLED_standard_color_0
 
+    global  PLED_warnings_color
 PLED_warnings_color:
 	GETCUSTOM8	d'37'			; Warnings output color
 	bra		PLED_standard_color_0
 
+    global  PLED_standard_color
 PLED_standard_color:
 	GETCUSTOM8	d'35'			; Standard output color
 PLED_standard_color_0:			; Common entry point
@@ -133,7 +136,6 @@
 	call	PLED_warnings_color
 	return
 
-
 PLED_color_code_ceiling:
 	GETCUSTOM8	d'40'			; =1: Warn at all?
 	movwf	lo