Remove tagmap lookups (nw)

This commit is contained in:
Nigel Barnes 2018-01-26 14:31:28 +00:00
parent 62e9f9fef5
commit 9e00075f3a
3 changed files with 7 additions and 7 deletions

View File

@ -153,16 +153,16 @@ uint8_t electron_m2105_device::expbus_r(address_space &space, offs_t offset, uin
switch (m_romsel)
{
case 0:
data = memregion("exp_rom")->base()[0x8000 + (offset & 0x3fff)];
data = m_exp_rom->base()[0x8000 + (offset & 0x3fff)];
break;
case 2:
data = memregion("exp_rom")->base()[0xc000 + (offset & 0x3fff)];
data = m_exp_rom->base()[0xc000 + (offset & 0x3fff)];
break;
case 12:
data = memregion("exp_rom")->base()[0x0000 + (offset & 0x3fff)];
data = m_exp_rom->base()[0x0000 + (offset & 0x3fff)];
break;
case 13:
data = memregion("exp_rom")->base()[0x4000 + (offset & 0x3fff)];
data = m_exp_rom->base()[0x4000 + (offset & 0x3fff)];
break;
}
}

View File

@ -66,7 +66,7 @@ ROM_END
MACHINE_CONFIG_START(electron_plus3_device::device_add_mconfig)
/* fdc */
MCFG_WD1770_ADD("fdc", XTAL(16'000'000) / 2)
MCFG_WD1770_ADD("fdc", 16.0_MHz_XTAL / 2)
MCFG_FLOPPY_DRIVE_ADD_FIXED("fdc:0", electron_floppies, "35dd", floppy_formats)
MCFG_FLOPPY_DRIVE_SOUND(true)
MCFG_FLOPPY_DRIVE_ADD("fdc:1", electron_floppies, nullptr, floppy_formats)
@ -120,7 +120,7 @@ uint8_t electron_plus3_device::expbus_r(address_space &space, offs_t offset, uin
{
if (m_romsel == 4)
{
data = memregion("exp_rom")->base()[offset & 0x3fff];
data = m_exp_rom->base()[offset & 0x3fff];
}
}
else if (offset == 0xfcc0)

View File

@ -84,7 +84,7 @@ uint8_t electron_pwrjoy_device::expbus_r(address_space &space, offs_t offset, ui
{
if (m_romsel == 15)
{
data = memregion("exp_rom")->base()[offset & 0x1fff];
data = m_exp_rom->base()[offset & 0x1fff];
}
}
else if (offset == 0xfcc0)