Date : Sun, 27 Jan 1991 20:03:00 CST
From : LANCE TAGLIAPIETRA <TAGLANCE@ucs.UWPLATT.EDU>
Subject: Fix for Kermit TRANSMIT command bug.
Hello,
I have found the fix to the bug in with the TRANSMIT command in version 4.09 of
kermit. The bug is in the file CPSUTL.ASM. The problem is that subroutine
INBUF: is pre-decrementing the byte count by 1, (decrementing an assembly
generated constant) causing the last character of each record to be ignored.
The line at fault was a few lines after label inbuf2: and read
mvi a,bufsiz-1 ; Number of bytes in buffer (pre-decremented)
this should be corrected to
mvi a,bufsiz ; Number of bytes in buffer.
This bug only shows when files to be send via TRANSMIT are greater than 128
bytes.
The pausit: routine in the same file is also missing a return statement.
The cpsker.hex file does not seem to have this problem, but the source
file does not have the return listed in the (corrected) code fragment below:
jz pausi1 ; loop until a key has been pressed.
ret
I hope this can help someone.
Lance Tagliapietra taglance@ucs.uwplatt.edu or taglance@uwplatt.bitnet