diff code_part1/OSTC_code_asm_part1/definitions.asm @ 124:4f9f477bb452

Rewrite display of decoplan: * Common stuff - fix clearing bottom of list, for fleecker-free updates. - fix "Wait..." topline_box while computing deco in planning - fix 'No Deco" std color and mark last page. - Allow stops up to 240' * ZHL-16c model: - 6 lines max (sim or dive) - Print exceed stops as "add: ddd'" * GF model - 6 lines in divemode, 8 in planning. - any suitable number of pages. - "more..." when not the last page displayed. - fix displaying special depth for last stop (CF#29). - fix 0-time stops: just skip display. - fix end of list when reached the deepest stop. - fix no need to buffer decoplan twice.
author JeanDo
date Sat, 01 Jan 2011 01:57:50 +0100
parents 6a94f96e9cea
children 2907b42c195b
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/definitions.asm	Thu Dec 30 23:45:20 2010 +0100
+++ b/code_part1/OSTC_code_asm_part1/definitions.asm	Sat Jan 01 01:57:50 2011 +0100
@@ -89,11 +89,6 @@
 	win_invert
 	ENDC
 
-; the following is used by the C-code up to 0x0E0!!
-	CBLOCK	0x0E0				;Bank 0
-	gf_decolist_copy:.32
-	ENDC
-
 	CBLOCK	0x100				;Bank 1
 	wreg_temp					;variables used for context saving during ISR 
 	status_temp					
@@ -267,8 +262,6 @@
 	
 	nofly_time:2				; No Fly time in Minutes (Calculated after Dive)
 	
-	deco_status					; =0 if decompression calculation done
-
 	cf_checker_counter			; counts custom functions to check for warning symbol
 	
 	char_I_O2_ratio				; 02 ratio
@@ -295,12 +288,8 @@
 	
 	switch_timeout				; used for hold-down count function
 	
-	temp5						; used in PLED_MultiGF,...
-	temp6						; used in PLED_MultiGF,...
-	temp7						; used in PLED_MultiGF,...
-	temp8						; used in PLED_MultiGF,...
-	temp9						; used in PLED_MultiGF,...
-	temp10						; used in PLED_MultiGF,...
+	decoplan_page				; used in PLED_MultiGF,...
+	temp10						; used in customview
 
 	fatal_error_code			; holds error code value 
 
@@ -334,7 +323,7 @@
  char_O_actual_pointer;					// 0x24F
 	ENDC
 	CBLOCK	0x250				;Bank 2
- char_IO_deco_table:.32;				// 0x250
+ char_O_deco_table:.32;				// 0x250
 	ENDC
 	CBLOCK	0x270				;Bank 2
  char_I_table_deco_done:.32;			// 0x270