software interrupts
software interrupts
Quick reference:
input:
AL = desired video mode.
input:
CH = cursor start line (bits 04) and options (bits 57).
CL = bottom cursor line (bits 04).
input:
DH = row.
DL = column.
BH = page number (0..7).
INT 10h / AH = 03h get cursor position and size.
input:
BH = page number.
return:
DH = row.
DL = column.
CH = cursor start line.
CL = cursor bottom line.
input:
AL = new page number (0..7).
the activated page is displayed.
input:
AL = number of lines by which to scroll (00h = clear entire
window).
BH = attribute used to write blank lines at bottom of
window.
CH, CL = row, column of window's upper left corner.
DH, DL = row, column of window's lower right corner.
input:
BH = page number.
return:
AH = attribute.
AL = character.
input:
AL = character to display.
BH = page number.
BL = attribute.
CX = number of times to write character.
input:
AL = character to write.
input:
AL = write mode:
bit 0: update cursor after writing;
bit 1: string contains attributes.
BH = page number.
BL = attribute if string contains only characters (bit 1 of AL
is zero).
CX = number of characters in string (attributes are not
counted).
DL,DH = column, row at which to start writing.
ES:BP points to string to be printed.
input:
BL = write mode:
0: enable intensive colors.
1: enable blinking (not supported by emulator!).
BH = 0 (to avoid problems on some adapters).
return:
AX = BIOS equipment list word, actually this call returns the
contents of the word at 0040h:0010h.
INT 13h / AH = 00h reset disk system, (currently this call doesn't
do anything).
input:
return:
CF set on error.
CF clear if successful.
AH = status (0 if successful).
AL = number of sectors transferred.
input:
return:
return:
return:
return:
Notes:
There are approximately 18.20648 clock ticks per second,
and 1800B0h per 24 hours.
AL is not set by emulator yet!
INT 21h / AH=01h read character from standard input, with echo,
result is stored in AL.
Free Download
More Information