Technical information

Newcom Parameters Serial Solutions
Buffer Size.
Switch: /S memsize
Purpose:
Set size of all buffers in bytes, memsize is rounded to the
nearest power of 2, and must be a decimal number in the range
32 to 32768. For any serial port opened two buffers of size
memsize are allocated, one for input and the other for output.
The space for the buffers is reserved by the driver when the
machine is booted, and, provided an address has been set for the
port either by being recognised by the ROM BIOS or by having
its address set in the config.sys file the buffer is allocated to the
port when NewCOM.sys loads.
The NUMBER of buffers, of size memsize, allocated is set by
the /B command switch.
Example:-
/S 512 sets the buffer size to 512 bytes. The default size is
256 bytes.
Note that in actual operation only memsize-1 bytes are
available, so the default buffer, nominally 256 bytes long, can
only hold 255 bytes.
Chapter 2 Page 33