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
Clone of the IBM VGA Palette on VERA
Re: Clone of the IBM VGA Palette on VERA
Hi good afternoon.
I draw with VGA-Pal mode 13.
is your pal dpal.bin your converted pal from vga-pal mode 13?
That means when I load it into the x16 I have the color of mode 13 vga?
Thanks.
greeting
I draw with VGA-Pal mode 13.
is your pal dpal.bin your converted pal from vga-pal mode 13?
That means when I load it into the x16 I have the color of mode 13 vga?
Thanks.
greeting
- ahenry3068
- Posts: 1144
- Joined: Tue Apr 04, 2023 9:57 pm
Re: Clone of the IBM VGA Palette on VERA
Yes, you are loading IBM PC Default colors. DPAL.BIN is still VERA Default. The IBM one is mode13h.pal
Re: Clone of the IBM VGA Palette on VERA
hello , thanks for info.
greeting
greeting