Previous 199869 Revisions Next

r21264 Thursday 21st February, 2013 at 17:19:00 UTC by David Haywood
kill some old gfxdecodes
[src/mame/drivers]coolridr.c

trunk/src/mame/drivers/coolridr.c
r21263r21264
507507UINT32 coolridr_state::screen_update_coolridr(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect, int which)
508508{
509509   /* planes seems to basically be at 0x8000 and 0x28000... */
510   gfx_element *gfx = machine().gfx[2];
510   gfx_element *gfx = machine().gfx[0];
511511   UINT32 count;
512512   int y,x;
513513   int color;
r21263r21264
15011501      gfx[offset*4+2] = (m_h1_charram[offset] & 0x0000ff00) >> 8;
15021502      gfx[offset*4+3] = (m_h1_charram[offset] & 0x000000ff) >> 0;
15031503
1504      machine().gfx[2]->mark_dirty(offset/64); //*4/256
1504      machine().gfx[0]->mark_dirty(offset/64); //*4/256
15051505   }
15061506}
15071507
r21263r21264
17111711};
17121712
17131713
1714#if 0
1715static const gfx_layout test =
1716{
1717   8,8,
1718   RGN_FRAC(1,1),
1719   4,
1720   { 0,1,2,3 },
1721   { 0*4,1*4,2*4,3*4,4*4,5*4,6*4, 7*4 },
1722   { 0*8*4, 1*8*4, 2*8*4, 3*8*4, 4*8*4, 5*8*4, 6*8*4, 7*8*4 },
1723   8*8*4
1724};
1725#endif
1726
1727
1728
1729
17301714static GFXDECODE_START( coolridr )
1731//  GFXDECODE_ENTRY( "maincpu_data", 0, tiles16x16_layout, 0, 16 )
1732   GFXDECODE_ENTRY( "gfx_data", 0, tiles16x16_layout, 0, 0x100 )
1733   GFXDECODE_ENTRY( "gfx5", 0, tiles16x16_layout, 0, 0x100 )
17341715   GFXDECODE_ENTRY( "ram_gfx", 0, tiles16x16_layout, 0, 0x100 )
17351716GFXDECODE_END
17361717
r21263r21264
21522133
21532134//   memcpy(memregion("soundcpu")->base(), memregion("maincpu")->base()+0x100000, 0x80000);
21542135//   m_soundcpu->reset();
2155   m_compressedgfx = memregion( "gfx5" )->base();
2156   size_t  size    = memregion( "gfx5" )->bytes();
2136   m_compressedgfx = memregion( "compressedgfx" )->base();
2137   size_t  size    = memregion( "compressedgfx" )->bytes();
21572138
21582139   // we're expanding 10bit packed data to 16bits(10 used)
21592140   m_expanded_10bit_gfx = auto_alloc_array(machine(), UINT16, ((size/10)*16)/2);
r21263r21264
23222303   ROM_LOAD16_WORD_SWAP( "ep17662.12", 0x000000, 0x020000,  CRC(50d66b1f) SHA1(f7b7f2f5b403a13b162f941c338a3e1207762a0b) )
23232304
23242305   /* these are compressed sprite data */
2325   ROM_REGION( 0x2800000, "gfx5", ROMREGION_ERASEFF )
2306   ROM_REGION( 0x2800000, "compressedgfx", ROMREGION_ERASEFF )
23262307   ROM_LOAD16_WORD_SWAP( "mpr-17644.ic5", 0x0000000, 0x0400000, CRC(80199c79) SHA1(e525d8ee9f9176101629853e50cca73b02b16a38) ) // 0004
23272308   ROM_LOAD16_WORD_SWAP( "mpr-17643.ic4", 0x0400000, 0x0400000, CRC(5100f23b) SHA1(659c2300399ff1cbd24fb1eb18cfd6c26e06fd96) ) // 9000
23282309   ROM_LOAD16_WORD_SWAP( "mpr-17642.ic3", 0x0800000, 0x0400000, CRC(1a5bcc73) SHA1(a7df04c0a326323ea185db5f55b3e0449d76c535) ) // 4900
r21263r21264
23682349   machine().device("maincpu")->memory().space(AS_PROGRAM).install_read_handler(0x60d8894, 0x060d8897, read32_delegate(FUNC(coolridr_state::coolridr_hack2_r), this));
23692350}
23702351
2371GAME( 1995, coolridr,    0, coolridr,    coolridr, coolridr_state,    coolridr, ROT0,  "Sega", "Cool Riders",GAME_NOT_WORKING|GAME_NO_SOUND ) // region is set in test mode
2352GAME( 1995, coolridr,    0, coolridr,    coolridr, coolridr_state,    coolridr, ROT0,  "Sega", "Cool Riders",GAME_NOT_WORKING|GAME_NO_SOUND ) // region is set in test mode, this set is for Japan, USA and Export (all regions)
2353

Previous 199869 Revisions Next


© 1997-2024 The MAME Team