changeset 108:2a31948dbcb7

Display TTS in simulator decoplan
author JeanDo
date Mon, 20 Dec 2010 20:42:20 +0100
parents a2b9eca1f396
children 6e635bf5b7a7
files code_part1/OSTC_code_asm_part1/pled_outputs.asm code_part1/OSTC_code_asm_part1/simulator.asm
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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