![]() |
| Home |
|
|
Function WSetVideoRAMAddressWSetVideoRAMAddress defines the addresses of the video RAM and the video controller:
void WSetVideoRAMAddress(unsigned short Segment,
unsigned int Offset,
unsigned short CRTController);
ParametersSegmentA selector used for screen access. If it is zero (default), the default data segment selector is used. OffsetThe offset of video RAM, default is 0xB8000. For monochrome displays, you must use this function to set the address to physical address 0xB0000 at program initialization. CRTControllerDefaults to W_CRT_COLOR. For monochrome displays, you must set it to W_CRT_MONO. If zero is used, RTTextIO will not address the controller for cursor movement.
|