Your current location: home page of compilation studio --> data sharing:
The following information is for reference only:
Bytes ----------------------------------------------------------------------------------------
Int 10 h: int 10 h, 12 h, Mouse mask, and other materials
Int 10 h |
In |
Out |
Ah = 00 set display mode |
Ah = 0 Al = video mode |
|
Ah = 01 set the cursor type |
Ah = 1 Ch = start Scan Line Cl = end Scan Line |
|
Ah = 02 set the cursor position |
Ah = 2 bH = display page DH = row DL = col |
Ax = 0 |
Ah = 03 read cursor position |
Ah = 3 bH = display page |
Ax = 0 CH = start Scan Line Cl = end Scan Line DH = row DL = col |
Ah = 04 read the light pen location |
Ah = 4 |
Ah = pen Trigger Signal BX = pixel c1olumn CH = pixel row DH = character row DL = character coloumn |
Ah = 05 specify display page |
Ah = 5 Al = page number |
|
Ah = 06 initialization window, roll up window |
Ah = 6 Al = lines to scroll up bH = blank line attribute CH = upper row Cl = left column DH = lower row DL = right column |
|
Ah = 07 initialization window, rolling down window |
Ah = 7 Al = lines to scroll down bH = blank line attribute CH = upper row Cl = left column DH = lower row DL = right column |
|
Ah = 08 read characters and attributes |
Ah = 8 bH = page number |
Ah = attribute Al = character |
Ah = 09 write characters and attributes |
Ah = 9 Al = character bH = page number BL = attribute Cx = number of character to write |
|
Ah = 0a write character at current cursor |
Ah = 0ah Al = character bH = page number CX = number of character to write |
|
Ah = 0b set the color palette |
Ah = 0bh bH = palette id bl = color ID |
|
Ah = 0C write Pixel |
Ah = 0ch Al = color |
|
Ah = 0d read Pixel |
Ah = 0dh bH = page number CX = pixel column dx = pixel row |
Al = color |
Ah = 0e text written by an electronic transmitter |
Ah = 0eh Al = character bH = page number BL = foreground color |
|
Ah = 0f current display mode |
Ah = 0fh |
Ah = columns Al = display modes bH = active page number |
Ah = 10 set the palette register |
Ah = 10 h Al = command bH = value BL = palette Reg dx = offset of pointer to 17-byte table es = segment of pointer to 17-byte table |
BH = Value |
Ah = 11 Character Generator |
Ah = 11 h Al = command BP = offset of pointer to user table es = segment of pointer to user table |
|
Ah = 12 change Selection |
Ah = 12 h BL = command |
|
Ah = 13 write a string |
Ah = 13 h Al = mode bH = page number BL = attribute Cx = Character Count dx = start cursor position BP = offset of pointer to string es = segment of pointer to string |
|
Ah = 1a read display code |
Ah = 1ah Al = 0 |
Al = status bH = alternate disp code BL = active disp code |
Ah = 1a write display code |
Ah = 1ah Al = 1 bH = alternate disp code BL = active disp code |
Al = Status |
Ah = 1b return status |
Ah = 1bh BX = Implementation type di = offset of pointer to empty buffer es = segment of pointer to empty Buffer |
Al = status di = offset of pointer to video state buffer es = segment of pointer to video state Buffer |
Ah = 1C return save/restore |
Ah = 1ch Al = 0 Cx = request States |
Al = status BX = Number 64-byte blocks for State |
Ah = 1C save status |
Ah = 1ch Al = 1 BX = offset of pointer to video state buffer Cx = request States es = segment of pointer to video state Buffer |
Al = Status |
Ah = 1C recovery status |
Ah = 1ch Al = 2 BX = offset of pointer to video state buffer Cx = request States es = segment of pointer to video state Buffer |
Al = Status |
Ah = Fe: video buffer |
Ah = 0feh di = offset of Physical video buffer es = segment of Physical video buffer |
DI = offset of logical video buffer es = segment of logical video buffer |
Ah = FF update video buffer |
Ah = 0ffh Cx = number of characters modified di = offset to first character modified es = segment of logical video buffer |
|
Int 12 h: int 10 h, 12 h, Mouse mask, and other materials
Memory fetch Service |
|
Ax = memory size |
Mouse screen and Mouse mask: int 10 h, 12 h, Mouse mask and other materials
Effects of screen and cursor mask:
Screen mask bit |
Cursor mask bit |
Resulting screen bit |
0 |
0 |
0 |
0 |
0 |
1 |
1 |
0 |
Unchanged |
1 |
1 |
Inverted |
Character data of the screen:
Bit number |
Description |
Comments |
15 |
Blink Control |
1 = blinking character |
12-14 |
Background Color |
|
11 |
Intensity control |
1 = High Intensity |
8-10 |
Foreground color |
|
0-7 |
Character |
ASCII Value |
Acceleration curve:
Part of table |
Offset (decimal) |
Length (in bytes) |
Description |
Curve lengths |
0 |
1 |
Number of counts/factors in first Curve |
1 |
1 |
Number of counts/factors in second Curve |
2 |
1 |
Number of counts/factors in Third Curve |
3 |
1 |
Number of counts/factors in fourth Curve |
Mouse counts |
4 |
32 |
Array of counts for first Curve |
36 |
32 |
Array of counts for second Curve |
68 |
32 |
Array of counts for Third Curve |
100 |
32 |
Array of counts for fourth Curve |
Scale factors |
132 |
32 |
Array of scale factors for first Curve |
164 |
32 |
Array of scale factors for second Curve |
196 |
32 |
Array of scale factors for Third Curve |
228 |
32 |
Array of scale factors for fourth Curve |
Curve names |
260 |
16 |
ASCII string for first Curve |
276 |
16 |
ASCII string for second Curve |
292 |
16 |
ASCII string for Third Curve |
308 |
16 |
ASCII string for fourth Curve |
Int 10 h, 12 h, Mouse mask, and other materials
Bytes ----------------------------------------------------------------------------------------
Copyright (c) 1999-2000 assembler studio Contact Us: bitstream@263.net