comparison src/tft_outputs.asm @ 175:d097e10b383b

CHANGE: Draw a frame around the dive mode menu
author heinrichsweikamp
date Mon, 06 Oct 2014 11:48:23 +0200
parents 8bcb064b4fb8
children abc429e8b46a
comparison
equal deleted inserted replaced
174:932e91074bdb 175:d097e10b383b
2054 return 2054 return
2055 2055
2056 global TFT_dillist_surfmode 2056 global TFT_dillist_surfmode
2057 TFT_dillist_surfmode: ; Displays Diluent List 2057 TFT_dillist_surfmode: ; Displays Diluent List
2058 bsf short_gas_decriptions ; =1: Use short versions of gaslist_strcat_gas_mod and gaslist_strcat_setpoint 2058 bsf short_gas_decriptions ; =1: Use short versions of gaslist_strcat_gas_mod and gaslist_strcat_setpoint
2059 ;Dil 1 2059 bsf ccr_diluent_setup ; Use CCR Diluents...
2060 WIN_SMALL surf_gaslist_column,surf_gaslist_row 2060 rcall TFT_gaslist_surfmode ; Use OC/BAIL routine
2061 movlw .5 2061 bcf ccr_diluent_setup ; Clear flag
2062 movwf PRODL
2063 call gaslist_strcat_gas_mod ;Append gas description of gas #PRODL (0-4) to current string
2064 STRCAT_PRINT ""
2065 ;Dil 2
2066 WIN_SMALL surf_gaslist_column,surf_gaslist_row+(surf_gaslist_spacing*.1)
2067 movlw .6
2068 movwf PRODL
2069 call gaslist_strcat_gas_mod ;Append gas description of gas #PRODL (0-4) to current string
2070 STRCAT_PRINT ""
2071 ;Dil 3
2072 WIN_SMALL surf_gaslist_column,surf_gaslist_row+(surf_gaslist_spacing*.2)
2073 movlw .7
2074 movwf PRODL
2075 call gaslist_strcat_gas_mod ;Append gas description of gas #PRODL (0-4) to current string
2076 STRCAT_PRINT ""
2077 ;Dil 4
2078 WIN_SMALL surf_gaslist_column,surf_gaslist_row+(surf_gaslist_spacing*.3)
2079 movlw .8
2080 movwf PRODL
2081 call gaslist_strcat_gas_mod ;Append gas description of gas #PRODL (0-4) to current string
2082 STRCAT_PRINT ""
2083 ;Dil 5
2084 WIN_SMALL surf_gaslist_column,surf_gaslist_row+(surf_gaslist_spacing*.4)
2085 movlw .9
2086 movwf PRODL
2087 call gaslist_strcat_gas_mod ;Append gas description of gas #PRODL (0-4) to current string
2088 STRCAT_PRINT ""
2089 bcf leftbind
2090 return 2062 return
2091 2063
2092 global TFT_depth 2064 global TFT_depth
2093 TFT_depth: 2065 TFT_depth:
2094 SAFE_2BYTE_COPY rel_pressure, lo 2066 SAFE_2BYTE_COPY rel_pressure, lo