comparison src/comm.asm @ 399:db25f2028074

CHANGE: New segmented speed graph in divemode NEW: Safety Stop can be configured (Start-, End- and reset-depth + length of stop) via PC
author heinrichsweikamp
date Tue, 24 Nov 2015 16:22:52 +0100
parents 61984f91174a
children 789230298511
comparison
equal deleted inserted replaced
398:1f2e35f5a5aa 399:db25f2028074
1037 movff opt_vsigraph, TXREG1 ; RCREG1=0x40 1037 movff opt_vsigraph, TXREG1 ; RCREG1=0x40
1038 dcfsnz WREG 1038 dcfsnz WREG
1039 movff opt_showppo2, TXREG1 ; RCREG1=0x41 1039 movff opt_showppo2, TXREG1 ; RCREG1=0x41
1040 dcfsnz WREG 1040 dcfsnz WREG
1041 movff opt_temperature_adjust, TXREG1 ; RCREG1=0x42 1041 movff opt_temperature_adjust, TXREG1 ; RCREG1=0x42
1042 1042 dcfsnz WREG
1043 movff opt_safety_stop_length, TXREG1 ; RCREG1=0x43
1044 dcfsnz WREG
1045 movff opt_safety_stop_start, TXREG1 ; RCREG1=0x44
1046 dcfsnz WREG
1047 movff opt_safety_stop_end, TXREG1 ; RCREG1=0x45
1048 dcfsnz WREG
1049 movff opt_safety_stop_reset, TXREG1 ; RCREG1=0x46
1043 1050
1044 comm_read_abort: 1051 comm_read_abort:
1045 comm_read_done: 1052 comm_read_done:
1046 bra comm_download_mode0 ; Done. Loop with timeout reset 1053 bra comm_download_mode0 ; Done. Loop with timeout reset
1047 1054
1328 movff RCREG1, opt_vsigraph ; RCREG1=0x40 1335 movff RCREG1, opt_vsigraph ; RCREG1=0x40
1329 dcfsnz WREG 1336 dcfsnz WREG
1330 movff RCREG1, opt_showppo2 ; RCREG1=0x41 1337 movff RCREG1, opt_showppo2 ; RCREG1=0x41
1331 dcfsnz WREG 1338 dcfsnz WREG
1332 movff RCREG1, opt_temperature_adjust ; RCREG1=0x42 1339 movff RCREG1, opt_temperature_adjust ; RCREG1=0x42
1340 dcfsnz WREG
1341 movff RCREG1, opt_safety_stop_length ; RCREG1=0x43
1342 dcfsnz WREG
1343 movff RCREG1, opt_safety_stop_start ; RCREG1=0x44
1344 dcfsnz WREG
1345 movff RCREG1, opt_safety_stop_end ; RCREG1=0x45
1346 dcfsnz WREG
1347 movff RCREG1, opt_safety_stop_reset ; RCREG1=0x46
1333 1348
1334 1349
1335 comm_write_abort: 1350 comm_write_abort:
1336 ; Check Options, gases and diluents 1351 ; Check Options, gases and diluents
1337 call option_check_all ; Check all options (and reset if not within their min/max boundaries) 1352 call option_check_all ; Check all options (and reset if not within their min/max boundaries)