comparison 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
comparison
equal deleted inserted replaced
107:a2b9eca1f396 108:2a31948dbcb7
156 simulator_show_decoplan: 156 simulator_show_decoplan:
157 call PLED_ClearScreen 157 call PLED_ClearScreen
158 call PLED_simdata_screen 158 call PLED_simdata_screen
159 call divemode_copy_decolist ;copy gf_decolist (0x250:.32) to gf_decolist_copy (0x0E0:.32) 159 call divemode_copy_decolist ;copy gf_decolist (0x250:.32) to gf_decolist_copy (0x0E0:.32)
160 call divemenu_see_decoplan 160 call divemenu_see_decoplan
161
162 WIN_LEFT .0
163 WIN_TOP .160
164 STRCPY "TTS: "
165 movff char_O_ascenttime,lo
166 bcf leftbind
167 output_8
168 STRCAT_PRINT "' "
161 169
162 ;call enable_rs232 170 ;call enable_rs232
163 ; lfsr FSR0,0x250 171 ; lfsr FSR0,0x250
164 ; movlw 0x20 172 ; movlw 0x20
165 ; movwf wait_temp 173 ; movwf wait_temp