qa.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Int 14H Function 01H
   Summary  Back
──────────────────────────────────────────────────────────────────────────────
 
  Description:  Write Character to Communications Port      [PC] [AT] [PS/2]
 
  Writes a character to the specified serial communications port, returning
  the current status of the port.
 
  Input                             Output
  ═════════════════════════════     ═════════════════════════════════════════
  AH=01H                            If function successful
  AL=character                      AH bit 7=0
  DX=communications port number     AH bits 0-6=port status
     (0=COM1, 1=COM2,   etc.)                   Bit(s)  Significance (if set)
                                                ══════  ═════════════════════
                                                6       transmit shift
                                                        register empty
                                                5       transmit holding
                                                        register empty
                                                4       break detected
                                                3       framing error
                                                        detected
                                                2       parity error detected
                                                1       overrun error
                                                        detected
                                                0       receive data ready
                                    AL=character (unchanged)
                                    If function unsuccessful (timed-out)
                                    AH bit 7=1
                                    AL=character (unchanged)
                                    -♦-