SER_BUFF [port, ] output_size [,input_size]



Used with one parameter, this is the same as PAR_BUFF except that it sets the size of the output buffer attached to each SER channel. The input buffer is normally a dynamic buffer, unless input_size is specified. The output buffer should be a minimum of 5 to avoid confusion with the port number.

You can also use SER_BUFF to alter the size of the input buffer, by using the form:

SER_BUFF output_size, input_size

Although you will need to specify the output_size, you can set this to 0 to enable a dynamic output buffer. You can also specify which serial port number is to be used to allow this command to work on machines with more than one serial port (this defaults to SER1).



Set the output buffer size to 200 bytes, with a dynamic input buffer.

SER_BUFF 200,500

Have an output buffer of 200 bytes, with an input buffer of 500 bytes.


The actual usable input buffer will be calculated by the value set by SER_BUFF less the value set by SER_ROOM.


In version E-17 of the device drivers for the Atari Emulator (and later implementations of this command, including SMSQ/E), whenever you use this command, the value set by SER_ROOM

is re-calculated so that it is set to one quarter of the input buffer size. Earlier versions may (after Level B09) would report an error if the input buffer was not at least twice the size of the value set by SER_ROOM.


See PAR_BUFF! You should also refer to SER_ROOM.