info-cpm (12/04/82)
>From MADLER@Mit-Ml Fri Dec 3 23:35:16 1982
To: info-cpm@BRL
Via: Mit-Ml; 3 Dec 82 22:57-EST
Via: Brl; 3 Dec 82 23:05-EST
Via: Brl-Bmd; 3 Dec 82 23:20-EST
XSUB (at least the version I have) appends a CR/LF combination to the
end of input lines. The BDOS, I assume, expects only CR or LF (preferably
CR) at the end of an input line. As a result, .SUB files that use XSUB
tend to have extra line feeds in them. This can be eliminated with the
following patch:
Change each of bytes 02D7 through 02D9 of XSUB to 0. This wipes out a
MVI A,0A
INX H
set of instructions and prevents the LF from being put in the buffer.
I am not sure that the LF is unnecessary for some obscure reason. If it
is, I will be sure to find out in a situation where speed is most critical.
-Michael