Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/menu_logbook.asm @ 3:3cf8af30b36e
v1.51 beta
author | heinrichsweikamp |
---|---|
date | Thu, 04 Feb 2010 14:56:12 +0100 |
parents | 96a35aeda5f2 |
children | 68825abc35f7 |
comparison
equal
deleted
inserted
replaced
2:d11ef8dc4b2c | 3:3cf8af30b36e |
---|---|
566 call PLED_SetRow ; 0...259 | 566 call PLED_SetRow ; 0...259 |
567 | 567 |
568 incf timeout_counter3,F | 568 incf timeout_counter3,F |
569 movf timeout_counter3,W | 569 movf timeout_counter3,W |
570 call PLED_SetColumnPixel ; pixel x2 | 570 call PLED_SetColumnPixel ; pixel x2 |
571 WIN_COLOR color_white | 571 call PLED_standard_color |
572 call PLED_PxlWrite ; Write two pixels | 572 call PLED_PxlWrite ; Write two pixels |
573 | 573 |
574 profile_display_skip_loop1: ; skips readings! | 574 profile_display_skip_loop1: ; skips readings! |
575 dcfsnz profile_temp2+0,F | 575 dcfsnz profile_temp2+0,F |
576 bra profile_display_loop3 ; check 16bit.... | 576 bra profile_display_loop3 ; check 16bit.... |
633 movff apnoe_mins,xC+1 ; Copy | 633 movff apnoe_mins,xC+1 ; Copy |
634 profile_display_fill_down2: ; Loop | 634 profile_display_fill_down2: ; Loop |
635 decf xC+1,F | 635 decf xC+1,F |
636 movf xC+1,W ; Row | 636 movf xC+1,W ; Row |
637 call PLED_SetRow ; 0...259 | 637 call PLED_SetRow ; 0...259 |
638 WIN_COLOR color_white | 638 call PLED_standard_color |
639 | |
639 call PLED_PxlWrite_Single; Write one Pixel | 640 call PLED_PxlWrite_Single; Write one Pixel |
640 movf xC+0,W | 641 movf xC+0,W |
641 cpfseq xC+1 ; Loop until xC+1=xC+0 | 642 cpfseq xC+1 ; Loop until xC+1=xC+0 |
642 bra profile_display_fill_down2 | 643 bra profile_display_fill_down2 |
643 return ; apnoe_mins and xC+0 are untouched | 644 return ; apnoe_mins and xC+0 are untouched |
646 movff xC+0,xC+1 ; Copy | 647 movff xC+0,xC+1 ; Copy |
647 profile_display_fill_up2: ; Loop | 648 profile_display_fill_up2: ; Loop |
648 decf xC+1,F | 649 decf xC+1,F |
649 movf xC+1,W ; Row | 650 movf xC+1,W ; Row |
650 call PLED_SetRow ; 0...259 | 651 call PLED_SetRow ; 0...259 |
651 WIN_COLOR color_white | 652 call PLED_standard_color |
653 | |
652 call PLED_PxlWrite_Single; Write one Pixel | 654 call PLED_PxlWrite_Single; Write one Pixel |
653 movf apnoe_mins,W | 655 movf apnoe_mins,W |
654 cpfseq xC+1 ; Loop until xC+1=apnoe_mins | 656 cpfseq xC+1 ; Loop until xC+1=apnoe_mins |
655 bra profile_display_fill_up2 | 657 bra profile_display_fill_up2 |
656 return ; apnoe_mins and xC+0 are untouched | 658 return ; apnoe_mins and xC+0 are untouched |