Guestbay display driver for Windows XP and Server 2003 (gbvga)
==============================================================

For QEMU's standard VGA card (PCI 1234:1111, the Bochs display interface). It offers the usual sizes and, on
request, any size at all, so Guestbay's seamless mode can make the guest's screen exactly as big as the screen its
windows appear on. Windows XP has no driver of its own for this card, and its Cirrus driver stops at 1024 x 768.

  gbvga.sys    the miniport: ReactOS's Bochs miniport (win32ss/drivers/miniport/bochs, bochsmp.c and bochsmp.h),
               Copyright 2022 Herve Poussineau, GPL-2.0-or-later
  gbvgad.dll   the display driver: ReactOS's generic frame buffer driver (win32ss/drivers/displays/framebuf),
               Copyright 2004 Filip Navara and the ReactOS project, GPL-2.0-or-later
  gbvga.inf    Guestbay's

Guestbay's changes (marked "Guestbay" in the sources):
  - bochsmp: two more mode slots, filled by the private request GB_IOCTL_CUSTOM_MODE (any width in steps of 8 and
    any height the card and its memory allow); no EDID reported, as Windows XP hides every mode beyond the monitor's
    EDID ranges; built with MinGW-w64's DDK headers; the EDID copy through VideoPortMoveMemory.
  - framebuf: DrvEscape, passing the escape GB_ESCAPE_CUSTOM_MODE (0x47420001: width and height in, the card's
    largest width, height and video memory out) to the miniport; memcpy, memmove and memset of its own (crt.c), as a
    display driver can import from win32k.sys alone.
  - inc/: DirectDraw DDK headers from ReactOS's sdk/include (public domain), and an empty d3dkmthk.h.

Sources: this folder, sh build.sh <out> with Fedora's mingw32-gcc (packaging/guest-tools/build.py runs it). ReactOS:
https://github.com/reactos/reactos, commit 47cbb082e27f0a4da00b292c0e0c3d24fe43bde8 (16 Oct 2026, the last to change
these files; checked 31 Oct 2026: with Guestbay's changes taken out, bochsmp.c, bochsmp.h and fb/*.c, framebuf.h
match win32ss/drivers/miniport/bochs and win32ss/drivers/displays/framebuf there, and at master 804d4036c2). Licence:
GNU General Public License, version 2 or (at your option) any later version; the text is COPYING here (ReactOS's
own), GBVGA-GPL.TXT on the tools CD. The source is also on the tools CD as gbvga-src.zip.

Guestbay's agent for older Windows installs it from the tools CD when the card is there without it, and asks for a
size with ExtEscape before it changes the screen (packaging/guest-tools/legacy-windows/agent.c, custom_mode).
