Mercurial > public > hwos_code
comparison src/tft_outputs.asm @ 431:9500b2d3e32b
hunting a bug in the logbook...
author | heinrichsweikamp |
---|---|
date | Tue, 21 Jun 2016 17:20:44 +0200 |
parents | 4b93354b7738 |
children | 929feb0da4f5 |
comparison
equal
deleted
inserted
replaced
430:5604cd15c39f | 431:9500b2d3e32b |
---|---|
3514 movlw d'16' | 3514 movlw d'16' |
3515 movwf wait_temp ; 16 tissues | 3515 movwf wait_temp ; 16 tissues |
3516 clrf waitms_temp ; Row offset | 3516 clrf waitms_temp ; Row offset |
3517 tissue_saturation_graph_N2: | 3517 tissue_saturation_graph_N2: |
3518 movlw dm_custom_tissue_diagram_top+.3 ; divemode | 3518 movlw dm_custom_tissue_diagram_top+.3 ; divemode |
3519 addwf waitms_temp,W | |
3520 movff WREG,win_top ; row top (0-239) | |
3521 rcall tissue_saturation_graph_loop ; Show one tissue | 3519 rcall tissue_saturation_graph_loop ; Show one tissue |
3522 decfsz wait_temp,F | 3520 decfsz wait_temp,F |
3523 bra tissue_saturation_graph_N2 | 3521 bra tissue_saturation_graph_N2 |
3524 | 3522 |
3525 ;---- Draw He Tissues ---------------------------------------------------- | 3523 ;---- Draw He Tissues ---------------------------------------------------- |
3527 movlw d'16' | 3525 movlw d'16' |
3528 movwf wait_temp ; 16 tissues | 3526 movwf wait_temp ; 16 tissues |
3529 clrf waitms_temp ; Row offset | 3527 clrf waitms_temp ; Row offset |
3530 tissue_saturation_graph_He: | 3528 tissue_saturation_graph_He: |
3531 movlw dm_custom_tissue_diagram_top+.3+.22 ; divemode | 3529 movlw dm_custom_tissue_diagram_top+.3+.22 ; divemode |
3532 addwf waitms_temp,W | |
3533 movff WREG,win_top ; row top (0-239) | |
3534 | |
3535 rcall tissue_saturation_graph_loop ; Show one tissue | 3530 rcall tissue_saturation_graph_loop ; Show one tissue |
3536 | 3531 |
3537 decfsz wait_temp,F | 3532 decfsz wait_temp,F |
3538 bra tissue_saturation_graph_He | 3533 bra tissue_saturation_graph_He |
3539 return | 3534 return |
3540 | 3535 |
3541 tissue_saturation_graph_loop: | 3536 tissue_saturation_graph_loop: |
3537 addwf waitms_temp,W | |
3538 movff WREG,win_top ; row top (0-239) | |
3539 | |
3542 call TFT_standard_color | 3540 call TFT_standard_color |
3543 incf waitms_temp,F | 3541 incf waitms_temp,F |
3544 movf POSTINC2,W | 3542 movf POSTINC2,W |
3545 bcf STATUS,C | 3543 bcf STATUS,C |
3546 rrcf WREG | 3544 rrcf WREG |