示例#1
0
文件: devcb.cpp 项目: goofwear/mame
void devcb_write_base::write_ioport_adapter(address_space &space, offs_t offset, uint64_t data, uint64_t mask)
{
	if (m_target.ioport)
		m_target.ioport->write(unshift_mask_xor(data));
}
示例#2
0
文件: devcb.cpp 项目: goofwear/mame
void devcb_write_base::write_inputline_adapter(address_space &space, offs_t offset, uint64_t data, uint64_t mask)
{
	m_target.device->execute().set_input_line(m_target_int, unshift_mask_xor(data) & 1);
}
示例#3
0
文件: devcb.cpp 项目: goofwear/mame
void devcb_write_base::write64_adapter(address_space &space, offs_t offset, uint64_t data, uint64_t mask)
{
	m_write64(space, offset, unshift_mask_xor(data), unshift_mask(mask));
}
示例#4
0
文件: devcb.cpp 项目: goofwear/mame
void devcb_write_base::write_line_adapter(address_space &space, offs_t offset, uint64_t data, uint64_t mask)
{
	m_writeline(unshift_mask_xor(data) & 1);
}
示例#5
0
void devcb_write_base::write32_adapter(address_space &space, offs_t offset, UINT64 data, UINT64 mask)
{
	m_write32(space, offset, unshift_mask_xor(data), unshift_mask(mask));
}
示例#6
0
void devcb_write_base::write_ioport_adapter(address_space &space, offs_t offset, UINT64 data, UINT64 mask)
{
	m_target.ioport->write_safe(unshift_mask_xor(data));
}
示例#7
0
void devcb2_write_base::write_line_adapter(address_space &space, offs_t offset, UINT64 data, UINT64 mask)
{
	m_writeline(unshift_mask_xor(data) & 1);
}