comparison src/ghostwriter.asm @ 237:d730302fae75

1.75 release
author heinrichsweikamp
date Thu, 26 Feb 2015 13:13:23 +0100
parents 4b2622e0fd50
children 653a3ab08062
comparison
equal deleted inserted replaced
236:e2ea74646127 237:d730302fae75
613 movf samplingrate,W ; Sampling rate 613 movf samplingrate,W ; Sampling rate
614 btfsc FLAG_apnoe_mode ; Apnoe mode? 614 btfsc FLAG_apnoe_mode ; Apnoe mode?
615 movlw samplingrate_apnoe ; Apnoe sampling rate 615 movlw samplingrate_apnoe ; Apnoe sampling rate
616 rcall ghostwrite_byte_header ; WREG -> Header in ext. flash 616 rcall ghostwrite_byte_header ; WREG -> Header in ext. flash
617 617
618 ; CNS at gebinning of dive 618 ; CNS at beginning of dive
619 movff CNS_start+0,WREG 619 movff CNS_start+0,WREG
620 rcall ghostwrite_byte_header ; WREG -> Header in ext. flash 620 rcall ghostwrite_byte_header ; WREG -> Header in ext. flash
621 movff CNS_start+1,WREG 621 movff CNS_start+1,WREG
622 rcall ghostwrite_byte_header ; WREG -> Header in ext. flash 622 rcall ghostwrite_byte_header ; WREG -> Header in ext. flash
623 ; Gradient factor 623 ; Gradient factor
631 movf lo,W 631 movf lo,W
632 rcall ghostwrite_byte_header ; WREG -> Header in ext. flash 632 rcall ghostwrite_byte_header ; WREG -> Header in ext. flash
633 movf hi,W 633 movf hi,W
634 rcall ghostwrite_byte_header ; WREG -> Header in ext. flash 634 rcall ghostwrite_byte_header ; WREG -> Header in ext. flash
635 635
636 ; Spare at Byte 60 636 ; Spare at Byte 59
637 movlw 0xFF 637 movlw 0xFF
638 rcall ghostwrite_byte_header ; WREG -> Header in ext. flash 638 rcall ghostwrite_byte_header ; WREG -> Header in ext. flash
639 ; Store 5 Setpoints 639 ; Store 5 Setpoints
640 movff char_I_setpoint_cbar+0,WREG 640 movff char_I_setpoint_cbar+0,WREG
641 rcall ghostwrite_byte_header ; Setpoint in cbar 641 rcall ghostwrite_byte_header ; Setpoint in cbar