Mercurial > public > hwos_code
comparison src/option_table.asm @ 657:c2e97f94c55f default tip
bump to 10.93 / 3.32
| author | heinrichsweikamp |
|---|---|
| date | Tue, 27 Jan 2026 11:01:04 +0100 |
| parents | 8af5aefbcdaf |
| children |
comparison
equal
deleted
inserted
replaced
| 656:8af5aefbcdaf | 657:c2e97f94c55f |
|---|---|
| 97 db 0xFF, 0xFF ; type : 255 = end of table | 97 db 0xFF, 0xFF ; type : 255 = end of table |
| 98 ENDM | 98 ENDM |
| 99 | 99 |
| 100 ;============================================================================= | 100 ;============================================================================= |
| 101 | 101 |
| 102 extern tPercent, tMeters, tMinutes, tGasDisabled, tbar, tNo, tTrModeOff, tTrPresNone, tDefName, tblank, tLogTunitC, tTissuePresSat | 102 extern tPercent, tMeters, tMinutes, t10Minutes, tGasDisabled, tbar, tNo, tTrModeOff, tTrPresNone, tDefName, tblank, tLogTunitC, tTissuePresSat |
| 103 extern char_I_bottom_time, char_I_bottom_depth | 103 extern char_I_bottom_time, char_I_bottom_depth |
| 104 extern char_I_model | 104 extern char_I_model |
| 105 extern char_I_extra_time | 105 extern char_I_extra_time |
| 106 extern char_I_SAC_work, char_I_SAC_deco, tLitersMinute | 106 extern char_I_SAC_work, char_I_SAC_deco, tLitersMinute |
| 107 extern char_I_PSCR_drop, char_I_PSCR_lungratio | 107 extern char_I_PSCR_drop, char_I_PSCR_lungratio |
| 328 OPTION_ENUM8 oCaveMode, .2, .0, tOff, 0x105, 0x90, opt_cave_mode ; =1: cave mode switched on | 328 OPTION_ENUM8 oCaveMode, .2, .0, tOff, 0x105, 0x90, opt_cave_mode ; =1: cave mode switched on |
| 329 OPTION_BOOL oGasContingencyDive, .0, 0x106, 0x91, opt_gas_contingency_dive ; =1: dive mode: switch to alternative gas if best gas is depleted | 329 OPTION_BOOL oGasContingencyDive, .0, 0x106, 0x91, opt_gas_contingency_dive ; =1: dive mode: switch to alternative gas if best gas is depleted |
| 330 OPTION_BOOL oGasDensityCheck, .1, 0x107, 0x92, opt_gas_density_check ; gas density is checked (effective in CCR / pSCR modes only) | 330 OPTION_BOOL oGasDensityCheck, .1, 0x107, 0x92, opt_gas_density_check ; gas density is checked (effective in CCR / pSCR modes only) |
| 331 OPTION_ENUM8 oWarningLevel, .2, .0, tLess, 0x108, 0x93, opt_warning_level_divemode ; =0: Less, =1: All | 331 OPTION_ENUM8 oWarningLevel, .2, .0, tLess, 0x108, 0x93, opt_warning_level_divemode ; =0: Less, =1: All |
| 332 OPTION_ENUM8 oTimeFormat, .2, .0, tTimeformat, 0x109, 0x94, opt_timeformat ; =0:24h, =1:12h | 332 OPTION_ENUM8 oTimeFormat, .2, .0, tTimeformat, 0x109, 0x94, opt_timeformat ; =0:24h, =1:12h |
| 333 OPTION_UINT8 oScrubTmrTime, .6, .36, .12, t10Minutes, 0x10A, 0x95, opt_ScrubberTime ; Scrubber timer Time (in 10min increments) | |
| 334 OPTION_BOOL oEnable_ScrubTmr, .0, 0x10B, 0x96, opt_ScrubTmrEnable ; =1: Use the Scrubber Timer, =0: Ignore the Scrubber Timer | |
| 335 OPTION_UINT8 oScubTmrCounter_LOW, .0, .255, .0, nounit, 0x10C, 0x97, opt_scrubber_timer_mins+0 ; Actual scrubber time (LOW) | |
| 336 OPTION_UINT8 oScubTmrCounter_HIGH,.0, .255, .0, nounit, 0x10D, 0x98, opt_scrubber_timer_mins+1 ; Actual scrubber time (HIGH) | |
| 337 OPTION_UINT8 oscrubber_timer_day, .0, .255, .0, nounit, 0x10E, 0x99, opt_scrubber_timer_day ; Last restart date | |
| 338 OPTION_UINT8 oscrubber_timer_month,.0, .255, .0, nounit, 0x10F, 0x9A, opt_scrubber_timer_month ; Last restart date | |
| 339 OPTION_UINT8 oscrubber_timer_year, .0, .255, .0, nounit, 0x110, 0x9B, opt_scrubber_timer_year ; Last restart date | |
| 333 ; +---------------------------------------------------------------------------------------------------------------------------------------------+ | 340 ; +---------------------------------------------------------------------------------------------------------------------------------------------+ |
| 334 ; | . | | 341 ; | . | |
| 335 ; | /|\ | | 342 ; | /|\ | |
| 336 ; | | add new options here! | | 343 ; | | add new options here! | |
| 337 ; | | EEPROM address min: 0x012, max: 0x1FF, last used: 0x109, spare: 0x0B7-0x0B9, 0x0F5-0x0F6, disused: 0x0A8, 0x0CE | | 344 ; | | EEPROM address min: 0x012, max: 0x1FF, last used: 0x110, spare: 0x0B7-0x0B9, 0x0F5-0x0F6, disused: 0x0A8, 0x0CE | |
| 338 ; | | serial address min: 0x20, max: 0xF9, last used: 0x94, spare: 0x84 (0xFA - 0xFE are reserved for internal use) | | 345 ; | | serial address min: 0x20, max: 0xF9, last used: 0x9B, spare: 0x84 (0xFA - 0xFE are reserved for internal use) | |
| 339 ; +---------------------------------------------------------------------------------------------------------------------------------------------+ | 346 ; +---------------------------------------------------------------------------------------------------------------------------------------------+ |
| 340 | 347 |
| 341 ; ppO2 warnings, sorted by ppO2 levels | 348 ; ppO2 warnings, sorted by ppO2 levels |
| 342 OPTION_UINT8p10 oPPO2Min, ppo2_warning_low_lowest, ppo2_warning_low_highest, ppo2_warning_low_default, nounit, 0x022, 0x23, char_I_ppO2_min ; ppO2 min on OC and for pure diluent in CCR | 349 OPTION_UINT8p10 oPPO2Min, ppo2_warning_low_lowest, ppo2_warning_low_highest, ppo2_warning_low_default, nounit, 0x022, 0x23, char_I_ppO2_min ; ppO2 min on OC and for pure diluent in CCR |
| 343 OPTION_UINT8p10 oPPO2MinCC, ppo2_warning_loop_lowest, ppo2_warning_loop_highest, ppo2_warning_loop_default, nounit, 0x0BE, 0x4D, char_I_ppO2_min_loop ; ppO2 min on Loop and for pure diluent in pSCR | 350 OPTION_UINT8p10 oPPO2MinCC, ppo2_warning_loop_lowest, ppo2_warning_loop_highest, ppo2_warning_loop_default, nounit, 0x0BE, 0x4D, char_I_ppO2_min_loop ; ppO2 min on Loop and for pure diluent in pSCR |
