no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Last revision | |||
— | en:ibm:prcp:vio:getphysbuf [2016/09/14 09:29] – created valerius | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ==== VioGetPhysBuf==== | ||
+ | |||
+ | **Bindings**: | ||
+ | |||
+ | This call gets addressability to the physical display buffer. | ||
+ | |||
+ | // | ||
+ | |||
+ | // | ||
+ | Address of the data structure that contains the physical display buffer address and length on input and returns the selectors used to address the display buffer. | ||
+ | |||
+ | // | ||
+ | Address of the 32 bit start address (selector: | ||
+ | |||
+ | // | ||
+ | 32 bit length of the physical display buffer. If // | ||
+ | |||
+ | // | ||
+ | Selector list. | ||
+ | |||
+ | Returns the selectors (each of word-length) that address the physical display buffer. The first selector returned in the list, addresses the first 64KB of the physical display buffer or // | ||
+ | |||
+ | The last selector returned in the list, addresses the remainder of the display buffer. The application is responsible for ensuring enough space is reserved for the selector list to accommodate the specified buffer length. | ||
+ | |||
+ | PhysBuf Block (PhysBuf) | ||
+ | Address of the data structure. The PhysBuf Block is a variable length data structure. The first word is the Length of the PhysBuf Block in bytes. The remaining words of the structure are the selectors that address the physical video buffer. If Length is specified as 2, the required length of the PhysBuf Block is returned in its place. | ||
+ | |||
+ | PhysBuf Block (**USHORT**) | ||
+ | Length of PhysBuf structure in bytes | ||
+ | |||
+ | // | ||
+ | First selector | ||
+ | |||
+ | // | ||
+ | Next selector | ||
+ | |||
+ | // | ||
+ | ... ... | ||
+ | |||
+ | // | ||
+ | Last selector | ||
+ | |||
+ | // | ||
+ | Reserved word of 0s. | ||
+ | |||
+ | //rc// (**USHORT**) - return | ||
+ | Return code descriptions are: | ||
+ | |||
+ | |0 |NO_ERROR | | ||
+ | |350 |ERROR_VIO_PTR | | ||
+ | |429 |ERROR_VIO_IN_BG | | ||
+ | |430 |ERROR_VIO_ILLEGAL_DURING_POPUP | | ||
+ | |436 |ERROR_VIO_INVALID_HANDLE | | ||
+ | |465 |ERROR_VIO_DETACHED | | ||
+ | |494 |ERROR_VIO_EXTENDED_SG | | ||
+ | |||
+ | **Remarks** | ||
+ | |||
+ | If // | ||
+ | |||
+ | The buffer range specified for the physical screen buffer must fall between hex ' | ||