Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/menu_logbook.asm @ 244:976260083540
Small fix (y-scale in logbook)
author | heinrichsweikamp |
---|---|
date | Wed, 23 Mar 2011 23:23:06 +0100 |
parents | 38cccd304970 |
children | dee88c962653 |
comparison
equal
deleted
inserted
replaced
243:38cccd304970 | 244:976260083540 |
---|---|
461 movff hi,lo ; Minutes | 461 movff hi,lo ; Minutes |
462 output_99x | 462 output_99x |
463 bcf leftbind | 463 bcf leftbind |
464 call word_processor ; display 3rd page of details | 464 call word_processor ; display 3rd page of details |
465 | 465 |
466 movff eeprom_address+0,avr_rel_pressure+0 | 466 movff eeprom_address+0,average_depth_hold+0 |
467 movff eeprom_address+1,avr_rel_pressure+1 ; Pointer to Gaslist (For Page 2) | 467 movff eeprom_address+1,average_depth_hold+1 ; Pointer to Gaslist (For Page 2) |
468 | 468 |
469 incf_eeprom_address d'18' ; Skip 18Bytes in EEPROM (faster) | 469 incf_eeprom_address d'18' ; Skip 18Bytes in EEPROM (faster) |
470 ; 18bytes gases, battery, firmware number | 470 ; 18bytes gases, battery, firmware number |
471 call I2CREAD2 ; Read divisor | 471 call I2CREAD2 ; Read divisor |
472 movff SSPBUF,divisor_temperature ; Store divisor | 472 movff SSPBUF,divisor_temperature ; Store divisor |
655 | 655 |
656 | 656 |
657 profileview_page2: | 657 profileview_page2: |
658 WIN_BOX_BLACK .0, .74, .0, .159 ;top, bottom, left, right | 658 WIN_BOX_BLACK .0, .74, .0, .159 ;top, bottom, left, right |
659 | 659 |
660 movff avr_rel_pressure+0,eeprom_address+0 | 660 movff average_depth_hold+0,eeprom_address+0 |
661 movff avr_rel_pressure+1,eeprom_address+1 ; Pointer to Gaslist | 661 movff average_depth_hold+1,eeprom_address+1 ; Pointer to Gaslist |
662 | 662 |
663 call PLED_standard_color | 663 call PLED_standard_color |
664 bsf leftbind | 664 bsf leftbind |
665 WIN_TOP .0 | 665 WIN_TOP .0 |
666 WIN_LEFT .0 | 666 WIN_LEFT .0 |
793 profileview_page3: | 793 profileview_page3: |
794 WIN_BOX_BLACK .0, .74, .0, .159 ;top, bottom, left, right | 794 WIN_BOX_BLACK .0, .74, .0, .159 ;top, bottom, left, right |
795 | 795 |
796 call PLED_standard_color | 796 call PLED_standard_color |
797 | 797 |
798 movff avr_rel_pressure+0,eeprom_address+0 | 798 movff average_depth_hold+0,eeprom_address+0 |
799 movff avr_rel_pressure+1,eeprom_address+1 ; Pointer to Gaslist | 799 movff average_depth_hold+1,eeprom_address+1 ; Pointer to Gaslist |
800 | 800 |
801 incf_eeprom_address d'24' ; Point to "Salinity" | 801 incf_eeprom_address d'24' ; Point to "Salinity" |
802 bsf leftbind | 802 bsf leftbind |
803 WIN_TOP .0 | 803 WIN_TOP .0 |
804 WIN_LEFT .0 | 804 WIN_LEFT .0 |