comparison src/comm.asm @ 424:0760850e0fe9

ignore 0x47 for standard hwOS
author heinrichsweikamp
date Thu, 12 May 2016 14:58:32 +0200
parents ccaaac45b61a
children 8f8151bb53bb
comparison
equal deleted inserted replaced
423:ccaaac45b61a 424:0760850e0fe9
1048 movff opt_safety_stop_start, TXREG1 ; RCREG1=0x44 1048 movff opt_safety_stop_start, TXREG1 ; RCREG1=0x44
1049 dcfsnz WREG 1049 dcfsnz WREG
1050 movff opt_safety_stop_end, TXREG1 ; RCREG1=0x45 1050 movff opt_safety_stop_end, TXREG1 ; RCREG1=0x45
1051 dcfsnz WREG 1051 dcfsnz WREG
1052 movff opt_safety_stop_reset, TXREG1 ; RCREG1=0x46 1052 movff opt_safety_stop_reset, TXREG1 ; RCREG1=0x46
1053 1053 dcfsnz WREG
1054 clrf TXREG1 ; RCREG1=0x47, ignore conservatism for standard hwOS
1055
1054 comm_read_abort: 1056 comm_read_abort:
1055 comm_read_done: 1057 comm_read_done:
1056 bra comm_download_mode0 ; Done. Loop with timeout reset 1058 bra comm_download_mode0 ; Done. Loop with timeout reset
1057 1059
1058 comm_read_setting_wait: 1060 comm_read_setting_wait:
1346 movff RCREG1, opt_safety_stop_start ; RCREG1=0x44 1348 movff RCREG1, opt_safety_stop_start ; RCREG1=0x44
1347 dcfsnz WREG 1349 dcfsnz WREG
1348 movff RCREG1, opt_safety_stop_end ; RCREG1=0x45 1350 movff RCREG1, opt_safety_stop_end ; RCREG1=0x45
1349 dcfsnz WREG 1351 dcfsnz WREG
1350 movff RCREG1, opt_safety_stop_reset ; RCREG1=0x46 1352 movff RCREG1, opt_safety_stop_reset ; RCREG1=0x46
1353 dcfsnz WREG
1354 nop ; RCREG1=0x47, ignore conservatism for standard hwOS
1351 1355
1352 1356
1353 comm_write_abort: 1357 comm_write_abort:
1354 ; Check Options, gases and diluents 1358 ; Check Options, gases and diluents
1355 call option_check_all ; Check all options (and reset if not within their min/max boundaries) 1359 call option_check_all ; Check all options (and reset if not within their min/max boundaries)