src/mess/drivers/vip.c
| r5676 | r5677 | |
| 57 | 57 | TODO: |
| 58 | 58 | |
| 59 | 59 | - second VP580 keypad |
| 60 | | - colorram bit order |
| 61 | 60 | |
| 62 | 61 | - VP-585 Expansion Keyboard Interface (2 keypad connectors for VP-580) |
| 63 | 62 | - VP-551 Super Sound Board (4 channel sound) |
| r5676 | r5677 | |
| 400 | 399 | static CDP1862_INTERFACE( vip_cdp1862_intf ) |
| 401 | 400 | { |
| 402 | 401 | 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 */ |
| 407 | 406 | }; |
| 408 | 407 | |
| 409 | 408 | static WRITE8_HANDLER( vip_colorram_w ) |
| r5676 | r5677 | |
| 544 | 543 | { |
| 545 | 544 | UINT8 color = state->colorram[offset & 0xff]; |
| 546 | 545 | |
| 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); |
| 550 | 549 | |
| 551 | 550 | cdp1862_dma_w(state->cdp1862, data, state->colorram_mwr, rdata, gdata, bdata); |
| 552 | 551 | } |