diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-04-08 08:09:04 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-04-08 08:09:04 -0400 |
| commit | 8227a82f78bb27bbcbe5a241ec5b51de799b12bc (patch) | |
| tree | 9a55b2c15a67972be6a3584cd6b637edf734e2a8 | |
| parent | 8512a2d987aa6adde280efd785831185bcb823a8 (diff) | |
| download | fujinet-chat-8227a82f78bb27bbcbe5a241ec5b51de799b12bc.tar.gz | |
Comment a bugfix that I didn't even notice...
| -rw-r--r-- | src/jifsec.s | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jifsec.s b/src/jifsec.s index 86648c1..4f3d3c8 100644 --- a/src/jifsec.s +++ b/src/jifsec.s @@ -3,6 +3,9 @@ ; unsigned divide based on Ullrich von Bassewitz's runtime/udiv.s. ; uses FR1 as a temp, rather than any of cc65's ZP storage, ; to avoid clobbering. +; Note: this isn't that much smaller than the C version was, but it +; *does* fix a bug: leading zeroes weren't being printed for fractions +; less than 0.1 sec (e.g. 0.04 came out as 0.4). FR1 = $e0 acc16 = FR1 ; 16 bits |
