hpblp: disable device and remove loading of ROMs until they show up. [R. Belmont]

This commit is contained in:
arbee 2023-03-26 10:59:48 -04:00
parent 8216df5c66
commit 432fee35eb
2 changed files with 9 additions and 2 deletions

View File

@ -523,6 +523,9 @@ void isa8_hpblp_device::device_reset()
}
m_isa->install_device(port, port + 7, *this, &isa8_hpblp_device::isamap);
m_installed = true;
// halt until ROMs are found
m_maincpu->set_input_line(INPUT_LINE_HALT, ASSERT_LINE);
}
m_ack_buscycle = false;
@ -538,8 +541,8 @@ void isa8_hpblp_device::device_reset()
ROM_START(hpblp)
ROM_REGION(0x20000, BLP_TAG, 0)
ROM_LOAD16_BYTE( "1818-4576.bin", 0x000000, 0x008000, CRC(8beb6bdb) SHA1(9b620c577aea54841608d0d46f7e8077eef607c6))
ROM_LOAD16_BYTE( "1818-4577.bin", 0x000001, 0x008000, CRC(e8a5c071) SHA1(9e13c0ef2aed6565c33795780b7102f2647cf2a0))
// ROM_LOAD16_BYTE( "1818-4576.bin", 0x000000, 0x008000, CRC(8beb6bdb) SHA1(9b620c577aea54841608d0d46f7e8077eef607c6))
// ROM_LOAD16_BYTE( "1818-4577.bin", 0x000001, 0x008000, CRC(e8a5c071) SHA1(9e13c0ef2aed6565c33795780b7102f2647cf2a0))
ROM_END
const tiny_rom_entry *isa8_hpblp_device::device_rom_region() const

View File

@ -19,6 +19,9 @@ class isa8_hpblp_device :
public:
isa8_hpblp_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
// indicate not working because ROMs don't exist
static constexpr feature_type imperfect_features() { return feature::ALL; }
protected:
virtual ioport_constructor device_input_ports() const override;
virtual void device_start() override;
@ -26,6 +29,7 @@ protected:
virtual void device_add_mconfig(machine_config &config) override;
virtual const tiny_rom_entry *device_rom_region() const override;
private:
// ISA part
void isamap(address_map &map);