comparison code_part1/OSTC_code_asm_part1/menu_gassetup.asm @ 35:d4f0c097a7fa

preparations for new gaslist
author heinrichsweikamp
date Tue, 25 May 2010 21:42:23 +0200
parents 3cf8af30b36e
children 3c38ba950dfb
comparison
equal deleted inserted replaced
34:5dbdc08e5460 35:d4f0c097a7fa
26 menu_gassetup: 26 menu_gassetup:
27 movlw d'1' 27 movlw d'1'
28 movwf menupos 28 movwf menupos
29 29
30 menu_gassetup_prelist: 30 menu_gassetup_prelist:
31 call gassetup_sort_gaslist ; Sorts Gaslist according to change depth
32
31 call PLED_ClearScreen 33 call PLED_ClearScreen
32 clrf timeout_counter2 34 clrf timeout_counter2
33 bcf sleepmode 35 bcf sleepmode
34 bcf menubit2 36 bcf menubit2
35 bcf menubit3 37 bcf menubit3
1114 movwf POSTINC2 1116 movwf POSTINC2
1115 movlw ' ' 1117 movlw ' '
1116 movwf POSTINC2 1118 movwf POSTINC2
1117 call word_processor 1119 call word_processor
1118 return 1120 return
1121
1122
1123 gassetup_sort_gaslist: ; Sorts Gaslist according to change depth
1124 ; EEPROM Locations of Gaslist
1125 ; Gas1:
1126 ; O2 Default:4
1127 ; He Default:5
1128 ; O2 Current:6
1129 ; He Current:7
1130 ; Change: 28
1131 ; Active: 27,0
1132
1133 ; Gas2:
1134 ; O2 Default:8
1135 ; He Default:9
1136 ; O2 Current:10
1137 ; He Current:11
1138 ; Change: 29
1139 ; Active: 27,1
1140
1141 ; Gas3:
1142 ; O2 Default:12
1143 ; He Default:13
1144 ; O2 Current:14
1145 ; He Current:15
1146 ; Change: 30
1147 ; Active: 27,2
1148
1149 ; Gas4:
1150 ; O2 Default:16
1151 ; He Default:17
1152 ; O2 Current:18
1153 ; He Current:19
1154 ; Change: 31
1155 ; Active: 27,3
1156
1157 ; Gas5:
1158 ; O2 Default:20
1159 ; He Default:21
1160 ; O2 Current:22
1161 ; He Current:23
1162 ; Change: 32
1163 ; Active: 27,4
1164
1165 ; First Gas: 33 (1-5)
1166
1167 return