stdvga: report 6-bit DAC width

The stdvga hardware doesn't have a mechanism to change the DAC width,
but we can still implement the VBE Set/Get DAC Palette Format function
as specified: allow attempts to set the DAC width to anything greater
than or equal to 6 (which reports success but is otherwise a no-op), and
always return 6 when the DAC width is queried.

Signed-off-by: Daniel Verkamp <daniel@drv.nu>
Message-ID: <20260409065319.3438719-2-daniel@drv.nu>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
1 file changed
tree: a378003d2ca28d5a54b31aeaa08ad8db074a371d
  1. docs/
  2. scripts/
  3. src/
  4. vgasrc/
  5. .gitignore
  6. COPYING
  7. COPYING.LESSER
  8. Makefile
  9. README