isa_hdc: don't install ROM on ec1841 (its BIOS supports HDC natively) (nw)

This commit is contained in:
Sergey Svishchev 2016-08-13 00:11:30 +03:00
parent d7099a7d46
commit 75cbb7673e
2 changed files with 2 additions and 1 deletions

View File

@ -957,7 +957,7 @@ void isa8_hdc_device::device_reset()
{
dip = ioport("HDD")->read();
if (ioport("ROM")->read() == 1)
if (ioport("ROM")->read() == 1 && m_hdc->install_rom())
m_isa->install_rom(this, 0xc8000, 0xc9fff, "hdc", "hdc");
}

View File

@ -50,6 +50,7 @@ public:
UINT8 status_r();
void set_ready();
UINT8 get_command() { return buffer[0]; }
bool install_rom() { return (m_type != EC1841); }
protected:
// device-level overrides