# HG changeset patch
# User JeanDo
# Date 1292874140 -3600
# Node ID 2a31948dbcb7a208937003b6cbcf6d69b36c9621
# Parent  a2b9eca1f396729f1355568f49a7e593b1cf7872
Display TTS in simulator decoplan

diff -r a2b9eca1f396 -r 2a31948dbcb7 code_part1/OSTC_code_asm_part1/pled_outputs.asm
--- a/code_part1/OSTC_code_asm_part1/pled_outputs.asm	Mon Dec 20 18:30:16 2010 +0100
+++ b/code_part1/OSTC_code_asm_part1/pled_outputs.asm	Mon Dec 20 20:42:20 2010 +0100
@@ -2811,7 +2811,7 @@
 	movff	WREG,box_temp+2		; row bottom (0-239)
 	movlw	.082
 	movff	WREG,box_temp+3		; column left (0-159)
-movlw	.160
+    movlw	.160
 	movff	WREG,box_temp+4		; column right (0-159)
 	call	PLED_box
 	return
diff -r a2b9eca1f396 -r 2a31948dbcb7 code_part1/OSTC_code_asm_part1/simulator.asm
--- a/code_part1/OSTC_code_asm_part1/simulator.asm	Mon Dec 20 18:30:16 2010 +0100
+++ b/code_part1/OSTC_code_asm_part1/simulator.asm	Mon Dec 20 20:42:20 2010 +0100
@@ -159,6 +159,14 @@
 	call	divemode_copy_decolist				;copy gf_decolist (0x250:.32) to gf_decolist_copy (0x0E0:.32)
 	call	divemenu_see_decoplan
 
+	WIN_LEFT .0
+	WIN_TOP .160
+	STRCPY  "TTS: "
+	movff   char_O_ascenttime,lo
+ 	bcf		leftbind
+	output_8
+	STRCAT_PRINT    "' "
+
 ;call	enable_rs232
 ;	lfsr	FSR0,0x250
 ;	movlw	0x20