isa_hdc: don't install ROM on ec1841 (its BIOS supports HDC natively) (nw)
This commit is contained in:
parent
d7099a7d46
commit
75cbb7673e
@ -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");
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user