Int 7F Fn 0105 - Ibm 8514/a Adapter Interface (hdiload.exe) [V]

AX = 0105h

Return: CF set on error
CF clear if successful
CX:DX -> array of FAR pointers to entry points (see #3548)

Note: most functions are invoked by pushing the DWORD parameter block pointer
and then performing a FAR call via the appropriate vector of the
entry point array, placing the FAR address of the function's
parameter block on the top of the stack

See Also: AX=0104h,AX=0106h,AX=ABCDh

(Table 3548)
Values for HDILOAD function number: (do FAR call via entry_points+4*function)
08h HOPEN Open Adapter (see #3580)
09h HSMX Set Mix (see #3609)
10h HINT Interrupt (see #3576)
13h HLDPAL Load Palette (see #3577)
15h HBBW BitBLT Write Image Data (see #3563)
17h HBBR BitBLT Read Image Data (see #3564)
18h HBBCHN Chained Data Go (see #3562)
19h HBBC BitBLT Copy Data (see #3561)
1Dh HQMODE Get Current Mode (see #3586)
20h HRECT Fill Rectangle (see #3588)
22h HCLOSE Close Adapter and place in quiescent state (see #3569)
30h HINIT Initialize State (see #3575)
31h HSYNC Synchronize Adapter (see #3614)
39h HSPAL Save Palette (see #3611)
3Ah HRPAL Restore Palette (see #3591)
??? HSGQ Set Graphics Quality (see #3600)
??? HSCOORD Set Coordinate Type (see #3597)
??? HESC Escape, Terminate Processing (see #3574)
??? HSBCOL Set Background Color (see #3592)
??? HSBP Set Bit Plane Controls (see #3593)
??? HSCMP Set Color Comparison Register (see #3595)
??? HSCOL Set Color (see #3596)
??? HSHS Set Scissors (clipping rectangle) (see #3601)
??? HXLATE Assign Text Color (see #3615)
??? HQMODES Get Adapter Modes (see #3587)
??? HQDPS Get Drawing Process State Size (see #3585)
??? HQDFPAL Get Default Palette (see #3584)
??? HQCOORD Get Coordinate Type (see #3582)
??? HQCP Get Current Position (see #3583)
??? HSMODE Change Mode (see #3607)
??? HLINE Draw Line at Given Position (see #3578)
??? HCLINE Draw Line at Current Position (see #3568)
??? HRLINE Draw Line Relative from Given Position (see #3589)
??? HCRLINE Draw Line Relative at Current Position (see #3571)
??? HSLT Set Line Type (see #3604)
??? HSLW Set Line Width (see #3606)
??? HSLPC Save Line Pattern Count (see #3603)
??? HRLPC Restore Line Pattern Count (see #3590)
??? HCBBW BitBLT Write Image Data at Current Position (see #3565)
??? HBAR Begin Area (see #3560)
??? HEAR End Area (see #3572)
??? HSPATT Set Pattern (see #3612)
??? HSPATTO Set Pattern Reference Point (see #3613)
??? HEGS Erase Graphics Screen (see #3573)
??? HSCP Set Current Position (see #3598)
??? HMRK Set Marker (see #3579)
??? HCMRK Set Marker at Current Position (see #3570)
??? HSMARK Set Marker Shape (see #3608)
??? HSCS Set Character Set (see #3599)
??? HCHST Write Character String at Given Position (see #3567)
??? HCCHST Write Character String at Current Position (see #3566)
??? HSCELL Set Cell Size for Alphanumeric Text (see #3594)
??? ABLOCKMFI Write Character/Attribute Block MFI (see #3551)
??? ABLOCKCGA Write Character Block CGA (see #3549)
??? AERASE Erase Rectangle (see #3554)
??? ASCROLL Scroll Rectangle (see #3555)
??? ACURSOR Set Alphanumerics Cursor Position (see #3553)
??? ASCUR Set Alphanumeric Cursor Shape (see #3556)
??? ASFONT Set Font (see #3557)
??? AXLATE Assign Alphanumeric Color (see #3559)

Format of ABLOCKCGA parameter block:
Offset Size Description (Table 3549)
00h WORD 000Ah (length of following data)
02h WORD top-left coordinate of character block
04h WORD width of block
06h DWORD -> block of WORDs describing characters (see #3550)
0Ah BYTE length of block in characters
0Bh BYTE highlight attribute
bit 4: transparent background
bit 5: overstrike
bit 6: reverse video
bit 7: underscore

See Also: #3551

Bitfields for one character in ABLOCKCGA character block:
Bit(s) Description (Table 3550)
3-0 foreground attribute
7-4 background attribute
15-8 character code

Format of ABLOCKMFI parameter block:
Offset Size Description (Table 3551)
00h WORD 0009h (length of following data)
02h WORD top-left coordinate of character block
04h WORD width of block
06h DWORD -> block of DWORDs describing characters (see #3552)
0Ah BYTE length of block in characters

See Also: #3549

Bitfields for one character in ABLOCKMFI character block:
Bit(s) Description (Table 3552)
7-0 reserved
9-8 low two bits of font number
12 transparent background
13 overstrike
14 reverse video
15 underscore
19-16 foreground color attribute
23-20 background color attribute
31-24 character code

Format of ACURSOR parameter block:
Offset Size Description (Table 3553)
00h WORD 0002h (length of following data)
02h BYTE column (0-based)
03h BYTE row (0-based)

See Also: #3556

Format of AERASE parameter block:
Offset Size Description (Table 3554)
00h WORD 0005h (length of following data)
02h BYTE left-most column (0-based)
03h BYTE top-most row (0-based)
04h BYTE rectangle's width in character cells
05h BYTE rectangle's height in character cells
06h BYTE background color (bits 7-4)

See Also: #3555

Format of ASCROLL parameter block:
Offset Size Description (Table 3555)
00h WORD 0006h (length of following data)
02h BYTE left-most column (0-based) of source
03h BYTE top-most row (0-based) of source
04h BYTE rectangle's width in character cells
05h BYTE rectangle's height in character cells
06h BYTE left-most column (0-based) of destination
07h BYTE top-most row (0-based) of destination

See Also: #3554

Format of ASCUR parameter block:
Offset Size Description (Table 3556)
00h WORD 0003h (length of following data)
02h BYTE cursor start line (00h = top of cell, FFh = keep current shape)
03h BYTE cursor stop line
04h BYTE cursor attribute
00h normal
01h hidden
02h left-arrow (requires start = 2 and stop = bottom of cell)
03h right-arrow (requires start = 2 and stop = bottom of cell)

Notes: no cursor is shown if the start line is greater than the stop line
the alphanumeric cursor is hidden after each mode change

See Also: #3553,INT 10/AH=01h

Format of ASFONT parameter block:
Offset Size Description (Table 3557)
00h WORD 0005h (length of following data)
02h BYTE font number (0-3)
03h DWORD -> character set definition block (see #3558)

Format of 8514/A character set definition block:
Offset Size Description (Table 3558)
00h BYTE reserved
01h BYTE type of character set
00h bitmapped, 01h&02h reserved, 03h short-stroke font
02h BYTE reserved
03h DWORD reserved
07h BYTE cell width in pixels
08h BYTE cell height in pixels
09h BYTE reserved
0Ah WORD cell size in bytes
0Ch WORD flags
bit 15: reserved (0)
bit 14: color bitmap
bit 13: proportional spacing
0Eh DWORD -> index table
12h DWORD -> character width table
16h BYTE initial code point
17h BYTE final code point
18h DWORD -> character definition table
1Ch WORD reserved
1Eh DWORD -> second character definition table
22h WORD reserved
24h DWORD -> third character definition table

Format of AXLATE parameter block:
Offset Size Description (Table 3559)
00h WORD 0080h (length of following data)
02h 64 BYTEs character foreground translation table
42h 64 BYTEs character background translation table

Format of HBAR parameter block:
Offset Size Description (Table 3560)
00h WORD 0000h (no data following)

See Also: #3572

Format of HBBC parameter block:
Offset Size Description (Table 3561)
00h WORD 0010h (length of following data)
02h WORD data format
0000h across-the-plane copy (color expansion)
0008h through-the-plane copy
04h WORD data rectangle's width
06h WORD data rectangle's height
08h BYTE source bit plane number (across-the-plane copies only)
09h BYTE reserved
0Ah 2 WORDs X,Y coordinates of source's upper-left corner in display memory
0Eh 2 WORDs X,Y coordinates of destination's upper-left corner in
display memory

Note: copies data from one location in video memory to another

See Also: #3562

Format of HBBCHN parameter block:
Offset Size Description (Table 3562)
00h WORD 0006h (length of following data)
02h DWORD -> data buffer in system memory
06h WORD number of bytes to transfer

Note: this function performs the actual data transfer for a bitBLT set up
with HBBR, HBBW, or HCBBW

See Also: #3561,#3563,#3564,#3565

Format of HBBR parameter block:
Offset Size Description (Table 3563)
00h WORD 000Ch or 0014h (length of following data)
02h WORD data format
0000h across-the-plane copy (color expansion)
0008h through-the-plane copy
04h WORD data rectangle's width
06h WORD data rectangle's height
08h BYTE source bit plane number
09h BYTE reserved
0Ah 2 WORDs X,Y coordinates of destination's upper-left corner in
display memory
---optional---
0Eh WORD sub-rectangle left margin in pixels
10h WORD sub-rectangle top margin in pixels
12h WORD sub-rectangle width
14h WORD sub-rectangle height

See Also: #3562,#3563,#3565

Format of HBBW parameter block:
Offset Size Description (Table 3564)
00h WORD 000Ah or 0012h (length of following data)
02h WORD data format
0000h across-the-plane copy (color expansion)
0008h through-the-plane copy
04h WORD data rectangle's width
06h WORD data rectangle's height
08h 2 WORDs X,Y coordinates of destination in display memory
---optional---
0Ch WORD sub-rectangle left margin in pixels
0Eh WORD sub-rectangle top margin in pixels
10h WORD sub-rectangle width
12h WORD sub-rectangle height

See Also: #3562,#3564,#3565

Format of HCBBW parameter block:
Offset Size Description (Table 3565)
00h WORD 0006h or 000Eh (length of following data)
02h WORD data format
0000h across-the-plane copy (color expansion)
0008h through-the-plane copy
04h WORD data rectangle's width
06h WORD data rectangle's height
---optional---
08h WORD sub-rectangle left margin in pixels
0Ah WORD sub-rectangle top margin in pixels
0Ch WORD sub-rectangle width
0Eh WORD sub-rectangle height

See Also: #3562,#3563,#3564

Format of HCCHST parameter block:
Offset Size Description (Table 3566)
00h WORD length of following data
02h N BYTEs ASCII string to display (length given by 'length' field above)

See Also: #3567

Format of HCHST parameter block:
Offset Size Description (Table 3567)
00h WORD length of following data
02h 2 WORDs X,Y of left-bottom corner of string on screen
06h N BYTEs ASCII string to display (length given by 'length' field above)

See Also: #3566

Format of HCLINE parameter block:
Offset Size Description (Table 3568)
00h WORD length of following data (multiple of 4)
02h 2N WORDs X,Y coordinates for each of N points in polyline

Notes: the first line segment is drawn beginning at the current position
on completion, the current position is set to the last point drawn

See Also: #3578,#3589,#3571

Format of HCLOSE parameter block:
Offset Size Description (Table 3569)
00h WORD 0001h (length of following data)
01h BYTE (ret) return code


.NG limit reached, continued in next section...