Mercurial > public > hwos_code
comparison src/compass_ops.asm @ 629:237931377539
3.07 stable release
author | heinrichsweikamp |
---|---|
date | Fri, 29 Nov 2019 18:48:11 +0100 |
parents | cd58f7fc86db |
children | 185ba2f91f59 |
comparison
equal
deleted
inserted
replaced
628:cd58f7fc86db | 629:237931377539 |
---|---|
1 ;============================================================================= | 1 ;============================================================================= |
2 ; | 2 ; |
3 ; File compass_ops.asm combined next generation V3.03.5 | 3 ; File compass_ops.asm combined next generation V3.06.1 |
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 ;============================================================================= |
377 movff WREG,customview_surfmode ; set to compass view... | 377 movff WREG,customview_surfmode ; set to compass view... |
378 goto surfloop ; ...and exit | 378 goto surfloop ; ...and exit |
379 | 379 |
380 ;----------------------------------------------------------------------------- | 380 ;----------------------------------------------------------------------------- |
381 | 381 |
382 global TFT_compass_fast | |
383 TFT_compass_fast: | 382 TFT_compass_fast: |
384 WIN_TINY .0,.50 | 383 WIN_TINY .0,.50 |
385 STRCPY "Cx:" | 384 STRCPY "Cx:" |
386 MOVII compass_DX,mpr | 385 MOVII compass_DX,mpr |
387 call TFT_convert_signed_16bit ; convert lo:hi into signed-short and add '-' to POSTINC2 if required | 386 call TFT_convert_signed_16bit ; convert lo:hi into signed-short and add '-' to POSTINC2 if required |