func bgaReadRegister(index uint16) uint16 { syscall.Outw(VBE_DISPI_IOPORT_INDEX, index) return syscall.Inw(VBE_DISPI_IOPORT_DATA) }
func bgaWriteRegister(index, word uint16) { syscall.Outw(VBE_DISPI_IOPORT_INDEX, index) syscall.Outw(VBE_DISPI_IOPORT_DATA, word) }