Previous 199869 Revisions Next

r21234 Wednesday 20th February, 2013 at 21:20:14 UTC by David Haywood
comment about likely rom offset bits / log changes
[src/mame/drivers]coolridr.c

trunk/src/mame/drivers/coolridr.c
r21233r21234
415415   UINT32 m_b2tpen;
416416   UINT32 m_b2colorNumber;
417417
418   UINT32 m_blit3; // ?
418   UINT32 m_blit3_unused; // ?
419   UINT32 m_b3romoffset; //
419420   UINT32 m_blit4_unused;
420421   UINT32 m_blit4; // ?
421422
r21233r21234
480481};
481482
482483#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); \
484485
485486
486487/* video */
r21233r21234
711712            //  5: 00000001 - enable line-zoom(?) lookup (road)
712713            //  6: vvvv---- - "Vertical Cell Count"
713714            //  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"
716717            //  9: xxxx---- - "Display Vertical Position"
717718            //  9: ----yyyy - "Display Horizontal Position"
718719            // 10: 00000000 - unknown : always seems to be zero - NO, for some things (not text) it's also a reference to 3f40000 region like #11
r21233r21234
779780            }
780781            else if (m_blitterSerialCount == 3)
781782            {
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               }
786795            }
787796            else if (m_blitterSerialCount == 4)
788797            {
r21233r21234
903912
904913                  //if (m_b1mode)
905914                  //{
906                     //PRINT_BLIT_STUFF
915                  //   PRINT_BLIT_STUFF
907916                  //}
908917                  //else
909918                  //{
r21233r21234
19601969   ROM_LOAD32_WORD_SWAP( "mpr-17648.ic9", 0x1800000, 0x0400000, CRC(bf184cce) SHA1(62c004ea279f9a649d21426369336c2e1f9d24da) )
19611970   ROM_LOAD32_WORD_SWAP( "mpr-17644.ic5", 0x2000002, 0x0400000, CRC(80199c79) SHA1(e525d8ee9f9176101629853e50cca73b02b16a38) )
19621971   ROM_LOAD32_WORD_SWAP( "mpr-17649.ic10",0x2000000, 0x0400000, CRC(618c47ae) SHA1(5b69ad36fcf8e70d34c3b2fc71412ce953c5ceb3) )
1963
1972                                                       
19641973   ROM_REGION( 0x80000, "scsp1", 0 )   /* first SCSP's RAM */
19651974   ROM_FILL( 0x000000, 0x80000, 0 )
19661975

Previous 199869 Revisions Next


© 1997-2024 The MAME Team