Mercurial > ecos
view packages/services/gfx/mw/current/src/engine/devpal4.c @ 3292:7f8e529b4d82 default tip
Fix FREESCALE_EDMA_NBYTES_MLOFFYES_MLOFF() so it works with negative offsets.
| author | vae |
|---|---|
| date | Wed, 29 Apr 2015 23:31:48 +0000 |
| parents | e0c0827131d1 |
| children |
line wrap: on
line source
/* * Copyright (c) 1999 Greg Haerr <greg@censoft.com> * * 4bpp (16 color) standard palette definition */ #include "device.h" /* * Standard palette for 16 color systems. */ MWPALENTRY mwstdpal4[16] = { /* 16 EGA colors, arranged in VGA standard palette order*/ RGBDEF( 0 , 0 , 0 ), /* black*/ RGBDEF( 0 , 0 , 128 ), /* blue*/ RGBDEF( 0 , 128, 0 ), /* green*/ RGBDEF( 0 , 128, 128 ), /* cyan*/ RGBDEF( 128, 0 , 0 ), /* red*/ RGBDEF( 128, 0 , 128 ), /* magenta*/ RGBDEF( 128, 64 , 0 ), /* adjusted brown*/ RGBDEF( 192, 192, 192 ), /* ltgray*/ RGBDEF( 128, 128, 128 ), /* gray*/ RGBDEF( 0 , 0 , 255 ), /* ltblue*/ RGBDEF( 0 , 255, 0 ), /* ltgreen*/ RGBDEF( 0 , 255, 255 ), /* ltcyan*/ RGBDEF( 255, 0 , 0 ), /* ltred*/ RGBDEF( 255, 0 , 255 ), /* ltmagenta*/ RGBDEF( 255, 255, 0 ), /* yellow*/ RGBDEF( 255, 255, 255 ), /* white*/ };
