# HG changeset patch # User William Astle # Date 1697583817 21600 # Node ID ecca1fcfc34b57b9b6c2c9e90682048eae03962f # Parent f1d847f69c0d8dfbcb7ffb044bbc0089768f0ec1 Make floating point E notation convert to ASCII correctly diff -r f1d847f69c0d -r ecca1fcfc34b src/fps.s --- a/src/fps.s Tue Oct 17 17:03:17 2023 -0600 +++ b/src/fps.s Tue Oct 17 17:03:37 2023 -0600 @@ -866,7 +866,7 @@ lda #0x2f ; initialize left digit fps_toascii11 inca ; bump digit subb #10 ; are we at the right digit? - bhi fps_toascii11 ; brif not yet + bpl fps_toascii11 ; brif not yet addb #10 ; undo extra subtraction sta ,u+ ; save left digit fps_toascii12 addb #0x30 ; turn right digit to ascii