This was not previously done because the palette was not correctly set up, and QEMU gave incorrect colors. The palette setup function now falls back to the standard BIOS function if the VESA BIOS function fails, which resolves the issue with QEMU. The mode selection logic now favors 8 bit color if the tile set is compatible. Using 8 bit mode means fewer writes to memory and fewer uses of the BIOS window function.
46 KiB
46 KiB