comparison code_part1/OSTC_code_asm_part1/outputs.asm @ 717:91ae251d379f

"ostc3-style" menu titles
author heinrichsweikamp
date Thu, 23 May 2013 10:59:34 +0200
parents d68c6a6b1f38
children ad5ab9910820
comparison
equal deleted inserted replaced
716:d333c8462844 717:91ae251d379f
1060 movff WREG,win_top 1060 movff WREG,win_top
1061 STRCPY_PRINT "\xB7" 1061 STRCPY_PRINT "\xB7"
1062 return 1062 return
1063 1063
1064 DISP_menu_mask: 1064 DISP_menu_mask:
1065 call DISP_topline_box 1065 call DISP_divemask_color
1066 WIN_INVERT .1 ; Init new Wordprocessor
1067 DISPLAYTEXT .5 ; Menu: 1066 DISPLAYTEXT .5 ; Menu:
1068 WIN_INVERT .0 ; Init new Wordprocessor 1067 call DISP_standard_color
1069 DISPLAYTEXT .6 ; Logbook 1068 DISPLAYTEXT .6 ; Logbook
1070 DISPLAYTEXT .7 ; Gas Setup 1069 DISPLAYTEXT .7 ; Gas Setup
1071 DISPLAYTEXT .9 ; Reset all 1070 DISPLAYTEXT .9 ; Reset all
1072 DISPLAYTEXT .10 ; Setup... 1071 DISPLAYTEXT .10 ; Setup...
1073 DISPLAYTEXT .142 ; More... 1072 DISPLAYTEXT .142 ; More...
1092 call word_processor 1091 call word_processor
1093 call DISP_standard_color 1092 call DISP_standard_color
1094 return 1093 return
1095 1094
1096 DISP_setup_menu_mask: 1095 DISP_setup_menu_mask:
1097 call DISP_topline_box 1096 call DISP_divemask_color
1098 WIN_INVERT .1 ; Init new Wordprocessor
1099 DISPLAYTEXT .98 ; Setup Menu: 1097 DISPLAYTEXT .98 ; Setup Menu:
1100 WIN_INVERT .0 ; Init new Wordprocessor 1098 call DISP_standard_color
1101 DISPLAYTEXT .99 ; Custom FunctionsI 1099 DISPLAYTEXT .99 ; Custom FunctionsI
1102 DISPLAYTEXT .153 ; Custom FunctionsII 1100 DISPLAYTEXT .153 ; Custom FunctionsII
1103 DISPLAYTEXTH .295 ; Custom FunctionsIII 1101 DISPLAYTEXTH .295 ; Custom FunctionsIII
1104 DISPLAYTEXT .100 ; Decotype: 1102 DISPLAYTEXT .100 ; Decotype:
1105 DISPLAYTEXT .142 ; More... 1103 DISPLAYTEXT .142 ; More...
1106 DISPLAYTEXT .11 ; Exit 1104 DISPLAYTEXT .11 ; Exit
1107 return 1105 return
1108 1106
1109 DISP_ccr_setup_menu_mask: 1107 DISP_ccr_setup_menu_mask:
1110 call DISP_topline_box 1108 call DISP_divemask_color
1111 WIN_INVERT .1 ; Init new Wordprocessor
1112 DISPLAYTEXT .111 ; CCR Setup Menu 1109 DISPLAYTEXT .111 ; CCR Setup Menu
1113 WIN_INVERT .0 ; Init new Wordprocessor 1110 call DISP_standard_color
1114 DISPLAYTEXT .229 ; Diluent Setup 1111 DISPLAYTEXT .229 ; Diluent Setup
1115 DISPLAYTEXT .230 ; Setpoint Setup 1112 DISPLAYTEXT .230 ; Setpoint Setup
1116 DISPLAYTEXT .11 ; Exit 1113 DISPLAYTEXT .11 ; Exit
1117 return 1114 return
1118 1115
1119 1116
1120 DISP_more_setup_menu_mask: 1117 DISP_more_setup_menu_mask:
1121 call DISP_topline_box 1118 call DISP_divemask_color
1122 WIN_INVERT .1 ; Init new Wordprocessor
1123 DISPLAYTEXTH .258 ; Setup Menu 2: 1119 DISPLAYTEXTH .258 ; Setup Menu 2:
1124 WIN_INVERT .0 ; Init new Wordprocessor 1120 call DISP_standard_color
1125 DISPLAYTEXTH .257 ; Date format: 1121 DISPLAYTEXTH .257 ; Date format:
1126 DISPLAYTEXT .129 ; Debug: 1122 DISPLAYTEXT .129 ; Debug:
1127 DISPLAYTEXT .187 ; Show License 1123 DISPLAYTEXT .187 ; Show License
1128 DISPLAYTEXTH .276 ; Salinity: 1124 DISPLAYTEXTH .276 ; Salinity:
1129 DISPLAYTEXTH .280 ; Brightness: 1125 DISPLAYTEXTH .280 ; Brightness:
1130 DISPLAYTEXT .11 ; Exit 1126 DISPLAYTEXT .11 ; Exit
1131 return 1127 return
1132 1128
1133 DISP_more_menu_mask: 1129 DISP_more_menu_mask:
1134 call DISP_topline_box 1130 call DISP_divemask_color
1135 WIN_INVERT .1 ; Init new Wordprocessor
1136 DISPLAYTEXT .144 ; Menu 2: 1131 DISPLAYTEXT .144 ; Menu 2:
1137 WIN_INVERT .0 ; Init new Wordprocessor 1132 call DISP_standard_color
1138 DISPLAYTEXT .8 ; Set Time 1133 DISPLAYTEXT .8 ; Set Time
1139 DISPLAYTEXT .110 ; Const. ppO2 Setup 1134 DISPLAYTEXT .110 ; Const. ppO2 Setup
1140 DISPLAYTEXT .113 ; Battery Info 1135 DISPLAYTEXT .113 ; Battery Info
1141 DISPLAYTEXT .247 ; Simulator 1136 DISPLAYTEXT .247 ; Simulator
1142 DISPLAYTEXTH .287 ; Altimeter 1137 DISPLAYTEXTH .287 ; Altimeter
1143 DISPLAYTEXT .11 ; Exit 1138 DISPLAYTEXT .11 ; Exit
1144 return 1139 return
1145 1140
1146 DISP_reset_menu_mask: 1141 DISP_reset_menu_mask:
1147 call DISP_topline_box 1142 call DISP_divemask_color
1148 WIN_INVERT .1 ; Init new Wordprocessor
1149 DISPLAYTEXT .28 ; Reset Menu 1143 DISPLAYTEXT .28 ; Reset Menu
1150 WIN_INVERT .0 ; Init new Wordprocessor 1144 call DISP_standard_color
1151 DISPLAYTEXT .21 ; Cancel Reset 1145 DISPLAYTEXT .21 ; Cancel Reset
1152 DISPLAYTEXT .245 ; Reset CF,Gases & Deco 1146 DISPLAYTEXT .245 ; Reset CF,Gases & Deco
1153 DISPLAYTEXTH .284 ; Reset Logbook 1147 DISPLAYTEXTH .284 ; Reset Logbook
1154 DISPLAYTEXTH .285 ; Reboot OSTC 1148 DISPLAYTEXTH .285 ; Reboot OSTC
1155 DISPLAYTEXTH .286 ; Reset Decodata 1149 DISPLAYTEXTH .286 ; Reset Decodata
1156 DISPLAYTEXT .11 ; Exit 1150 DISPLAYTEXT .11 ; Exit
1157 return 1151 return
1158 1152
1159 DISP_simulator_mask: 1153 DISP_simulator_mask:
1160 call DISP_topline_box 1154 call DISP_divemask_color
1161 WIN_INVERT .1 ; Init new Wordprocessor
1162 DISPLAYTEXT .248 ; OSTC Simulator 1155 DISPLAYTEXT .248 ; OSTC Simulator
1163 WIN_INVERT .0 ; Init new Wordprocessor 1156 call DISP_standard_color
1164 DISPLAYTEXTH .307 ; Interval: 1157 DISPLAYTEXTH .307 ; Interval:
1165 DISPLAYTEXT .249 ; Start Dive 1158 DISPLAYTEXT .249 ; Start Dive
1166 DISPLAYTEXTH .277 ; Bottom Time: 1159 DISPLAYTEXTH .277 ; Bottom Time:
1167 DISPLAYTEXTH .278 ; Max. Depth: 1160 DISPLAYTEXTH .278 ; Max. Depth:
1168 DISPLAYTEXTH .279 ; Calculate Deco 1161 DISPLAYTEXTH .279 ; Calculate Deco
1693 1686
1694 DISP_confirmbox: 1687 DISP_confirmbox:
1695 WIN_BOX_BLACK .68, .146, .34, .101 ;top, bottom, left, right 1688 WIN_BOX_BLACK .68, .146, .34, .101 ;top, bottom, left, right
1696 WIN_FRAME_STD .70, .144, .35, .100 1689 WIN_FRAME_STD .70, .144, .35, .100
1697 1690
1691 call DISP_divemask_color
1698 DISPLAYTEXT .143 ; Confirm: 1692 DISPLAYTEXT .143 ; Confirm:
1693 call DISP_standard_color
1699 DISPLAYTEXT .145 ; Cancel 1694 DISPLAYTEXT .145 ; Cancel
1700 DISPLAYTEXT .146 ; OK! 1695 DISPLAYTEXT .146 ; OK!
1701 1696
1702 movlw d'1' 1697 movlw d'1'
1703 movwf menupos 1698 movwf menupos
3364 return 3359 return
3365 3360
3366 ;============================================================================= 3361 ;=============================================================================
3367 3362
3368 DISP_startupscreen1: 3363 DISP_startupscreen1:
3369 call DISP_topline_box 3364 call DISP_divemask_color
3370 WIN_INVERT .1 ; Init new Wordprocessor
3371 DISPLAYTEXT d'3' ; "HeinrichsWeikamp" 3365 DISPLAYTEXT d'3' ; "HeinrichsWeikamp"
3372 WIN_INVERT .0 ; Init new Wordprocessor 3366 call DISP_standard_color
3373 DISPLAYTEXT .68 ; Licence 1/2 3367 DISPLAYTEXT .68 ; Licence 1/2
3374 DISPLAYTEXT .69 3368 DISPLAYTEXT .69
3375 DISPLAYTEXT .70 3369 DISPLAYTEXT .70
3376 DISPLAYTEXT .71 3370 DISPLAYTEXT .71
3377 DISPLAYTEXT .72 3371 DISPLAYTEXT .72
3378 DISPLAYTEXT .73 3372 DISPLAYTEXT .73
3379 DISPLAYTEXT .74 3373 DISPLAYTEXT .74
3380 return 3374 return
3381 3375
3382 DISP_startupscreen2: 3376 DISP_startupscreen2:
3383 call DISP_topline_box 3377 call DISP_divemask_color
3384 WIN_INVERT .1 ; Init new Wordprocessor
3385 DISPLAYTEXT d'3' ; "HeinrichsWeikamp" 3378 DISPLAYTEXT d'3' ; "HeinrichsWeikamp"
3386 WIN_INVERT .0 ; Init new Wordprocessor 3379 call DISP_standard_color
3387 DISPLAYTEXT .75 ; Licence 2/2 3380 DISPLAYTEXT .75 ; Licence 2/2
3388 DISPLAYTEXT .76 3381 DISPLAYTEXT .76
3389 DISPLAYTEXT .77 3382 DISPLAYTEXT .77
3390 DISPLAYTEXT .78 3383 DISPLAYTEXT .78
3391 DISPLAYTEXT .79 3384 DISPLAYTEXT .79
3392 DISPLAYTEXT .80 3385 DISPLAYTEXT .80
3393 DISPLAYTEXT .81 3386 DISPLAYTEXT .81
3394 return 3387 return
3395 3388
3396 DISP_new_cf_warning: 3389 DISP_new_cf_warning:
3397 call DISP_topline_box 3390 call DISP_divemask_color
3398 WIN_INVERT .1 ; Init new Wordprocessor
3399 DISPLAYTEXTH .271 ; New CF added! 3391 DISPLAYTEXTH .271 ; New CF added!
3400 WIN_INVERT .0 ; Init new Wordprocessor 3392 call DISP_standard_color
3401 DISPLAYTEXTH .272 ; New CustomFunctions 3393 DISPLAYTEXTH .272 ; New CustomFunctions
3402 DISPLAYTEXTH .273 ; were added! Check 3394 DISPLAYTEXTH .273 ; were added! Check
3403 DISPLAYTEXTH .274 ; CF I and CF II Menu 3395 DISPLAYTEXTH .274 ; CF I and CF II Menu
3404 DISPLAYTEXTH .275 ; for Details! 3396 DISPLAYTEXTH .275 ; for Details!
3405 return 3397 return