Clone of the IBM VGA Palette on VERA
Posted: Sun Nov 12, 2023 10:15 am
I cloned a very reasonable approximation of the IBM VGA Mode 13h default palette on VERA. I thought it could be useful for anyone porting code from that platform.
Archive contains DPAL.BIN -- 512 byte VERA Palette Image (default VERA Colors) MODE13H.PAL -- 512 byte VERA Palette Image (Mode 13h clone) VGAPALETTE -- Comma Delimited Text file I used to help create the VGA Palette. FORMAT Is Pal_Entry,R,G,B where R,G & B are real numbers between 0-100 and are calculated as a percentage of R,G,B Pixel Value. I got these numbers by Loading the VGA Palette Graphic from Wikipedia and Eye Droppering it in GIMP. (If you examine this file you will see entries 16-31 don't exist, VGA & VERA both use this for Gray Scale so no change is needed) VGAPAL.PRG -- The BASIC program that creates MODE13H.PAL (Tokenized) VGAPAL.BAS -- The BASIC Source for VGAPAL.PRG (BASLOAD Syntax)
THE CODE AND PALETTE ARCHIVE
The Mode 13h Palette Graphic from Wikipedia
The VGA Clone Palette on the X16 Emulator
Archive contains DPAL.BIN -- 512 byte VERA Palette Image (default VERA Colors) MODE13H.PAL -- 512 byte VERA Palette Image (Mode 13h clone) VGAPALETTE -- Comma Delimited Text file I used to help create the VGA Palette. FORMAT Is Pal_Entry,R,G,B where R,G & B are real numbers between 0-100 and are calculated as a percentage of R,G,B Pixel Value. I got these numbers by Loading the VGA Palette Graphic from Wikipedia and Eye Droppering it in GIMP. (If you examine this file you will see entries 16-31 don't exist, VGA & VERA both use this for Gray Scale so no change is needed) VGAPAL.PRG -- The BASIC program that creates MODE13H.PAL (Tokenized) VGAPAL.BAS -- The BASIC Source for VGAPAL.PRG (BASLOAD Syntax)
THE CODE AND PALETTE ARCHIVE
The Mode 13h Palette Graphic from Wikipedia
The VGA Clone Palette on the X16 Emulator