Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/menu_reset.asm @ 157:54cc1346ac15
1.80RC
author | heinrichsweikamp |
---|---|
date | Tue, 18 Jan 2011 07:39:41 +0100 |
parents | 87a53efbb5ba |
children | e26f49674956 |
comparison
equal
deleted
inserted
replaced
156:3f4d60385f9c | 157:54cc1346ac15 |
---|---|
142 CF_DEFAULT CF_BOOL, d'0', 0, 0 ; show_voltage_value =1 Show value instead of symbol, =0 Show Symbol | 142 CF_DEFAULT CF_BOOL, d'0', 0, 0 ; show_voltage_value =1 Show value instead of symbol, =0 Show Symbol |
143 | 143 |
144 ;---- BANK1 custom function defaults ------------------------------------- | 144 ;---- BANK1 custom function defaults ------------------------------------- |
145 cf_default_table1: | 145 cf_default_table1: |
146 ; DEFAULT MIN MAX | 146 ; DEFAULT MIN MAX |
147 CF_DEFAULT CF_PERCENT, d'30', d'10', d'90' ; GF_low_default 30% | 147 CF_DEFAULT CF_PERCENT, d'30', d'5', d'90' ; GF_low_default 30% |
148 CF_DEFAULT CF_PERCENT, d'90', d'30', d'95' ; GF_high_default 90% | 148 CF_DEFAULT CF_PERCENT, d'90', d'30', d'95' ; GF_high_default 90% |
149 CF_DEFAULT CF_COLOR, d'199', 0, 0 ; color_battery_surface Color Battery sign: Deep blue | 149 CF_DEFAULT CF_COLOR, d'199', 0, 0 ; color_battery_surface Color Battery sign: Deep blue |
150 CF_DEFAULT CF_COLOR, d'255', 0, 0 ; color_standard1 Color Standard: White | 150 CF_DEFAULT CF_COLOR, d'255', 0, 0 ; color_standard1 Color Standard: White |
151 CF_DEFAULT CF_COLOR, d'62', 0, 0 ; color_divemask Color Divemask: Light green | 151 CF_DEFAULT CF_COLOR, d'62', 0, 0 ; color_divemask Color Divemask: Light green |
152 | 152 |
162 CF_DEFAULT CF_PERCENT, d'101', d'50', d'101' ; color_warn_gf_percent Warn-% | 162 CF_DEFAULT CF_PERCENT, d'101', d'50', d'101' ; color_warn_gf_percent Warn-% |
163 CF_DEFAULT CF_CENTI, d'161', d'100', d'161' ; color_warn_ppo2_cbar ppO2 warn | 163 CF_DEFAULT CF_CENTI, d'161', d'100', d'161' ; color_warn_ppo2_cbar ppO2 warn |
164 | 164 |
165 CF_DEFAULT CF_INT8, d'15', d'7', d'20' ; color_warn_celocity_mmin warn at xx m/min | 165 CF_DEFAULT CF_INT8, d'15', d'7', d'20' ; color_warn_celocity_mmin warn at xx m/min |
166 CF_DEFAULT CF_SEC, d'42', d'0', d'240' ; time_correction_value_default Adds to Seconds on Midnight | 166 CF_DEFAULT CF_SEC, d'42', d'0', d'240' ; time_correction_value_default Adds to Seconds on Midnight |
167 CF_DEFAULT CF_BOOL, d'1', 0, 0 ; CF#49 Show Altimeter in surface mode | 167 CF_DEFAULT CF_BOOL, d'0', 0, 0 ; CF#49 Show Altimeter in surface mode |
168 CF_DEFAULT CF_BOOL, d'0', 0, 0 ; CF50 Show Log-Marker | 168 CF_DEFAULT CF_BOOL, d'0', 0, 0 ; CF50 Show Log-Marker |
169 CF_DEFAULT CF_BOOL, d'1', 0, 0 ; CF51 Show Stopwatch | 169 CF_DEFAULT CF_BOOL, d'1', 0, 0 ; CF51 Show Stopwatch |
170 | 170 |
171 CF_DEFAULT CF_BOOL, d'1', 0, 0 ; CF52 Show Tissue Graph in Divemode | 171 CF_DEFAULT CF_BOOL, d'1', 0, 0 ; CF52 Show Tissue Graph in Divemode |
172 CF_DEFAULT CF_BOOL, d'0', 0, 0 ; CF53 Show Laeding Tissue in Divemode | 172 CF_DEFAULT CF_BOOL, d'0', 0, 0 ; CF53 Show Laeding Tissue in Divemode |
334 clrf EEDATA | 334 clrf EEDATA |
335 write_int_eeprom d'34' ; reset deco model to ZH-L16 | 335 write_int_eeprom d'34' ; reset deco model to ZH-L16 |
336 clrf EEDATA | 336 clrf EEDATA |
337 write_int_eeprom d'35' ; Do not use O2 Sensor in CC Modes | 337 write_int_eeprom d'35' ; Do not use O2 Sensor in CC Modes |
338 | 338 |
339 movlw d'0' | |
340 clrf EEDATA | 339 clrf EEDATA |
341 write_int_eeprom d'39' ; Disable Debugbode | 340 write_int_eeprom d'39' ; Disable Debugbode |
342 clrf EEDATA | 341 clrf EEDATA |
343 write_int_eeprom d'90' ; Disable Brightness offset? (Dim=1, Normal = 0) | 342 write_int_eeprom d'90' ; Disable Brightness offset? (Dim=1, Normal = 0) |
344 | 343 |
345 movlw d'1' | 344 movlw d'1' |
345 movwf EEDATA | |
346 write_int_eeprom d'91' ; Reset Date format to DD.MM.YY | 346 write_int_eeprom d'91' ; Reset Date format to DD.MM.YY |
347 | 347 |
348 movlw d'100' | 348 movlw d'100' |
349 movwf EEDATA | |
349 write_int_eeprom d'26' ; Salinity default: 1.00 kg/l | 350 write_int_eeprom d'26' ; Salinity default: 1.00 kg/l |
350 | 351 |
351 movlw b'00011111' | 352 movlw b'00011111' |
352 movwf EEDATA | 353 movwf EEDATA |
353 write_int_eeprom d'27' ; reset active gas flags | 354 write_int_eeprom d'27' ; reset active gas flags |