diff 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
line wrap: on
line diff
--- a/src/simulator.asm	Thu Jan 29 18:18:15 2015 +0100
+++ b/src/simulator.asm	Sun Feb 01 18:49:24 2015 +0100
@@ -683,11 +683,11 @@
         STRCAT  ": "
         movff   int_O_CNS_fraction+0,lo
         movff   int_O_CNS_fraction+1,hi
-        output_16_3
+        output_16_3                     ; limit to 999 and display only (0-999)
         STRCAT  "%\x92"					; "->"
         movff   decoplan_CNS+0,lo
         movff   decoplan_CNS+1,hi
-        output_16_3
+        output_16_3                     ; limit to 999 and display only (0-999)
         STRCAT_PRINT "%"
        
         ;---- Loop through pages