-dpb_brushproc: Added recently-dumped PAL image, nw

This commit is contained in:
MooglyGuy 2019-07-21 02:07:17 +02:00
parent 0ba5d412a4
commit 1440861929
2 changed files with 19 additions and 0 deletions

View File

@ -49,6 +49,9 @@ dpb7000_brushproc_card_device::dpb7000_brushproc_card_device(const machine_confi
, m_prom_addr(0)
, m_prom_base(nullptr)
, m_prom_out(0)
, m_pal_in(0)
, m_pal_base(nullptr)
, m_pal_out(0)
, m_store1(*this)
, m_store2(*this)
, m_mult_fa(*this, "mult_fa")
@ -59,6 +62,7 @@ dpb7000_brushproc_card_device::dpb7000_brushproc_card_device(const machine_confi
, m_alu_fe(*this, "alu_fe")
, m_alu_ee(*this, "alu_ee")
, m_prom(*this, "prom")
, m_pal(*this, "pal")
{
}
@ -98,6 +102,9 @@ void dpb7000_brushproc_card_device::device_start()
save_item(NAME(m_prom_addr));
save_item(NAME(m_prom_out));
save_item(NAME(m_pal_in));
save_item(NAME(m_pal_out));
m_store1.resolve_safe();
m_store2.resolve_safe();
}
@ -139,6 +146,10 @@ void dpb7000_brushproc_card_device::device_reset()
m_prom_base = m_prom->base();
m_prom_out = 0;
m_pal_in = 0;
m_pal_base = m_pal->base();
m_pal_out = 0;
m_mult_fa->xm_w(0);
m_mult_fa->ym_w(0);
m_mult_fa->rs_w(0);
@ -170,6 +181,9 @@ void dpb7000_brushproc_card_device::device_add_mconfig(machine_config &config)
ROM_START( dpb7000_brushproc )
ROM_REGION(0x200, "prom", 0)
ROM_LOAD("pb-02c-17593-baa.bin", 0x000, 0x200, CRC(a74cc1f5) SHA1(3b789d5a29c70c93dec56f44be8c14b41915bdef))
ROM_REGION16_BE(0x800, "pal", 0)
ROMX_LOAD("pb-02c-17593-hba.bin", 0x000, 0x800, CRC(76018e4f) SHA1(73d995e2e78410676061d45857756d5305a9984a), ROM_GROUPWORD)
ROM_END
const tiny_rom_entry *dpb7000_brushproc_card_device::device_rom_region() const

View File

@ -106,6 +106,10 @@ protected:
uint8_t *m_prom_base;
uint8_t m_prom_out;
uint16_t m_pal_in;
uint8_t *m_pal_base;
uint16_t m_pal_out;
devcb_write8 m_store1;
devcb_write8 m_store2;
@ -117,6 +121,7 @@ protected:
required_device<sn74s381_device> m_alu_fe;
required_device<sn74s381_device> m_alu_ee;
required_memory_region m_prom;
required_memory_region m_pal;
};
// device type definition