Mike_Z
Veteran Member
My CPM62 system seems to be working fine, the other day, something went wrong. I have successfully obtained a copy of WordStar 3.0 and got it work with the CPM machine. I remember using WordStar at the power plant long ago and some of the functions came back to me and some I had forgotten. Anyway I can load, save, navigate, cut and paste, do a lot of things. The best part of this is that I can do all the work on the CPM machine and do not have to transfer anything from disk/disk or over a link. Everything was looking rosy. So, I converted one of my programs from my old assembler to the ASM, so see how the WordStar would work. Seemed fine, until I tried to assemble it with ASM. Then the whole thing blew up. I was getting bad sector errors all over. My first thought was that one of my disk drives failed again. So I spent days testing each of the three drives, alone and with each other. Seems the drives were OK. Checked my cabling, it was fine. I reformatted a bunch of disks and started over. I figured maybe my old 8 inch disks were catching up with me and causing the errors, but this was not the case either. Turns out that the problem is with WordStar. Seems that every 55 lines of text, WordStar would drop a carriage return. Each line ends with a CRLF, but WordStar would save line 55, 110, 165, 220, etc. with only a LF. This was causing the problem. So after starting over again and getting the CPM system to work I tried doing the same test editing with WordStar this time checking the saved text prior to using ASM and you bet your life every 55 line only had a LF. So using ED.COM I fixed the text and then ASM worked and after LOADing my finished program worked like a champ.
But I can't figure why WordStar is doing this. 55 lines is the default for a page length in the version, I wonder if there is something with that. Any ideas? Perplexed, Mike.
But I can't figure why WordStar is doing this. 55 lines is the default for a page length in the version, I wonder if there is something with that. Any ideas? Perplexed, Mike.