trunk/src/mame/drivers/coolridr.c
| r21233 | r21234 | |
| 415 | 415 | UINT32 m_b2tpen; |
| 416 | 416 | UINT32 m_b2colorNumber; |
| 417 | 417 | |
| 418 | | UINT32 m_blit3; // ? |
| 418 | UINT32 m_blit3_unused; // ? |
| 419 | UINT32 m_b3romoffset; // |
| 419 | 420 | UINT32 m_blit4_unused; |
| 420 | 421 | UINT32 m_blit4; // ? |
| 421 | 422 | |
| r21233 | r21234 | |
| 480 | 481 | }; |
| 481 | 482 | |
| 482 | 483 | #define PRINT_BLIT_STUFF \ |
| 483 | | printf("type blit %08x %08x(%d, %03x) %08x(%02x, %03x) %08x %08x(%08x) %08x(%d,%d) %04x %04x %04x %04x %08x %08x %d %d\n", m_blit0, m_blit1_unused,m_b1mode,m_b1colorNumber, m_blit2_unused,m_b2tpen,m_b2colorNumber, m_blit3, m_blit4_unused, m_blit4, m_blit5_unused, m_indirect_tile_enable, m_indirect_zoom_enable, m_vCellCount, m_hCellCount, m_vZoom, m_hZoom, m_blit10, data, m_vPosition, m_hPosition); \ |
| 484 | printf("type blit %08x %08x(%d, %03x) %08x(%02x, %03x) %08x(%06x) %08x(%08x) %08x(%d,%d) %04x %04x %04x %04x %08x %08x %d %d\n", m_blit0, m_blit1_unused,m_b1mode,m_b1colorNumber, m_blit2_unused,m_b2tpen,m_b2colorNumber, m_blit3_unused,m_b3romoffset, m_blit4_unused, m_blit4, m_blit5_unused, m_indirect_tile_enable, m_indirect_zoom_enable, m_vCellCount, m_hCellCount, m_vZoom, m_hZoom, m_blit10, data, m_vPosition, m_hPosition); \ |
| 484 | 485 | |
| 485 | 486 | |
| 486 | 487 | /* video */ |
| r21233 | r21234 | |
| 711 | 712 | // 5: 00000001 - enable line-zoom(?) lookup (road) |
| 712 | 713 | // 6: vvvv---- - "Vertical Cell Count" |
| 713 | 714 | // 6: ----hhhh - "Horizontal Cell Count" |
| 714 | | // 7: 00000000 - unknown : "Vertical|Horizontal Zoom Centers"? |
| 715 | | // 8: 00400040 - unknown : "Vertical|Horizontal Zoom Ratios"? |
| 715 | // 7: 00030003 - "Vertical|Horizontal Origin point" |
| 716 | // 8: 00ff00ff - "Vertical|Horizontal Zoom Ratios" |
| 716 | 717 | // 9: xxxx---- - "Display Vertical Position" |
| 717 | 718 | // 9: ----yyyy - "Display Horizontal Position" |
| 718 | 719 | // 10: 00000000 - unknown : always seems to be zero - NO, for some things (not text) it's also a reference to 3f40000 region like #11 |
| r21233 | r21234 | |
| 779 | 780 | } |
| 780 | 781 | else if (m_blitterSerialCount == 3) |
| 781 | 782 | { |
| 782 | | m_blit3 = data; |
| 783 | | // 0000xxxx |
| 784 | | // to |
| 785 | | // 001fxxxx |
| 783 | if (!(m_blit0 & 1)) // don't bother for non-sprites |
| 784 | { |
| 785 | m_blit3_unused = data & 0xffe00000; |
| 786 | m_b3romoffset = data & 0x001fffff; |
| 787 | // if this is an offset into the compressed data then it's probably a word offset into each rom (each is 0x400000 bytes) with the data from all 10 being used in parallel as per the notes from Charles |
| 788 | // this needs verifying as it could instead be an index into some other ram area already decompressed.. |
| 789 | // 0000xxxx |
| 790 | // to |
| 791 | // 001fxxxx |
| 792 | |
| 793 | if (m_blit3_unused) printf("unknown bits in blit word %d - %08x\n", m_blitterSerialCount, m_blit4_unused); |
| 794 | } |
| 786 | 795 | } |
| 787 | 796 | else if (m_blitterSerialCount == 4) |
| 788 | 797 | { |
| r21233 | r21234 | |
| 903 | 912 | |
| 904 | 913 | //if (m_b1mode) |
| 905 | 914 | //{ |
| 906 | | //PRINT_BLIT_STUFF |
| 915 | // PRINT_BLIT_STUFF |
| 907 | 916 | //} |
| 908 | 917 | //else |
| 909 | 918 | //{ |
| r21233 | r21234 | |
| 1960 | 1969 | ROM_LOAD32_WORD_SWAP( "mpr-17648.ic9", 0x1800000, 0x0400000, CRC(bf184cce) SHA1(62c004ea279f9a649d21426369336c2e1f9d24da) ) |
| 1961 | 1970 | ROM_LOAD32_WORD_SWAP( "mpr-17644.ic5", 0x2000002, 0x0400000, CRC(80199c79) SHA1(e525d8ee9f9176101629853e50cca73b02b16a38) ) |
| 1962 | 1971 | ROM_LOAD32_WORD_SWAP( "mpr-17649.ic10",0x2000000, 0x0400000, CRC(618c47ae) SHA1(5b69ad36fcf8e70d34c3b2fc71412ce953c5ceb3) ) |
| 1963 | | |
| 1972 | |
| 1964 | 1973 | ROM_REGION( 0x80000, "scsp1", 0 ) /* first SCSP's RAM */ |
| 1965 | 1974 | ROM_FILL( 0x000000, 0x80000, 0 ) |
| 1966 | 1975 | |