Mercurial > public > hwos_code
comparison src/tft_outputs.asm @ 116:737d6f488729
show decomode in logbook and simulator w/o sensor type
author | heinrichsweikamp |
---|---|
date | Mon, 23 Jun 2014 18:11:49 +0200 |
parents | f3062a611eef |
children | 6c577737c34e |
comparison
equal
deleted
inserted
replaced
115:72259a79eac2 | 116:737d6f488729 |
---|---|
2330 call customview_show_mix ; Put "Nxlo", "Txlo/hi", "Air" or "O2" into Postinc2 | 2330 call customview_show_mix ; Put "Nxlo", "Txlo/hi", "Air" or "O2" into Postinc2 |
2331 STRCAT_PRINT "" | 2331 STRCAT_PRINT "" |
2332 return | 2332 return |
2333 | 2333 |
2334 global TFT_display_decotype_surface | 2334 global TFT_display_decotype_surface |
2335 global TFT_display_decotype_surface1 ; Used from logbook! | |
2336 TFT_display_decotype_surface: | 2335 TFT_display_decotype_surface: |
2337 WIN_STD surf_decotype_column,surf_decotype_row | 2336 WIN_STD surf_decotype_column,surf_decotype_row |
2338 WIN_COLOR color_lightblue | 2337 WIN_COLOR color_lightblue |
2339 lfsr FSR2,buffer | 2338 lfsr FSR2,buffer |
2340 movff opt_dive_mode,lo ; 0=OC, 1=CC, 2=Gauge, 3=Apnea | 2339 movff opt_dive_mode,lo ; 0=OC, 1=CC, 2=Gauge, 3=Apnea |
2341 TFT_display_decotype_surface1: ; Used from logbook! | |
2342 tstfsz lo | 2340 tstfsz lo |
2343 bra TFT_display_decotype_surface2 | 2341 bra TFT_display_decotype_surface2 |
2342 TFT_display_decotype_surface0: | |
2344 STRCAT_TEXT_PRINT tDvOC ; OC | 2343 STRCAT_TEXT_PRINT tDvOC ; OC |
2345 bra TFT_display_decotype_exit | 2344 bra TFT_display_decotype_exit |
2346 TFT_display_decotype_surface2: | 2345 TFT_display_decotype_surface2: |
2347 decfsz lo,F | 2346 decfsz lo,F |
2348 bra TFT_display_decotype_surface3 | 2347 bra TFT_display_decotype_surface3 |
2361 STRCAT_PRINT "" | 2360 STRCAT_PRINT "" |
2362 bra TFT_display_decotype_exit | 2361 bra TFT_display_decotype_exit |
2363 TFT_display_decotype_surface3: | 2362 TFT_display_decotype_surface3: |
2364 decfsz lo,F | 2363 decfsz lo,F |
2365 bra TFT_display_decotype_surface4 | 2364 bra TFT_display_decotype_surface4 |
2365 TFT_display_decotype_surface3_1: | |
2366 STRCAT_TEXT_PRINT tDvGauge ; Gauge | 2366 STRCAT_TEXT_PRINT tDvGauge ; Gauge |
2367 bra TFT_display_decotype_exit | 2367 bra TFT_display_decotype_exit |
2368 TFT_display_decotype_surface4: | 2368 TFT_display_decotype_surface4: |
2369 STRCAT_TEXT_PRINT tDvApnea ; Apnea | 2369 STRCAT_TEXT_PRINT tDvApnea ; Apnea |
2370 TFT_display_decotype_exit: | 2370 TFT_display_decotype_exit: |
2371 call TFT_standard_color | 2371 call TFT_standard_color |
2372 return | 2372 return |
2373 | |
2374 global TFT_display_decotype_surface1 ; Used from logbook! | |
2375 TFT_display_decotype_surface1: ; Used from logbook! | |
2376 tstfsz lo | |
2377 bra TFT_display_decotype_surface1_2 | |
2378 bra TFT_display_decotype_surface0 ;OC | |
2379 TFT_display_decotype_surface1_2: | |
2380 decfsz lo,F | |
2381 bra TFT_display_decotype_surface1_3 | |
2382 STRCAT_TEXT_PRINT tDvCC ; CC (w/o Sensor/Fixed Display) | |
2383 TFT_display_decotype_surface1_3: | |
2384 decfsz lo,F | |
2385 bra TFT_display_decotype_surface4 ; Apnea | |
2386 bra TFT_display_decotype_surface3_1 ; Gauge | |
2373 | 2387 |
2374 ;============================================================================= | 2388 ;============================================================================= |
2375 | 2389 |
2376 global TFT_splist_surfmode ; Show Setpoint list | 2390 global TFT_splist_surfmode ; Show Setpoint list |
2377 extern gaslist_strcat_setpoint | 2391 extern gaslist_strcat_setpoint |