Int 7F Fn 0105 - Ibm 8514/a Adapter Interface (hdiload.exe) (Cont.)
See Also: #3580
Format of HCMRK parameter block:
Offset Size Description (Table 3570)
00h WORD length of following data
02h 2N WORDs X,Y of N points
Note: draws N+1 marker symbols, the first one at the current position
See Also: #3579
Format of HCRLINE parameter block:
Offset Size Description (Table 3571)
00h WORD length of following data (multiple of 4)
02h 2N WORDs X,Y coordinates relative to the position of the previous point
(current position for first point) 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,#3568,#3589
Format of HEAR parameter block:
Offset Size Description (Table 3572)
00h WORD 0001h (length of following data)
02h BYTE area definition flags
bits 7-6: End Area type
00 complete, perform fill
01 suspend definition
10 complete, but don't fill
See Also: #3560
Format of HEGS parameter block:
Offset Size Description (Table 3573)
00h WORD 0000h (no data following)
Format of HESC parameter block:
Offset Size Description (Table 3574)
00h WORD 0000h (no data following)
Format of HINIT parameter block:
Offset Size Description (Table 3575)
00h WORD 0002h (length of following data)
02h WORD segment of task buffer
See Also: #3614
Format of HINT parameter block:
Offset Size Description (Table 3576)
00h WORD 0004h (length of following data)
02h DWORD interrupt/event identifier
bit 31: vertical blanking
Format of HLDPAL parameter block:
Offset Size Description (Table 3577)
00h WORD 000Ah (length of following data)
02h BYTE palette ID (00h = user, 01h = default)
03h BYTE reserved
04h WORD number of first palette entry
06h WORD number of entries
08h DWORD -> palette entries
See Also: #3611
Format of HLINE parameter block:
Offset Size Description (Table 3578)
00h WORD length of following data (multiple of 4)
02h 2N WORDs X,Y coordinates for each of N points in polyline
Note: on completion, the current position is set to the last point drawn
See Also: #3568,#3589,#3571
Format of HMRK parameter block:
Offset Size Description (Table 3579)
00h WORD length of following data (multiple of 4)
02h 2N WORDs X,Y for N points
See Also: #3570
Format of HOPEN parameter block:
Offset Size Description (Table 3580)
00h WORD 0003h (length of following data)
01h BYTE initialization flags
bit 6: don't load default palette
bit 7: clear bitplanes
02h BYTE mode type (see #3581)
03h BYTE (ret) return code
bit 7: no adapter (hardware mismatch)
See Also: #3569
(Table 3581)
Values for 8514/A display mode:
0000h 12x20 characters, 1024x768
0001h 8x14 characters, 640x480
0002h 8x14 characters, 1024x768
0003h 7x15 characters, 1024x768
Format of HQCOORD parameter block:
Offset Size Description (Table 3582)
00h WORD 0004h (length of following data)
02h BYTE (ret) coordinate format
bits 7-4: bytes per coordinate
bits 3-0: fraction bytes in coordinate
03h BYTE (ret) relative coordinate format
bits 7-4: bytes per coordinate
bits 3-0: fraction bytes in coordinate
04h BYTE (ret) number of dimensions (2-4)
05h BYTE (ret) test results
bit 7: coordinate format not supported
bit 6: relative coordinate format not supported
bit 5: specified dimension not supported
Format of HQCP parameter block:
Offset Size Description (Table 3583)
00h WORD 0004h (length of following data)
02h WORD (ret) current X position
04h WORD (ret) current Y position
Format of HQDFPAL parameter block:
Offset Size Description (Table 3584)
00h WORD 0040h (length of following data)
02h 16 DWORDs (ret) color index values
Note: the default palette is set to match the default EGA/VGA 16-color
palettes
Format of HQDPS parameter block:
Offset Size Description (Table 3585)
00h WORD 0006h (length of following data)
02h WORD (ret) size of data buffer in bytes
04h WORD (ret) stack size in bytes
06h WORD (ret) size of palette save buffer in bytes
Format of HQMODE parameter block:
Offset Size Description (Table 3586)
00h WORD 0012h (length of following data)
02h BYTE current video mode (see #3581)
03h WORD driver version
bit 6: 80286/8086 CPU
bit 5: 8 bit planes instead of 4 planes
bits 4-0: hardware release number
05h BYTE adapter type
03h 8514/A
04h XGA
06h BYTE reserved (display type)
07h BYTE character cell width
08h BYTE character cell height
09h BYTE number of bit planes
0Ah WORD screen width (pixels)
0Ch WORD screen height (pixels)
0Eh WORD horizontal resolution (pixels/inch)
10h WORD vertical resolution (pixels/inch)
12h BYTE flag: 00h = monochrome, FFh = color
13h BYTE intensity levels
See Also: #3587
Format of HQMODES parameter block:
Offset Size Description (Table 3587)
00h WORD 0021h (length of following data)
02h BYTE (ret) adapter type
03h 32 BYTEs (ret) available display modes (FFh byte marks end of data)
See Also: #3586
Format of HRECT parameter block:
Offset Size Description (Table 3588)
00h WORD 0008h (legth of following data)
02h 2 WORDs X,Y coordinates of top left corner or rectangle
06h WORD rectangle's width
08h WORD rectangle's height
Note: the rectangle is filled using the current pattern, color, and mix
Format of HRLINE parameter block:
Offset Size Description (Table 3589)
00h WORD length of following data (multiple of 4)
02h 2 WORDs X,Y coordinates of starting point
06h 2N WORDs X,Y coordinates relative to the position of the previous point
for each of N points in polyline
Note: on completion, the current position is set to the last point drawn
See Also: #3578,#3568,#3571
Format of HRLPC parameter block:
Offset Size Description (Table 3590)
00h WORD 0000h (no data following)
Note: used for continuity of lines crossing scissors boundaries
See Also: #3603
Format of HRPAL parameter block:
Offset Size Description (Table 3591)
00h WORD 0300h (length of following data)
02h 768 BYTEs buffer containing previously-saved palette table
See Also: #3611
Format of HSBCOL parameter block:
Offset Size Description (Table 3592)
00h WORD 0004h (length of following data)
02h DWORD color index for new background color
See Also: #3596
Format of HSBP parameter block:
Offset Size Description (Table 3593)
00h WORD 000Ch (length of following data)
02h DWORD bitmask for graphics updates
06h DWORD bitmask for alphanumeric updates
0Ah DWORD display bitmask
Format of HSCELL parameter block:
Offset Size Description (Table 3594)
00h
Format of HSCMP parameter block:
Offset Size Description (Table 3595)
00h WORD 0005h (length of following data)
02h DWORD comparison color
06h BYTE logical operation
00h True
01h pel > testcolor
02h pel == testcolor
03h pel < testcolor
04h False
05h pel >= testcolor
06h pel <> testcolor
07h pel <= testcolor
Format of HSCOL parameter block:
Offset Size Description (Table 3596)
00h WORD 0004h (length of following data)
02h DWORD color index for new foreground color
See Also: #3592
Format of HSCOORD parameter block:
Offset Size Description (Table 3597)
00h WORD 0003h (length of following data)
02h BYTE coordinate format
bits 7-4: bytes per coordinate
bits 3-0: fraction bytes in coordinate
03h BYTE relative coordinates format
bits 7-4: bytes per coordinate
bits 3-0: fraction bytes in coordinate
04h BYTE number of dimensions (2-4)
Format of HSCP parameter block:
Offset Size Description (Table 3598)
00h WORD 0004h (length of following data)
02h 2 WORDs X,Y or coordinate for new current position
Format of HSCS parameter block:
Offset Size Description (Table 3599)
00h WORD 0004h (length of following data)
02h DWORD -> character set definition
Format of HSGQ parameter block:
Offset Size Description (Table 3600)
00h WORD 0002h (length of following data)
02h WORD quality settings (see #3602)
Format of HSHS parameter block:
Offset Size Description (Table 3601)
00h WORD 0008h (length of following data)
02h WORD left edge of clipping rectangle (-2048 to +6143)
04h WORD right edge
06h WORD top edge
08h WORD bottom edget
Bitfields for 8514/A quality settings:
Bit(s) Description (Table 3602)
15 reserved
14 high precision
13 reserved
12-11 pel code
00 not drawn
01 drawn
02 conditional on overpainting/mixes
10 don't close areas to be filed
9-0 reserved
Format of HSLPC parameter block:
Offset Size Description (Table 3603)
00h WORD 0000h (no data following)
Note: used for continuity of lines crossing scissors boundaries
See Also: #3590
Format of HSLT parameter block:
Offset Size Description (Table 3604)
00h WORD 0006h (length of following data)
02h BYTE line type (see #3605)
03h BYTE reserved
04h DWORD -> user line-type definition (if user type)
See Also: #3606
(Table 3605)
Values for 8514/A line type:
00h user line type
01h dotted
02h short dashes
03h dash-dot
04h double dotted
05h dashed
06h dash double dot
07h solid
08h invisible
See Also: #3604
Format of HSLW parameter block:
Offset Size Description (Table 3606)
00h WORD 0001h (length of following data)
02h BYTE width of line in pixels
See Also: #3604
Format of HSMODE parameter block:
Offset Size Description (Table 3607)
00h WORD 0001h (length of following data)
02h BYTE new display mode number (see #3581)
Format of HSMRK paramter block:
Offset Size Description (Table 3608)
00h WORD 000Eh (length of following data)
02h BYTE cell width
03h BYTE cell height
04h BYTE flags
05h BYTE reserved
06h WORD length of marker symbol
08h DWORD -> image definition data
0Ch DWORD -> color definition data
See Also: #3612
Format of HSMX parameter block:
Offset Size Description (Table 3609)
00h WORD 0002h (length of following data)
02h BYTE foreground mix (see #3610)
03h BYTE background mix (see #3610)
(Table 3610)
Values for 8514/A mix:
00h retain previous mix
01h source OR destination
02h source
04h source XOR destination
05h leave as-is
06h max(source,destination)
07h min(source,destination)
08h source+destination (clipped)
09h destination-source (clipped to zero)
0Ah source-destination (clipped to zero)
0Bh average source and destination
10h zero destination
11h source AND destination
12h source AND NOT destination
13h source
14h NOT source AND destination
15h leave as-is
16h source XOR destination
17h source OR destination
18h NOT source AND NOT destination
19h NOT (source XOR destination)
1Ah NOT destination
1Bh source OR NOT destination
1Ch NOT source
1Dh NOT source OR destination
1Eh NOT source OR NOT destination
1Fh set all bits of destination
Format of HSPAL parameter block:
Offset Size Description (Table 3611)
00h WORD 0300h (length of following data)
02h 768 BYTEs buffer for palette table
See Also: #3577,#3591
Format of HSPATT parameter block:
Offset Size Description (Table 3612)
00h WORD 000Eh (length of following data)
.NG limit reached, continued in next section...