* Initialize the VGA palette with the desired colours. This * must be a series of 720 bytes for use with a card in 256 * colour mode. The first 240 palette entries are used by the * tile set; the last 16 are reserved for text. * */
| 1922 | * |
| 1923 | */ |
| 1924 | static boolean |
| 1925 | vesa_SetPalette(const struct Pixel *palette) |
| 1926 | { |
| 1927 | if (vesa_pixel_size == 8) { |
| 1928 | return vesa_SetHardPalette(palette); |
| 1929 | } else { |
| 1930 | return vesa_SetSoftPalette(palette); |
| 1931 | } |
| 1932 | } |
| 1933 | |
| 1934 | static boolean |
| 1935 | vesa_SetHardPalette(const struct Pixel *palette) |
no test coverage detected