Previous 199869 Revisions Next

r44485 Monday 25th January, 2016 at 21:04:54 UTC by David Haywood
(nw)
[src/mame/drivers]ssv.cpp
[src/mame/machine]kc.cpp
[src/mame/video]st0020.cpp st0020.h

trunk/src/mame/drivers/ssv.cpp
r252996r252997
46754675   ROM_LOAD( "vg004-10.u45", 0x200000, 0x200000, CRC(b3c6b1cb) SHA1(c601213e35d8dfd1244921da5c093f82145706d2) )
46764676   ROM_LOAD( "vg004-11.u48", 0x400000, 0x200000, CRC(1491def1) SHA1(344043302c81b4118cac4f692375b8af7ea68570) )
46774677
4678   ROM_REGION( 0x1000000, "st0020", /*0*/0 )   // Zooming Sprites, read by a blitter
4678   ROM_REGION( 0x1000000, "st0020_spr", /*0*/0 )   // Zooming Sprites, read by a blitter
46794679   ROM_LOAD( "vg004-01.u33", 0x0000000, 0x200000, CRC(aa9a81c2) SHA1(a7d005f9be199e317aa4c6aed8a2ab322fe82119) )
46804680   ROM_LOAD( "vg004-02.u34", 0x0200000, 0x200000, CRC(fa40ecb4) SHA1(0513f3b6879dc7d207646d949d6ddb7251f77bcc) )
46814681   ROM_LOAD( "vg004-03.u35", 0x0400000, 0x200000, CRC(90004023) SHA1(041edb77b34e6677ac5b85ce542d87a9bb1baf31) )
trunk/src/mame/machine/kc.cpp
r252996r252997
332332{
333333   address_space &space = m_maincpu->space( AS_PROGRAM );
334334
335   if ((m_pio_data[0] & (1<<7)) && memregion("basic")->base() != nullptr)
335   if ((m_pio_data[0] & (1<<7)) && memregion("basic") != nullptr)
336336   {
337337      /* BASIC takes next priority */
338338         LOG(("BASIC rom 0x0c000\n"));
trunk/src/mame/video/st0020.cpp
r252996r252997
1919   : device_t(mconfig, ST0020_SPRITES, "Seta ST0020 Sprites", tag, owner, clock, "st0020", __FILE__)
2020   , m_gfxdecode(*this)
2121   , m_palette(*this)
22   , m_rom_ptr(*this, ":st0020")
2322{
2423   m_is_st0032 = 0;
2524   m_is_jclub2 = 0;
r252996r252997
7473
7574void st0020_device::device_start()
7675{
76   memory_region* rgn = memregion(tag());
77
78   if (rgn)
79   {
80      m_rom_ptr = rgn->base();
81      m_rom_size = rgn->bytes();
82   }
83   else
84   {
85      m_rom_ptr = nullptr;
86      m_rom_size = 0;
87   }
88
7789   m_st0020_gfxram = make_unique_clear<UINT16[]>(4 * 0x100000 / 2);
7890   m_st0020_spriteram = make_unique_clear<UINT16[]>(0x80000 / 2);
7991   m_st0020_blitram = make_unique_clear<UINT16[]>(0x100 / 2);
r252996r252997
190202            return;
191203         }
192204
193         size_t size =   m_rom_ptr.bytes();
205         size_t size = m_rom_size;
194206
195207         if ( (src+len <= size) && (dst+len <= 4 * 0x100000) )
196208         {
trunk/src/mame/video/st0020.h
r252996r252997
4747   DECLARE_WRITE16_MEMBER(st0020_blit_w);
4848   required_device<gfxdecode_device> m_gfxdecode;
4949   required_device<palette_device> m_palette;
50   optional_region_ptr<UINT8> m_rom_ptr;
50   UINT8* m_rom_ptr;
51   size_t m_rom_size;
5152};
5253
5354#define ST0020_ST0032_BYTESWAP_DATA \


Previous 199869 Revisions Next


© 1997-2024 The MAME Team