Previous 15994 Revisions Next

r2206 Wednesday 2nd April, 2008 at 09:35:01 UTC by Robbbert
[TI990_4] Fixed palette, still a white screen, changed to NOT WORKING.
[src/mess/drivers]ti990_4.c
[src/mess/video]733_asr.c 733_asr.h

src/mess/video/733_asr.c
r2205r2206
7777   AM_enint_mask = 1 << 6
7878};
7979
80static const unsigned char asr_palette[asr733_palette_size*3] =
81{
82   255, 255, 255,
83   0, 0, 0
84};
85
86static const unsigned short asr_colortable[asr733_colortable_size] =
87{
88   0, 1
89};
90
9180enum
9281{
9382   asrfontdata_size = 96/*128*/*8
r2205r2206
11099
111100PALETTE_INIT( asr733 )
112101{
113   int i;
114
115   for ( i = 0; i < asr733_palette_size; i++ ) {
116      palette_set_color_rgb(machine, i, asr_palette[i*3], asr_palette[i*3+1], asr_palette[i*3+2]);
117   }
102   palette_set_color(machine,0,RGB_WHITE); /* white */
103   palette_set_color(machine,1,RGB_BLACK); /* black */
118104}
119105
120106/*
src/mess/video/733_asr.h
r2205r2206
1414
1515GFXDECODE_EXTERN( asr733 );
1616
17enum
18{
19   asr733_palette_size = 2 /** 3*/,
20   asr733_colortable_size = 1 * 2
21};
22
23
2417extern PALETTE_INIT ( asr733 ) ;
2518
2619void asr733_init(void);
src/mess/drivers/ti990_4.c
r2205r2206
240240
241241#if VIDEO_911
242242   MDRV_GFXDECODE(vdt911)
243   MDRV_PALETTE_LENGTH(vdt911_palette_size)
243   MDRV_PALETTE_LENGTH(8)
244244#else
245245   MDRV_GFXDECODE(asr733)
246   MDRV_PALETTE_LENGTH(asr733_palette_size)
246   MDRV_PALETTE_LENGTH(2)
247247#endif
248248
249249#if VIDEO_911
r2205r2206
341341SYSTEM_CONFIG_END
342342
343343/*    YEAR  NAME        PARENT  COMPAT  MACHINE     INPUT       INIT        CONFIG      COMPANY                 FULLNAME */
344COMP( 1976,   ti990_4,   0,      0,      ti990_4,   ti990_4,   ti990_4,   ti990_4,   "Texas Instruments",   "TI Model 990/4 Microcomputer System" , 0)
344COMP( 1976,   ti990_4,   0,      0,      ti990_4,   ti990_4,   ti990_4,   ti990_4,   "Texas Instruments",   "TI Model 990/4 Microcomputer System" , GAME_NOT_WORKING )

Previous 15994 Revisions Next


© 1998-2018 The MESS Team