How can i access vesa modes via IO/Port for x86 CPU? I already tried a code which works only on Bosch
private static void SetVideoMode(ushort width, ushort height, ushort depth)
{
WriteCommand(0x4, 0x00);
WriteCommand(0x1, width);
WriteCommand(0x2, height);
WriteCommand(0x3, depth);
WriteCommand(0x4, 0x1 | 0x40 );
PortIO.Outb(0x3c0, 0x20);
}