A number of readers have correctly noted that Steven Holzner's DIREX.COM (Programming/Utilities column, Volume 6 Number 1) does not handle files larger than 62K properly. Corrected versions DIREX.COM, DIREX.ASM, and DIREX.BAS can be downloaded from the PC Interactive Reader Service, or you can make the necessary changes to these files manually, as described below.
FOR DIREX.COM, use DEBUG to change F8 to F4 at the two addresses shown, as follows:
DEBUG DIREX.COM
E 535 F4
E 55D F4
W
Q
FOR DIREX.ASM, change the line
MOV CX, 62*1024
near the bottom of p. 300 in the printed listing to
MOV CX, 61*1024
Similarly, on p. 301 of the listing, change
CMP BYTES_READ, 62*1024
to
CMP BYTES_READ, 61*1024
FOR DIREX.BAS, change the 248 in the sixth column of lines 1630 and 1680 to 244 and correspondingly change the line checksums (column 9) for these lines to 1061 and 962, respectively. The overall program checksum (line 270) must be decreased to 197795.
Our thanks to Bob Pirko of New York for these patches, and our apologies to readers who were inconvenienced.--Ed.