-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xt_words doesn't respect max line length correctly #270
Comments
I found what is causing this. This is setting the counter back to |
Hi @wkjagt. Thank you for opening an issue and your sleuthing work to find the root cause. That's a good catch. We have two master branches (for two different assemblers - we're moving to 64tass for conditional assembly support), but you can issue a pull request for either master branch and I'll apply the patch to the other branch. You're likely on the "master" branch using the Ophis assembler. |
👋 @SamCoVT Thanks for the message! Yeah, I'm on This is an awesome project by the way. I am using it on my homebrew 6502. I have 80 column text output to a screen, and a custom keyboard, so this TaliForth works really well with that, and really makes it feel like a standalone computer with a fun OS and completely independent from a connection to a laptop 😄 |
When using
words
on an 80 column terminal, many lines will be slightly longer than 80 characters, see screenshot below.I've been staring at
xt_words
for a while but I can't see anything wrong with how it determines when to put a CR. But somehow it does manage to output lines well over 80 characters. I looked inheaders.asm
but the word lengths in there seem correct. I also directly hardcodedcmp #79
in the loop that loops over the words, but that changes nothing, so it doesn't compare to an accidental longer line length either.I'm going to keep staring at this a bit more, but I thought you might know about this issue, or the cause of it.
The text was updated successfully, but these errors were encountered: