OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [mw/] [src/] [engine/] [devpal4.c] - Blame information for rev 1773

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 673 markom
/*
2
 * Copyright (c) 1999 Greg Haerr <greg@censoft.com>
3
 *
4
 * 4bpp (16 color) standard palette definition
5
 */
6
#include "device.h"
7
 
8
/*
9
 * Standard palette for 16 color systems.
10
 */
11
MWPALENTRY mwstdpal4[16] = {
12
        /* 16 EGA colors, arranged in VGA standard palette order*/
13
        RGBDEF( 0  , 0  , 0   ),   /* black*/
14
        RGBDEF( 0  , 0  , 128 ),  /* blue*/
15
        RGBDEF( 0  , 128, 0   ),  /* green*/
16
        RGBDEF( 0  , 128, 128 ), /* cyan*/
17
        RGBDEF( 128, 0  , 0   ),  /* red*/
18
        RGBDEF( 128, 0  , 128 ), /* magenta*/
19
        RGBDEF( 128, 64 , 0   ), /* adjusted brown*/
20
        RGBDEF( 192, 192, 192 ),        /* ltgray*/
21
        RGBDEF( 128, 128, 128 ),        /* gray*/
22
        RGBDEF( 0  , 0  , 255 ),  /* ltblue*/
23
        RGBDEF( 0  , 255, 0   ),  /* ltgreen*/
24
        RGBDEF( 0  , 255, 255 ), /* ltcyan*/
25
        RGBDEF( 255, 0  , 0   ),  /* ltred*/
26
        RGBDEF( 255, 0  , 255 ), /* ltmagenta*/
27
        RGBDEF( 255, 255, 0   ), /* yellow*/
28
        RGBDEF( 255, 255, 255 ),        /* white*/
29
};

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.