Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/menu_gassetup.asm @ 47:56aea9fcdd8f
1.65beta release
author | heinrichsweikamp |
---|---|
date | Thu, 15 Jul 2010 18:09:58 +0200 |
parents | 985607cfb813 |
children | cd5b650920f6 |
comparison
equal
deleted
inserted
replaced
46:8457bb96b860 | 47:56aea9fcdd8f |
---|---|
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 PLED_ClearScreen | 31 call PLED_ClearScreen |
32 call gassetup_sort_gaslist ; Sorts Gaslist according to change depth | 32 call gassetup_sort_gaslist ; Sorts Gaslist according to change depth |
33 clrf timeout_counter2 | 33 clrf timeout_counter2 |
34 bcf sleepmode | 34 bcf sleepmode |
35 bcf menubit2 | 35 bcf menubit2 |
36 bcf menubit3 | 36 bcf menubit3 |
37 call PLED_topline_box | 37 call PLED_topline_box |
1159 ; O2 Current:22 | 1159 ; O2 Current:22 |
1160 ; He Current:23 | 1160 ; He Current:23 |
1161 ; Change: 32 | 1161 ; Change: 32 |
1162 ; Active: 27,4 | 1162 ; Active: 27,4 |
1163 | 1163 |
1164 ; reset Change depths (Important for all users who upgrade from <1.60!) | |
1165 clrf EEADRH | |
1166 clrf EEDATA | |
1167 write_int_eeprom d'118' ; | |
1168 write_int_eeprom d'119' ; | |
1169 write_int_eeprom d'120' ; | |
1170 write_int_eeprom d'121' ; | |
1171 write_int_eeprom d'122' ; | |
1172 movlw d'21' ; O2 Current | |
1173 movwf EEDATA | |
1174 write_int_eeprom d'96' ; | |
1175 write_int_eeprom d'100' ; | |
1176 write_int_eeprom d'104' ; | |
1177 write_int_eeprom d'108' ; | |
1178 write_int_eeprom d'112' ; | |
1179 | |
1180 clrf EEDATA ; He Current | |
1181 write_int_eeprom d'97' ; | |
1182 write_int_eeprom d'101' ; | |
1183 write_int_eeprom d'105' ; | |
1184 write_int_eeprom d'109' ; | |
1185 write_int_eeprom d'113' ; | |
1186 | |
1164 ; Find deepest Gas | 1187 ; Find deepest Gas |
1165 | |
1166 ; Copy all to RAM | 1188 ; Copy all to RAM |
1167 movlw d'3' | 1189 movlw d'3' |
1168 movwf EEADR | 1190 movwf EEADR |
1169 clrf EEADRH | 1191 clrf EEADRH |
1170 lfsr FSR2,letter ; Store gases in Letter buffer (max. 26Byte!) | 1192 lfsr FSR2,letter ; Store gases in Letter buffer (max. 26Byte!) |