comparison src/compass_ops.asm @ 608:d866684249bd

work on 2.99 stable
author heinrichsweikamp
date Mon, 07 Jan 2019 21:13:43 +0100
parents ca4556fb60b9
children cd986267a5ca
comparison
equal deleted inserted replaced
607:c5151a490d88 608:d866684249bd
1 ;============================================================================= 1 ;=============================================================================
2 ; 2 ;
3 ; File compass_ops.asm V2.98a 3 ; File compass_ops.asm ## V2.99e
4 ; 4 ;
5 ; Compass Operations 5 ; Compass Operations
6 ; 6 ;
7 ; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved. 7 ; Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved.
8 ;============================================================================= 8 ;=============================================================================
940 ; get the RD abck to sub_b 940 ; get the RD abck to sub_b
941 movff xRD+0,sub_b+0 941 movff xRD+0,sub_b+0
942 movff xRD+1,sub_b+1 942 movff xRD+1,sub_b+1
943 ; hi stores the display position 943 ; hi stores the display position
944 clrf hi 944 clrf hi
945 clrf xHI 945 movff hi,xHI
946 ; lo stores the last item's display position 946 ; lo stores the last item's display position
947 clrf lo 947 clrf lo
948 clrf xLO 948 movff lo,xLO
949 949
950 movlw low( d'219' ) ; position of the label 950 movlw low( d'219' ) ; position of the label
951 movwf sub_a+0 951 movwf sub_a+0
952 movlw high( d'219' ) 952 movlw high( d'219' )
953 rcall TFT_dive_compass_label_proc ; check if the label should be on screen 953 rcall TFT_dive_compass_label_proc ; check if the label should be on screen