comparison src/tft_outputs.asm @ 85:45a420beb534

No graphical output (yet)
author heinrichsweikamp
date Mon, 31 Mar 2014 14:16:17 +0200
parents eb72c8865f47
children 82750b8dfcee
comparison
equal deleted inserted replaced
84:bd6c9f09ed3f 85:45a420beb534
1589 STRCPY_TEXT_PRINT tHeading ; Heading: 1589 STRCPY_TEXT_PRINT tHeading ; Heading:
1590 return 1590 return
1591 1591
1592 global TFT_dive_compass_mask 1592 global TFT_dive_compass_mask
1593 TFT_dive_compass_mask: 1593 TFT_dive_compass_mask:
1594 ; WIN_TINY dive_compass_mask_column,dive_compass_mask_row 1594 WIN_TINY dive_compass_mask_column,dive_compass_mask_row
1595 ; call TFT_divemask_color 1595 call TFT_divemask_color
1596 ; STRCPY_TEXT_PRINT tHeading ; Heading: 1596 STRCPY_TEXT_PRINT tHeading ; Heading:
1597 return 1597 return
1598 1598
1599 1599
1600 global TFT_surface_compass_heading 1600 global TFT_surface_compass_heading
1601 TFT_surface_compass_heading: 1601 TFT_surface_compass_heading:
1644 bcf leftbind 1644 bcf leftbind
1645 STRCAT "° " 1645 STRCAT "° "
1646 rcall tft_compass_cardinal ; Add cardinal and ordinal to POSTINC2 1646 rcall tft_compass_cardinal ; Add cardinal and ordinal to POSTINC2
1647 STRCAT_PRINT " " 1647 STRCAT_PRINT " "
1648 TFT_dive_compass_heading3: 1648 TFT_dive_compass_heading3:
1649 return ; No graphical output (yet)
1650
1649 movff compass_heading+0,sub_a+0 1651 movff compass_heading+0,sub_a+0
1650 movff compass_heading+1,sub_a+1 1652 movff compass_heading+1,sub_a+1
1651 movlw .45 1653 movlw .45
1652 movwf sub_b+0 1654 movwf sub_b+0
1653 clrf sub_b+1 1655 clrf sub_b+1