<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Fri, 03 Dec 1982 22:58:00-EST
From   : Michael C Adler <MADLER@Mit-Ml>
Subject: XSUB modification

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
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>