comparison src/simulator.asm @ 225:31088352ee32

BUGFIX: Show dives with >999mins divetime correctly
author heinrichsweikamp
date Sun, 01 Feb 2015 18:49:24 +0100
parents 53771bd3d567
children ad62dff7739a
comparison
equal deleted inserted replaced
224:5a4801918be9 225:31088352ee32
681 WIN_TOP .205 681 WIN_TOP .205
682 STRCPY_TEXT tCNS 682 STRCPY_TEXT tCNS
683 STRCAT ": " 683 STRCAT ": "
684 movff int_O_CNS_fraction+0,lo 684 movff int_O_CNS_fraction+0,lo
685 movff int_O_CNS_fraction+1,hi 685 movff int_O_CNS_fraction+1,hi
686 output_16_3 686 output_16_3 ; limit to 999 and display only (0-999)
687 STRCAT "%\x92" ; "->" 687 STRCAT "%\x92" ; "->"
688 movff decoplan_CNS+0,lo 688 movff decoplan_CNS+0,lo
689 movff decoplan_CNS+1,hi 689 movff decoplan_CNS+1,hi
690 output_16_3 690 output_16_3 ; limit to 999 and display only (0-999)
691 STRCAT_PRINT "%" 691 STRCAT_PRINT "%"
692 692
693 ;---- Loop through pages 693 ;---- Loop through pages
694 deco_show_plan_1: 694 deco_show_plan_1:
695 rcall deco_show_plan_page 695 rcall deco_show_plan_page