Previous 199869 Revisions Next

r25512 Thursday 3rd October, 2013 at 20:59:21 UTC by smf
fixed mametesters 05257 [smf]
[src/mame/drivers]namcos12.c

trunk/src/mame/drivers/namcos12.c
r25511r25512
11521152{
11531153   m_n_dmaoffset = ( offset * 2 ) | ( data << 16 );
11541154
1155   /// HACK: it's unclear how exp_cfg & exp_base really play a part in this.
1156   if( m_maincpu->exp_base() == 0x1f300000 )
1157   {
1158      m_n_dmaoffset |= 0x80000000;
1159   }
1160
11611155   verboselog(1, "dmaoffset_w( %08x, %08x, %08x ) %08x\n", offset, data, mem_mask, m_n_dmaoffset );
11621156}
11631157
r25511r25512
11811175      n_offset = m_n_tektagdmaoffset & 0x7fffffff;
11821176      verboselog(1, "namcos12_rom_read( %08x, %08x ) tektagt %08x\n", n_address, n_size, n_offset );
11831177   }
1184   else if( m_n_dmaoffset >= 0x80000000 )
1178   else if( m_n_dmaoffset >= 0x80000000 || m_maincpu->exp_base() == 0x1f300000 )
11851179   {
1180      /// HACK: it's unclear how exp_cfg & exp_base really play a part in this, tenkomor needs the test here and not in dmaoffset_w().
11861181      n_region = "maincpu:rom";
11871182      n_offset = m_n_dmaoffset & 0x003fffff;
11881183      verboselog(1, "namcos12_rom_read( %08x, %08x ) boot %08x\n", n_address, n_size, n_offset );

Previous 199869 Revisions Next


© 1997-2024 The MAME Team