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 10H Function 13H
   Summary  Notes  Back
──────────────────────────────────────────────────────────────────────────────
 
  Description:  Write String in Teletype Mode      [MDA] [CGA] [PCjr]
                                                   [EGA] [MCGA] [VGA]
 
  Transfers a string to the video buffer for the currently active display,
  starting at the specified position.
 
  Input                                                     Output
  ══════════════════════════════════════════════            ═══════════
  AH=13H                                                    Nothing
  AL=write mode
     0  attribute in BL;
        string contains character codes only;
        and cursor position is not updated
        after write
     1  attribute in BL; string contains
        character codes only; and cursor
        position is updated after write
     2  string contains alternating character
        codes and attribute bytes; and cursor
        position is not updated after write
     3  string contains alternating character
        codes and attribute bytes; and cursor
        position is updated after write
  BH=page
  BL=attribute, if AL=00H or 01H
  CX=length of character string
  DH=y coordinate (row)
  DL=x coordinate (column)
  ES:BP=segment:offset of string
                                    -♦-