Mercurial > public > hwos_code
comparison src/tft_outputs.asm @ 320:c23d9d524eb9 new_screen_layout
VSIbar #3e: additional filter on zero ascend rate
author | janos_kovacs <kovjanos@gmail.com> |
---|---|
date | Thu, 11 Jun 2015 16:07:29 +0100 |
parents | 6d8c82fe5a01 |
children | 8b70dd8d9904 |
comparison
equal
deleted
inserted
replaced
319:cf929551d31c | 320:c23d9d524eb9 |
---|---|
1003 movff xC+2,sub_b+1 ; offset | 1003 movff xC+2,sub_b+1 ; offset |
1004 ;bra TFT_velocity_VSIbar_com | 1004 ;bra TFT_velocity_VSIbar_com |
1005 | 1005 |
1006 TFT_velocity_VSIbar_com: | 1006 TFT_velocity_VSIbar_com: |
1007 clrf divB | 1007 clrf divB |
1008 | |
1009 movlw .0 | |
1010 cpfsgt divA+0 | |
1011 bra TFT_velocity_VSIbar_clr | |
1012 | |
1008 ; multiply | 1013 ; multiply |
1009 movff divA+0,xA+0 | 1014 movff divA+0,xA+0 |
1010 clrf xA+1 | 1015 clrf xA+1 |
1011 movff sub_b+0,xB+0 | 1016 movff sub_b+0,xB+0 |
1012 clrf xB+1 | 1017 clrf xB+1 |