Misc Status flags:

NOPKEN : This flag is set if the packet protocol is not
         turned on. No commands can be sent until the
         packet protocol has been enbled. This flag
         is cleared when the packet protocol is enabled. 
         Note: this flag does not indicate if an instrument 
         is attached. It inly indicates if the driver has
         been placed into packet mode. You must initiate 
         communications to be able to detect an attached 
         Fonix instrument. 
         This is a -NOT- member of ERFLGS.

NOPOLL : This flag is set when the programmed amount of
         time (default is five seconds) has passed without 
         receiving a poll request on an open packet port. 
         It is cleared upon the receipt of a valid poll.
         This flag is also cleared by the PacketReset and
         and Packet Protocol enable commands. Once cleared,
         the NO POLL timer is restarted and the flag will
         be set high again should a poll not be received
         within the programmed time period.
         This is a -NOT- member of ERFLGS.

TXEROR : This flag s set when one or more of the protocol
         transfer error flags is set: NOPKEN,
         SNDOVR, SNDOVF, RCVOVR, POLRSP, NAKRSP, RCVOVR,
         RCVOVF, RCVTOT, RSPTOT, IOEROR and/or RTYERR.
         It is cleared at the start of a send command.
         It is also cleared by the PacketReset and Packet
         Protocol enable commands.
         SNDRDY, RCVRDY and NOPOLL do not affect this flag.
         This is a -NOT- member of ERFLGS.


IOEROR : If during a command sequence a failure occurs
         in the communications hardware, this error flag
         is set. The command may or may not be completed
         depending on the event that caused the error.
         It should be assumed that the command failed.
         This is a member of ERFLGS.

RTYERR : If a NAK is recieved from the attached Fonix
         instrument, Fryers will automatically try to
         resend the command. (A NAK response means that
         the attached instrument did not act on the
         command because it could not reliably read the
         command. If after ten attempts the command
         still fails. The RTYERR flag is set and the
         Send command is terminated without the RCVRDY
         flag being set high.
         Note: a NAK response is sent when the attached
         Fonix instrument detected a checksum failure
         in the command that was sent to it. The instrument
         will send the NAK response and ignore the command.

         Any of the ERFLGS being set during the send command
         and response sequence will trigger an automatic
         resend of the command. Up to ten attempts will be
         made to try resending the command. If after ten
         attempts the command still fails, the RTYERR flag
         is set and the command is canceled. The other flags
         relating to the possible cause of the failure will
         also be set. The TXinfo flags ($FF13 register CX)
         can be used to obtain more detailed information
         about the failure.
         This is a member of ERFLGS.


Send flags:


SNDRDY : This flag is set high when Fryers is ready
         to send a command. It is set low when a send
         command is given $FF11 or $FF15. It is also
         set on PacketReset $FF14 and Packet Protocol
         Enable calls $FF10. The flag will return high
         when a response has been received (see RCVRDY).
         Use this flag to determine when a sent command
         has been completed and Fryers is ready for a
         new command.
         Note: Fryers can accept a command when there is
         no poll activity. That means that means that
         when Fryers is first started, the SNDRDY flag
         will be set even if Fryers has not seen any
         poll activity. If there continues to be no poll
         activity, eventually the NO POLL flag wil be set.
         However, the command will still be sitting in the
         buffer waiting to be sent upon the receipt of a
         valid poll regardless of the status of the NO POLL
         flag. If you wish to cancel a send, either send
         a Packet Reset command $FF14, or disable the
         Packet Protocol $FF10.
         This is a -NOT- member of ERFLGS.

SNDOVR : This flag is set high if a new command is loaded
         into the send buffer before a previously loaded
         command has been completed. It is cleared when a
         send command is given and there is no previous
         command still pending. It is also cleared by the
         PacketReset and Packet Protocol enable commands.
         If the flag is set, the new command will not be
         sent. The pending command will be continued unaffected.
         This is a -NOT- member of ERFLGS.


SNDOVF : This flag is set if a command is attempted to
         be loaded into the send buffer that is too big for
         the buffer to hold. The maximum command size allowed
         is 2000 words for Windows (Fryers32.DLL), or 1000
         words for MSDOS (FRYERS.COM). If the flag is set,
         the command will not be sent. The SNDRDY flag is
         set and the RCVRDY flag will not be set.
         This is a -NOT- member of ERFLGS.


Receive flags:

The packet receive flags are only valid after a send command
has been completed. You should monitor the SNDRDY flag to
determine when a command is completed. When SNDRDY goes back
high, you can look at the receive flags to determine if the
packet response has been properly received.


RCVRDY : This is cleared when PacketReset is called $FF14,
         and when the packet protocol is enabled $FF10.
         It is also cleared at the end of the send cmd
         $FF11/$FF15 when the command has been sent and
         no response was detected.
         This flag is set only upon a successful receipt
         of a response at the end of a send command.
         This is a -NOT- member of ERFLGS.

RCVOVR : This is set when a response has been received 
         when the RCVRDY flag is high. It is cleared 
         when a response is received when the RCVRDY flag 
         is low.  It is also cleared on PacketReset and 
         Packet Protocol Enable calls. 
         This is a member of ERFLGS.

POLRSP : This is set if a poll is detected as the response 
         to a command that was sent. It is cleared if
         a non-poll response is received to a send command.
         It is also cleared on Packet Reset and Packet 
         protocol enable calls. 
         This is a member of ERFLGS.


NAKRSP : This is set if a NAK is detected as the response 
         to a command that was sent. It is cleared if
         a non-poll response is received to a send command.
         It is also cleared on Packet Reset and Packet 
         protocol enable calls. 
         Note: Fryers will automatically resend a command
         up to ten times if a NAK is detected. If after 
         the tenth time a NAK is still detected, Fryers
         will stop and return with the error condition.
         This is a member of ERFLGS.

RCVOVR : This is set if a response is received during the 
         response to a sent command but the previous response 
         has not yet been read (RCVRDY flag still high).
         It is cleared if a response is received to a send 
         command while RCVRDY is low. It is also cleared on 
         Packet Reset and Packet protocol enable calls. 
         Note: if a write is done to the receive buffer $FF24
         while a response is being received, this flag will 
         be set. 
         This is a -NOT- member of ERFLGS.


RCVOVF : This is set if a response overflowed the internal
         receive buffer during the response to a sent command.
         It is cleared if a good response is received to a 
         send command. It is also cleared on Packet Reset and 
         Packet protocol enable calls. 
         Note: if a write is done to the receive buffer $FF24
         while a response is being received, this flag will 
         be set.
         This is a member of ERFLGS.

RCVTOT : While waiting for a response to be received, if the
         amount of programmed time has passed without receiving
         the next data item in the response data stream, this
         flag is set and the command is terminated. 
         It is cleared if a good response is received to a 
         send command. It is also cleared on Packet Reset and 
         Packet protocol enable calls. 
         This is a member of ERFLGS.
         

RSPTOT : While waiting for a response to be received, if the
         amount of programmed time has passed without a response
         being initiated by the attached Fonix instrument, this
         flag is set and the command is terminated. 
         It is cleared if a good response is received to a 
         send command. It is also cleared on Packet Reset and 
         Packet protocol enable calls. 
         This is a member of ERFLGS.

CHKERR : If the response received has a checksum failure in the
         received data, this flag will be set. If the response
         data passes the checksum test, the flag will be cleared.
         It is also cleared on Packet Reset and Packet protocol 
         enable calls. 
         This is a member of ERFLGS.

