Previous 15994 Revisions Next

r5677 Thursday 10th September, 2009 at 19:15:26 UTC by Curt Coder
[VIP] Fixed VP590 colors and colorram bit order.
[src/mess/drivers]vip.c

src/mess/drivers/vip.c
r5676r5677
5757    TODO:
5858
5959   - second VP580 keypad
60   - colorram bit order
6160
6261   - VP-585 Expansion Keyboard Interface (2 keypad connectors for VP-580)
6362    - VP-551 Super Sound Board (4 channel sound)
r5676r5677
400399static CDP1862_INTERFACE( vip_cdp1862_intf )
401400{
402401   SCREEN_TAG,
403   RES_K(1.21), // ???
404   RES_K(2.05), // ???
405   RES_K(2.26), // ???
406   RES_K(3.92)    // ???
402   510,         /* R3 */
403   RES_K(1),      /* R5 */
404   360,         /* R4 */
405   RES_K(1.5)      /* R6 */
407406};
408407
409408static WRITE8_HANDLER( vip_colorram_w )
r5676r5677
544543      {
545544         UINT8 color = state->colorram[offset & 0xff];
546545         
547         int rdata = BIT(color, 0);
548         int gdata = BIT(color, 2);
549         int bdata = BIT(color, 1);
546         int rdata = BIT(color, 1);
547         int gdata = BIT(color, 3);
548         int bdata = BIT(color, 2);
550549
551550         cdp1862_dma_w(state->cdp1862, data, state->colorram_mwr, rdata, gdata, bdata);
552551      }

Previous 15994 Revisions Next


© 1998-2018 The MESS Team