void nes_namcot163_device::device_start() { common_start(); irq_timer = timer_alloc(TIMER_IRQ); irq_timer->adjust(attotime::zero, 0, machine().device<cpu_device>("maincpu")->cycles_to_attotime(1)); save_item(NAME(m_irq_enable)); save_item(NAME(m_irq_count)); save_item(NAME(m_wram_protect)); save_item(NAME(m_latch)); save_item(NAME(m_chr_bank)); save_item(NAME(m_n163_ram)); m_mapper_sram_size = 0x2000; m_mapper_sram = m_n163_ram; }
void nes_konami_vrc4_device::device_start() { common_start(); irq_timer = timer_alloc(TIMER_IRQ); irq_timer->adjust(attotime::zero, 0, machine().device<cpu_device>("maincpu")->cycles_to_attotime(1)); save_item(NAME(m_irq_mode)); save_item(NAME(m_irq_prescale)); save_item(NAME(m_irq_enable)); save_item(NAME(m_irq_enable_latch)); save_item(NAME(m_irq_count)); save_item(NAME(m_irq_count_latch)); save_item(NAME(m_latch)); save_item(NAME(m_mmc_prg_bank)); save_item(NAME(m_mmc_vrom_bank)); }
void nes_namcot175_device::device_start() { common_start(); irq_timer = timer_alloc(TIMER_IRQ); irq_timer->adjust(attotime::zero, 0, machine().device<cpu_device>("maincpu")->cycles_to_attotime(1)); save_item(NAME(m_irq_enable)); save_item(NAME(m_irq_count)); save_item(NAME(m_wram_protect)); m_n163_ram = auto_alloc_array_clear(machine(), UINT8, 0x2000); save_pointer(NAME(m_n163_ram), 0x2000); m_mapper_sram_size = 0x2000; m_mapper_sram = m_n163_ram; }
void nes_tengen032_device::device_start() { common_start(); irq_timer = timer_alloc(TIMER_IRQ); irq_timer->reset(); timer_freq = machine().device<cpu_device>("maincpu")->cycles_to_attotime(4); save_item(NAME(m_mmc_prg_bank)); save_item(NAME(m_mmc_vrom_bank)); save_item(NAME(m_latch)); save_item(NAME(m_irq_mode)); save_item(NAME(m_irq_reset)); save_item(NAME(m_irq_enable)); save_item(NAME(m_irq_count)); save_item(NAME(m_irq_count_latch)); }
void nes_event_device::device_start() { common_start(); event_timer = timer_alloc(TIMER_EVENT); event_timer->adjust(attotime::never); timer_freq = machine().device<cpu_device>("maincpu")->cycles_to_attotime(1); save_item(NAME(m_latch)); save_item(NAME(m_count)); save_item(NAME(m_reg)); save_item(NAME(m_reg_write_enable)); save_item(NAME(m_nwc_init)); save_item(NAME(m_timer_count)); save_item(NAME(m_timer_on)); save_item(NAME(m_timer_enabled)); }
void nes_txrom_device::mmc3_start() { common_start(); save_item(NAME(m_mmc_prg_bank)); save_item(NAME(m_mmc_vrom_bank)); save_item(NAME(m_latch)); save_item(NAME(m_wram_protect)); save_item(NAME(m_prg_base)); save_item(NAME(m_prg_mask)); save_item(NAME(m_chr_base)); save_item(NAME(m_chr_mask)); save_item(NAME(m_alt_irq)); save_item(NAME(m_irq_enable)); save_item(NAME(m_irq_count)); save_item(NAME(m_irq_count_latch)); save_item(NAME(m_irq_clear)); }
static int test_icap_stats(void){ struct timeval tv; int ret = -1; Gettimeofday(&tv,NULL); if(common_start()){ goto done; } if(init_ctlserver(CUNIT_CTLSERVER)){ goto done; } printf(" Testing ICAP statistics (twice)...\n"); if(ctlclient_quiet("icap_stats_dump") < 0){ goto done; } if(ctlclient_quiet("pfd_table_dump") < 0){ goto done; } if(ctlclient_quiet("snare_dump") < 0){ goto done; } time_oqueue_session(&tv); Gettimeofday(&tv,NULL); time_oqueue_session(&tv); Gettimeofday(&tv,NULL); time_oqueue_session(&tv); Gettimeofday(&tv,NULL); time_oqueue_session(&tv); Gettimeofday(&tv,NULL); time_oqueue_session(&tv); Gettimeofday(&tv,NULL); ret = (ctlclient_quiet("icap_stats_dump") < 0); ret |= (ctlclient_quiet("pfd_table_dump") < 0); ret |= (ctlclient_quiet("snare_dump") < 0); done: ret |= close_icap_servers(); ret |= reap_poller_thread(snarepoller); ret |= destroy_poller(snarepoller); ret |= stop_config(); ret |= stop_fileconf(); ret |= stop_ctlserver(); return ret; }
void nes_74x377_device::device_start() { common_start(); }
void nes_74x161x161x32_device::device_start() { common_start(); }
void nes_ffe3_device::device_start() { common_start(); }
void nes_cne_fsb_device::device_start() { common_start(); }
void nes_un1rom_device::device_start() { common_start(); }
void nes_cnrom_device::device_start() { common_start(); save_item(NAME(m_chr_open_bus)); }
void nes_sachen_sa0037_device::device_start() { common_start(); }
void nes_jf19_device::device_start() { common_start(); }
void nes_jf17_device::device_start() { common_start(); save_item(NAME(m_latch)); }
void nes_konami_vrc1_device::device_start() { common_start(); save_item(NAME(m_mmc_vrom_bank)); }
void nes_sachen_sa72008_device::device_start() { common_start(); }
void nes_uxrom_cc_device::device_start() { common_start(); }
void nes_sachen_tcu01_device::device_start() { common_start(); }
void nes_cne_decathl_device::device_start() { common_start(); }
void nes_sachen_tcu02_device::device_start() { common_start(); save_item(NAME(m_latch)); }
void nes_cne_shlz_device::device_start() { common_start(); }
void nes_sachen_74x374_device::device_start() { common_start(); save_item(NAME(m_latch)); save_item(NAME(m_mmc_vrom_bank)); }
void nes_hes_device::device_start() { common_start(); }
void nes_sachen_8259a_device::device_start() { common_start(); save_item(NAME(m_latch)); save_item(NAME(m_reg)); }
void nes_74x139x74_device::device_start() { common_start(); }
void nes_karaokestudio_device::device_start() { common_start(); }
void nes_ggenie_device::device_start() { common_start(); save_item(NAME(m_gg_bypass)); }
void nes_oekakids_device::device_start() { common_start(); save_item(NAME(m_latch)); save_item(NAME(m_reg)); }