Differences
This shows you the differences between two versions of the page.
| en:ibm:prcp:vio:getphysbuf [2016/09/14 09:29] – created valerius | en:ibm:prcp:vio:getphysbuf [2016/09/15 05:14] (current) – valerius | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ==== VioGetPhysBuf==== | ==== VioGetPhysBuf==== | ||
| - | **Bindings**: | + | **Bindings**: | 
| This call gets addressability to the physical display buffer. | This call gets addressability to the physical display buffer. | ||
| Line 60: | Line 60: | ||
| The buffer range specified for the physical screen buffer must fall between hex ' | The buffer range specified for the physical screen buffer must fall between hex ' | ||
| + | |||
| + | === C bindings === | ||
| + | |||
| + | <code c> | ||
| + | typedef struct _VIOPHYSBUF { /* viopb */ | ||
| + | PBYTE pBuf; /* Buffer start address */ | ||
| + | ULONG cb; /* Buffer length */ | ||
| + | SEL      asel[1]; | ||
| + | } VIOPHYSBUF; | ||
| + | |||
| + | #define INCL_VIO | ||
| + | |||
| + | USHORT | ||
| + | |||
| + | PVIOPHYSBUF | ||
| + | USHORT | ||
| + | |||
| + | USHORT | ||
| + | </ | ||
| + | |||
| + | === MASM bindings === | ||
| + | |||
| + | <code asm> | ||
| + | VIOPHYSBUF struc | ||
| + | viopb_pBuf dd ? ;Buffer start address | ||
| + | viopb_cb | ||
| + | viopb_asel dw 1 dup (?) ;selector list | ||
| + | VIOPHYSBUF ends | ||
| + | |||
| + | EXTRN  VioGetPhysBuf: | ||
| + | INCL_VIO | ||
| + | |||
| + | PUSH@  OTHER | ||
| + | PUSH | ||
| + | CALL | ||
| + | |||
| + | Returns WORD | ||
| + | </ | ||




