本文整理汇总了C++中set_a2bus_device函数的典型用法代码示例。如果您正苦于以下问题:C++ set_a2bus_device函数的具体用法?C++ set_a2bus_device怎么用?C++ set_a2bus_device使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了set_a2bus_device函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: set_a2bus_device
void a2bus_timemasterho_device::device_start()
{
// set_a2bus_device makes m_slot valid
set_a2bus_device();
m_rom = device().machine().root_device().memregion(this->subtag(TIMEMASTER_ROM_REGION).c_str())->base();
}
示例2: set_a2bus_device
void a2bus_mouse_device::device_start()
{
// set_a2bus_device makes m_slot valid
set_a2bus_device();
m_rom = device().machine().root_device().memregion(this->subtag(MOUSE_ROM_REGION).c_str())->base();
// allocate two timers: one for the 68705, one for the quadrature magic
m_timer = timer_alloc(TIMER_68705, nullptr);
m_read_timer = timer_alloc(TIMER_QUADRATURE, nullptr);
m_timer->adjust(attotime::never, TIMER_68705);
m_read_timer->adjust(attotime::never, TIMER_QUADRATURE);
// get 68705P3 mask option byte
m_mask_option = m_rom[0x784];
// register save state variables
save_item(NAME(m_ddr_a));
save_item(NAME(m_ddr_b));
save_item(NAME(m_ddr_c));
save_item(NAME(m_port_a_out));
save_item(NAME(m_port_b_out));
save_item(NAME(m_port_c_out));
save_item(NAME(m_port_a_in));
save_item(NAME(m_port_b_in));
save_item(NAME(m_port_c_in));
save_item(NAME(m_timer_cnt));
save_item(NAME(m_timer_ctl));
save_item(NAME(last_mx));
save_item(NAME(last_my));
save_item(NAME(count_x));
save_item(NAME(count_y));
}
示例3: set_a2bus_device
void a2bus_ssc_device::device_start()
{
// set_a2bus_device makes m_slot valid
set_a2bus_device();
m_rom = device().machine().root_device().memregion(this->subtag(SSC_ROM_REGION).c_str())->base();
}
示例4: set_a2bus_device
void a2bus_softcard_device::device_start()
{
// set_a2bus_device makes m_slot valid
set_a2bus_device();
save_item(NAME(m_bEnabled));
save_item(NAME(m_FirstZ80Boot));
}
示例5: set_a2bus_device
void a2bus_floppy_device::device_start()
{
// set_a2bus_device makes m_slot valid
set_a2bus_device();
astring tempstring;
m_rom = device().machine().root_device().memregion(this->subtag(tempstring, DISKII_ROM_REGION))->base();
}
示例6: set_a2bus_device
void a2bus_dx1_device::device_start()
{
// set_a2bus_device makes m_slot valid
set_a2bus_device();
save_item(NAME(m_volume));
save_item(NAME(m_lastdac));
}
示例7: set_a2bus_device
void a2bus_transwarp_device::device_start()
{
// set_a2bus_device makes m_slot valid
set_a2bus_device();
m_timer = timer_alloc(0);
save_item(NAME(m_bEnabled));
}
示例8: set_a2bus_device
void a2bus_zipdrivebase_device::device_start()
{
// set_a2bus_device makes m_slot valid
set_a2bus_device();
m_rom = device().machine().root_device().memregion(this->subtag(ZIPDRIVE_ROM_REGION).c_str())->base();
save_item(NAME(m_lastdata));
}
示例9: set_a2bus_device
void a2bus_swyft_device::device_start()
{
// set_a2bus_device makes m_slot valid
set_a2bus_device();
m_rom = device().machine().root_device().memregion(this->subtag(SWYFT_ROM_REGION).c_str())->base();
save_item(NAME(m_rombank));
}
示例10: set_a2bus_device
void a2bus_sn76489_device::device_start()
{
// set_a2bus_device makes m_slot valid
set_a2bus_device();
m_latch0 = m_latch1 = m_latch2 = m_latch3 = 0;
save_item(NAME(m_latch0));
save_item(NAME(m_latch1));
save_item(NAME(m_latch2));
save_item(NAME(m_latch3));
}
示例11: set_a2bus_device
void a2bus_ramcard_device::device_start()
{
// set_a2bus_device makes m_slot valid
set_a2bus_device();
memset(m_ram, 0, 16*1024);
save_item(NAME(m_inh_state));
save_item(NAME(m_ram));
save_item(NAME(m_dxxx_bank));
save_item(NAME(m_last_offset));
}
示例12: set_a2bus_device
void a2bus_vulcanbase_device::device_start()
{
// set_a2bus_device makes m_slot valid
set_a2bus_device();
m_rom = device().machine().root_device().memregion(this->subtag(VULCAN_ROM_REGION).c_str())->base();
save_item(NAME(m_lastdata));
save_item(NAME(m_ram));
save_item(NAME(m_rombank));
save_item(NAME(m_rambank));
}
示例13: set_a2bus_device
void a2bus_mouse_device::device_start()
{
// set_a2bus_device makes m_slot valid
set_a2bus_device();
// register save state variables
save_item(NAME(m_port_a_in));
save_item(NAME(m_port_b_in));
save_item(NAME(m_last));
save_item(NAME(m_count));
m_port_b_in = 0x00;
}
示例14: set_a2bus_device
void a2bus_corvfdc02_device::device_start()
{
// set_a2bus_device makes m_slot valid
set_a2bus_device();
m_rom = device().machine().root_device().memregion(this->subtag(FDC02_ROM_REGION).c_str())->base();
m_timer = timer_alloc(0);
save_item(NAME(m_fdc_local_status));
save_item(NAME(m_fdc_local_command));
save_item(NAME(m_bufptr));
save_item(NAME(m_buffer));
}
示例15: set_a2bus_device
void a2bus_pic_device::device_start()
{
// set_a2bus_device makes m_slot valid
set_a2bus_device();
astring tempstring;
m_rom = device().machine().root_device().memregion(this->subtag(tempstring, PIC_ROM_REGION))->base();
m_timer = timer_alloc(0, NULL);
m_timer->adjust(attotime::never);
save_item(NAME(m_ack));
save_item(NAME(m_irqenable));
save_item(NAME(m_autostrobe));
}