Home |
Driver VGA_4 |
Driver VGA_4This driver is initialized with function: PegScreen * CreatePegScreen_VGA_4(int Width = 640, int Height = 480); VGA_4 supports standard VGA BIOS mode 12h and VESA mode 102h, which is 16 color and 640x480/800x600 pixels resolution. This driver does not set the video mode at run time; rather, it expects that the desired mode has been set by RTTarget-32's boot code using the GMode 12h or GMode 102h command. Parameters Width and Height are only evaluated by the Windows emulation drivers. On the target, the screen resolution is determined by the current graphics mode set by the boot code through a GMode command. If the current video mode is not 12h or 102h, NULL is returned. Note that this driver is significantly slower than the VESA drivers due to the pixel plane organisation of the video memory.
|