diff code_part1/OSTC_code_asm_part1/simulator.asm @ 108:2a31948dbcb7

Display TTS in simulator decoplan
author JeanDo
date Mon, 20 Dec 2010 20:42:20 +0100
parents df2d3b28947f
children 14a074e1a375
line wrap: on
line diff
--- 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