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(); }
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)); }
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(); }
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)); }
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(); }
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)); }
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)); }
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)); }
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)); }
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)); }
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)); }
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)); }
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; }
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)); }
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)); }
void a2bus_videx80_device::device_start() { // set_a2bus_device makes m_slot valid set_a2bus_device(); m_rom = device().machine().root_device().memregion(this->subtag(VIDEOTERM_ROM_REGION).c_str())->base(); m_chrrom = device().machine().root_device().memregion(this->subtag(VIDEOTERM_GFX_REGION).c_str())->base(); memset(m_ram, 0, 4*512); save_item(NAME(m_ram)); save_item(NAME(m_framecnt)); save_item(NAME(m_rambank)); }
void a2bus_cffa2000_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, CFFA2_ROM_REGION))->base(); // patch default setting so slave device is enabled m_rom[0x801] = 4; save_item(NAME(m_lastdata)); save_item(NAME(m_writeprotect)); save_item(NAME(m_eeprom)); }
void a2bus_hsscsi_device::device_start() { // set_a2bus_device makes m_slot valid set_a2bus_device(); m_rom = device().machine().root_device().memregion(this->subtag(SCSI_ROM_REGION).c_str())->base(); memset(m_ram, 0, 8192); save_item(NAME(m_ram)); save_item(NAME(m_rambank)); save_item(NAME(m_rombank)); save_item(NAME(m_bank)); save_item(NAME(m_drq)); save_item(NAME(m_816block)); }
void a2bus_applicard_device::device_start() { // set_a2bus_device makes m_slot valid set_a2bus_device(); // locate Z80 ROM m_z80rom = device().machine().root_device().memregion(this->subtag(Z80_ROM_REGION).c_str())->base(); save_item(NAME(m_bROMAtZ80Zero)); save_item(NAME(m_z80stat)); save_item(NAME(m_6502stat)); save_item(NAME(m_toz80)); save_item(NAME(m_to6502)); save_item(NAME(m_z80ram)); memset(m_z80ram, 0, 64*1024); }
void a2bus_vulcanbase_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, VULCAN_ROM_REGION))->base(); // disable 40 meg partition size limit / protection m_rom[0x59e] = 0xea; m_rom[0x59f] = 0xea; save_item(NAME(m_lastdata)); save_item(NAME(m_ram)); save_item(NAME(m_rombank)); save_item(NAME(m_rambank)); }
void a2bus_cffa2000_device::device_start() { // set_a2bus_device makes m_slot valid set_a2bus_device(); m_rom = device().machine().root_device().memregion(this->subtag(CFFA2_ROM_REGION).c_str())->base(); // patch default setting so slave device is enabled and up to 13 devices on both connectors m_rom[0x800] = 13; m_rom[0x801] = 13; save_item(NAME(m_lastdata)); save_item(NAME(m_lastreaddata)); save_item(NAME(m_writeprotect)); save_item(NAME(m_eeprom)); save_item(NAME(m_inwritecycle)); }
void a2bus_videx160_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, ULTRATERM_ROM_REGION))->base(); astring tempstring2; m_chrrom = device().machine().root_device().memregion(this->subtag(tempstring2, ULTRATERM_GFX_REGION))->base(); memset(m_ram, 0, 256*16); save_item(NAME(m_ram)); save_item(NAME(m_framecnt)); save_item(NAME(m_rambank)); save_item(NAME(m_ctrl1)); save_item(NAME(m_ctrl2)); }
void a2bus_pcxporter_device::device_start() { // set_a2bus_device makes m_slot valid set_a2bus_device(); memset(m_ram, 0, 768*1024); memset(m_regs, 0, 0x400); m_offset = 0; m_reset_during_halt = false; save_item(NAME(m_ram)); save_item(NAME(m_regs)); save_item(NAME(m_offset)); m_v30->space(AS_PROGRAM).install_ram(0, 0xaffff, m_ram); m_v30->space(AS_PROGRAM).install_rom(0xf0000, 0xfffff, &m_ram[0xa0000]); m_pcmem_space = &m_v30->space(AS_PROGRAM); m_pcio_space = &m_v30->space(AS_IO); }
void a2bus_dx1_device::device_start() { // set_a2bus_device makes m_slot valid set_a2bus_device(); }
void a2bus_ezcgi_9958_device::device_start() { // set_a2bus_device makes m_slot valid set_a2bus_device(); }