multiface 2: Disable the direct update handler [O. Galibert]

That device should be overhauled using the by now reversed PAL
information available at:
  http://hardware.speccy.org/temp/Amstrad-multiface2.html
This commit is contained in:
Olivier Galibert 2017-04-01 12:30:33 +02:00
parent 47953cd71d
commit f574404562
2 changed files with 3 additions and 4 deletions

View File

@ -26,6 +26,7 @@ static MACHINE_CONFIG_FRAGMENT( cpc_mface2 )
MCFG_CPC_EXPANSION_SLOT_OUT_ROMDIS_CB(DEVWRITELINE("^", cpc_expansion_slot_device, romdis_w)) // ROMDIS
MACHINE_CONFIG_END
#if 0
DIRECT_UPDATE_MEMBER( cpc_multiface2_device::amstrad_default )
{
return address;
@ -71,6 +72,7 @@ DIRECT_UPDATE_MEMBER( cpc_multiface2_device::amstrad_multiface_directoverride )
return pc;
}
#endif
int cpc_multiface2_device::multiface_hardware_enabled()
{
@ -158,7 +160,7 @@ void cpc_multiface2_device::multiface_stop()
m_slot->nmi_w(0);
/* initialise 0065 override to monitor calls to 0065 */
machine().device("maincpu")->memory().space(AS_PROGRAM).set_direct_update_handler(direct_update_delegate(&cpc_multiface2_device::amstrad_multiface_directoverride,this));
// machine().device("maincpu")->memory().space(AS_PROGRAM).set_direct_update_handler(direct_update_delegate(&cpc_multiface2_device::amstrad_multiface_directoverride,this));
}
}

View File

@ -55,9 +55,6 @@ protected:
private:
cpc_expansion_slot_device *m_slot;
DIRECT_UPDATE_MEMBER( amstrad_default );
DIRECT_UPDATE_MEMBER( amstrad_multiface_directoverride );
std::unique_ptr<uint8_t[]> m_multiface_ram;
unsigned long m_multiface_flags;