Previous 15994 Revisions Next

r6925 Tuesday 5th January, 2010 at 00:14:59 UTC by Stefano Priore
[CGENIE] Preliminary palette cleanup. Reverted change #6923
[src/mess/drivers]cgenie.c

src/mess/drivers/cgenie.c
r6924r6925
283283GFXDECODE_END
284284
285285static const unsigned char cgenie_colors[] = {
286    0*4,  0*4,  0*4,  /* background   */
286   0x00,0x00,0x00,
287   0x5e,0x5e,0x5e,  /* gray         */
288   0x11,0xff,0xea,  /* cyan         */
289   0xff,0x00,0x5e,  /* red          */
290   0xea,0xea,0xea,  /* white        */
291   0xff,0xf9,0x00,  /* yellow       */
292   0x6e,0xff,0x00,  /* green        */
293   0xff,0x52,0x00,  /* orange       */
294   0xea,0xff,0x00,  /* light yellow */
295   0x02,0x48,0xff,  /* blue         */
296   0x8e,0xd4,0xff,  /* light blue   */
297   0xff,0x12,0xff,  /* pink         */
298   0x88,0x43,0xff,  /* purple       */
299   0x8c,0x8c,0x8c,  /* light gray   */
300   0x00,0xfb,0x8c,  /* light cyan   */
301   0xd2,0x00,0xff,  /* magenta      */
302   0xff,0xff,0xff,  /* bright white */
287303
304
305#if 0
306   0*4,  0*4,  0*4,  /* background   */
307
288308/* this is the 'RGB monitor' version, strong and clean */
289309   15*4, 15*4, 15*4,  /* gray         */
290310    0*4, 48*4, 48*4,  /* cyan         */
r6924r6925
302322    0*4, 63*4, 63*4,  /* light cyan   */
303323   58*4,  0*4, 58*4,  /* magenta      */
304324   63*4, 63*4, 63*4,  /* bright white */
325#endif
305326
306327/* this is the 'TV screen' version, weak and blurred by repeating pixels */
307328   15*2+80, 15*2+80, 15*2+80,   /* gray         */
r6924r6925
435456
436457    /* video hardware */
437458   MDRV_SCREEN_ADD("screen", RASTER)
438   MDRV_SCREEN_REFRESH_RATE(50)
459   MDRV_SCREEN_REFRESH_RATE(60)
439460   MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(2500)) /* not accurate */
440461   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
441462   MDRV_SCREEN_SIZE(48*8, 32*8)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team