comparison src/tft_outputs.asm @ 225:31088352ee32

BUGFIX: Show dives with >999mins divetime correctly
author heinrichsweikamp
date Sun, 01 Feb 2015 18:49:24 +0100
parents effd7259f5a5
children 03946aa48fa5
comparison
equal deleted inserted replaced
224:5a4801918be9 225:31088352ee32
401 401
402 ; Divetime demo 402 ; Divetime demo
403 movff mins,lo 403 movff mins,lo
404 clrf hi 404 clrf hi
405 WIN_MEDIUM divetime_column, divetime_row+.40 405 WIN_MEDIUM divetime_column, divetime_row+.40
406 output_16_3 ; displays only last three figures from a 16Bit value (0-999) 406 output_16_3 ; limit to 999 and display only (0-999)
407 STRCAT_PRINT "" ; Show minutes in large font 407 STRCAT_PRINT "" ; Show minutes in large font
408 WIN_SMALL divetime_secs_column, divetime_secs_row+.40 ; left position for two sec figures 408 WIN_SMALL divetime_secs_column, divetime_secs_row+.40 ; left position for two sec figures
409 PUTC ':' 409 PUTC ':'
410 bsf leftbind 410 bsf leftbind
411 movff secs,lo 411 movff secs,lo