Outils pour utilisateurs

Outils du site


back2root:ibm-pc-ms-dos:interrupts:int_10:int_10_13

Table des matières

INT 0x10 - 0x13 - Write String (BIOS versions from 1/10/86)

Request/Call:

reg value descr
AH 0x13
AL write mode (see bit settings below)
BH Video Page number
BL attribute if mode 0 or 1 (AL bit 1 = 0)
CX length of string (ignoring attributes)
DH row coordinate
DL column coordinate
ES:BP pointer to string

AL Write Mode:

0 string is chars only, attribute in BL, cursor not moved
1 string is chard only, attribute in BL, cursor moved
2 string contains chars and attributes, cursor not moved
3 string contains chars and attributes, cursor moved
Bit Descr.
0 move cursor ? (0 = no, 1 = yes)
1 Attribute located 0 = BL, 1 = String
2-7 unused

Return

Nothing

Notes & Comments

  • Cursor advances after write
  • characters BEL (0x07), BS (0x08), LF (0x0A), and CR (0x0D) are treated as control codes
  • for some older BIOS (10/19/81), the BH register must point to the currently displayed page
  • on CGA adapters this function can disable the video signal while performing the output which causes flitter.

Back

back2root/ibm-pc-ms-dos/interrupts/int_10/int_10_13.txt · Dernière modification : de frater