trunk/src/mame/drivers/coolridr.c
| r21210 | r21211 | |
| 301 | 301 | UINT16 m_vZoom; |
| 302 | 302 | UINT16 m_hZoom; |
| 303 | 303 | UINT32 m_blit0; // ? |
| 304 | UINT32 m_blit1; // ? |
| 305 | UINT32 m_blit2; // ? |
| 306 | UINT32 m_blit3; // ? |
| 307 | UINT32 m_blit4; // ? |
| 308 | UINT32 m_blit5; // ? |
| 304 | 309 | UINT32 m_blit10; // an address |
| 305 | 310 | |
| 306 | 311 | required_device<cpu_device> m_maincpu; |
| r21210 | r21211 | |
| 578 | 583 | // 2: 00000000 - unknown : OT flag? (transparency) |
| 579 | 584 | // 3: 00000000 - unknown : RF flag? (90 degree rotation) |
| 580 | 585 | // 4: 07000000 - unknown : VF flag? (vertically flipped) |
| 581 | | // 5: 00010000 - unknown : HF flag? (horizontally flipped) |
| 586 | // 5: 00010000 - unknown : HF flag? (horizontally flipped) (or mode... ) |
| 582 | 587 | // 6: vvvv---- - "Vertical Cell Count" |
| 583 | 588 | // 6: ----hhhh - "Horizontal Cell Count" |
| 584 | 589 | // 7: 00000000 - unknown : "Vertical|Horizontal Zoom Centers"? |
| r21210 | r21211 | |
| 599 | 604 | } |
| 600 | 605 | else if (m_blitterSerialCount == 1) |
| 601 | 606 | { |
| 607 | // 000u0ccc - c = colour? u = 0/1 |
| 608 | m_blit1 = data; |
| 609 | |
| 602 | 610 | m_colorNumber = (data & 0x000000ff); // Probably more bits |
| 611 | // if (data!=0) printf("blit %08x\n", data); |
| 603 | 612 | } |
| 604 | 613 | else if (m_blitterSerialCount == 2) |
| 605 | 614 | { |
| 615 | // seems to be more complex than just transparency |
| 616 | m_blit2 = data; |
| 617 | |
| 618 | // 00??0uuu |
| 619 | // ?? seems to be 00 or 7f |
| 620 | // uuu, at least 11 bits used, maybe 12 |
| 621 | |
| 606 | 622 | } |
| 607 | 623 | else if (m_blitterSerialCount == 3) |
| 608 | 624 | { |
| 625 | m_blit3 = data; |
| 626 | // 0000xxxx |
| 627 | // to |
| 628 | // 001fxxxx |
| 609 | 629 | } |
| 610 | 630 | else if (m_blitterSerialCount == 4) |
| 611 | 631 | { |
| 632 | m_blit4 = data; |
| 633 | |
| 634 | //0x000y0z |
| 635 | // x = 1, 2, 3 or 7 |
| 636 | // y = 0 or 1 |
| 637 | // z = 0 or 1 |
| 612 | 638 | } |
| 613 | 639 | else if (m_blitterSerialCount == 5) |
| 614 | 640 | { |
| 641 | m_blit5 = data; |
| 642 | // this might enable the text indirection thing? |
| 643 | |
| 644 | // if (data!=0) printf("blit %08x\n", data); |
| 645 | // 00010000 (text) |
| 646 | // 00000001 (other) |
| 647 | |
| 615 | 648 | } |
| 616 | 649 | else if (m_blitterSerialCount == 6) |
| 617 | 650 | { |