Up ] Docs Home ]

Call VPD entry point with

Back ] Next ]

Data:
EAX = function number
0000h get VPD version
Return: CF - clear
AH = major version
AL = minor version
DX = ??? (CB01h)
0001h get valid??? printers
Return: CF - clear
AX = bitmask of ??? printers (bits 0-2)
0002h get ??? for printer
Data: CX = printer port (0-2)
Return: CF - clear if successful
BX:AX = ???
CF - set on error (invalid port number)
0003h set ??? for printer
Data: CX = printer port (0-2)
BX:AX = ???
Return: CF - clear if successful
CF - set on error (invalid port number)
0004h ???
Data: CX = printer port (0-2)
EAX = VM handle
Return: CF - clear if successful
CF - set on error (invalid port number)
0005h ???
Data: CX = printer port (0-2)
EAX = VM handle
Return: CF - clear if successful
CF - set on error (invalid port number or ???)
0006h unused
Return: CF

-

set
0007h unused
Return: CF

-

set
0008h unused
Return: CF

-

set
0009h unused
Return: CF

-

set
000Ah unused
Return: CF

-

set
000Bh unused
Return: CF

-

set
000Ch unused
Return: CF

-

set
000Dh unused
Return: CF

-

set
000Eh unused
Return: CF

-

set
000Fh ???
Data: CX = printer port (0-2)
AX = ???
Return: CF - clear if successful
CF - set on error (e.g. invalid port number)
0010h ???
Data: CX = printer port (0-2)
Return: CF - clear if successful
CF - set on error (e.g. invalid port number)
0011h ???
Data: CX = printer port (0-2)
Return: CF - clear if successful
CF - set on error (e.g. invalid port number)
0012h get port status
Data: CX = printer port (0-2)
Return: CF - clear if successful
AX = port status (see #P0658 at PORT 03BCh"LPT")
CF - set on error (e.g. invalid port number)
else
Return: CF

-

set
Note: These functions are apparently only available from the system VM, returning CF set.
See Also: #02652,#02654