static MACHINE_START( su2000 ) { su2000_state *state = machine.driver_data<su2000_state>(); address_space *space = machine.device("maincpu")->memory().space(AS_PROGRAM); state->m_pit8254 = machine.device("pit8254"); state->m_pic8259_1 = machine.device("pic8259_1"); state->m_pic8259_2 = machine.device("pic8259_2"); state->m_dma8237_1 = machine.device("dma8237_1"); state->m_dma8237_2 = machine.device("dma8237_2"); /* Configure RAM */ state->m_pc_ram = auto_alloc_array_clear(machine, UINT32, PC_RAM_SIZE); /* Conventional memory */ state->membank("mem_bank")->set_base(state->m_pc_ram); /* HMA */ offs_t ram_limit = 0x100000 + PC_RAM_SIZE - 0x0a0000; space->install_read_bank(0x100000, ram_limit - 1, "hma_bank"); space->install_write_bank(0x100000, ram_limit - 1, "hma_bank"); state->membank("hma_bank")->set_base(state->m_pc_ram + 0xa0000); device_set_irq_callback(machine.device("maincpu"), pc_irq_callback); init_pc_common(machine, PCCOMMON_KEYBOARD_AT, su2000_set_keyb_int); kbdc8042_init(machine, &at8042); pc_vga_init(machine, vga_setting, NULL); pc_vga_io_init(machine, machine.device("maincpu")->memory().space(AS_PROGRAM), 0xa0000, machine.device("maincpu")->memory().space(AS_IO), 0x0000); }
static MACHINE_START( pcat_dyn ) { cpu_set_irq_callback(machine->device("maincpu"), pcat_irq_callback); init_pc_common(machine, PCCOMMON_KEYBOARD_AT, pcat_dyn_set_keyb_int); kbdc8042_init(machine, &at8042); }
MACHINE_CONFIG_END DRIVER_INIT_MEMBER(gammagic_state,gammagic) { init_pc_common(machine(), PCCOMMON_KEYBOARD_AT, gammagic_set_keyb_int); kbdc8042_init(machine(), &at8042); atapi_init(machine()); }
static MACHINE_START( streetg2 ) { device_set_irq_callback(machine.device("maincpu"), pcat_irq_callback); init_pc_common(machine, PCCOMMON_KEYBOARD_AT, streetg2_set_keyb_int); machine.root_device().membank("rombank")->configure_entries(0, 0x80, machine.root_device().memregion("game_prg")->base(), 0x8000 ); machine.root_device().membank("rombank")->set_entry(0); //microtouch_init(machine, pcat_nit_microtouch_tx_callback, NULL); }
void savquest_state::machine_start() { m_bios_ram = auto_alloc_array(machine(), UINT32, 0x20000/4); init_pc_common(machine(), PCCOMMON_KEYBOARD_AT, savquest_set_keyb_int); m_maincpu->set_irq_acknowledge_callback(irq_callback); intel82439tx_init(machine()); kbdc8042_init(machine(), &at8042); }
static MACHINE_START( streetg2 ) { device_set_irq_callback(machine.device("maincpu"), pcat_irq_callback); init_pc_common(machine, PCCOMMON_KEYBOARD_AT, streetg2_set_keyb_int); memory_configure_bank(machine, "rombank", 0, 0x80, machine.region("game_prg")->base(), 0x8000 ); memory_set_bank(machine, "rombank", 0); microtouch_init(machine, pcat_nit_microtouch_tx_callback, NULL); }
static MACHINE_START( photoply ) { photoply_state *state = machine.driver_data<photoply_state>(); device_set_irq_callback(machine.device("maincpu"), irq_callback); state->m_pit8253 = machine.device( "pit8254" ); state->m_pic8259_1 = machine.device( "pic8259_1" ); state->m_pic8259_2 = machine.device( "pic8259_2" ); state->m_dma8237_1 = machine.device( "dma8237_1" ); state->m_dma8237_2 = machine.device( "dma8237_2" ); init_pc_common(machine, PCCOMMON_KEYBOARD_AT, photoply_set_keyb_int); }
MACHINE_CONFIG_END static DRIVER_INIT( calchase ) { bios_ram = auto_alloc_array(machine, UINT32, 0x10000/4); init_pc_common(machine, PCCOMMON_KEYBOARD_AT, calchase_set_keyb_int); intel82439tx_init(); kbdc8042_init(machine, &at8042); }
static MACHINE_START( savquest ) { savquest_state *state = machine.driver_data<savquest_state>(); state->m_bios_ram = auto_alloc_array(machine, UINT32, 0x20000/4); init_pc_common(machine, PCCOMMON_KEYBOARD_AT, savquest_set_keyb_int); device_set_irq_callback(state->m_maincpu, irq_callback); intel82439tx_init(machine); kbdc8042_init(machine, &at8042); pc_vga_init(machine, vga_setting, NULL); pc_vga_io_init(machine, machine.device("maincpu")->memory().space(AS_PROGRAM), 0xa0000, machine.device("maincpu")->memory().space(AS_IO), 0x0000); }
DRIVER_INIT_MEMBER(calchase_state,calchase) { m_bios_ram = auto_alloc_array(machine(), UINT32, 0x20000/4); pc_vga_init(machine(), vga_setting, NULL); pc_svga_trident_io_init(machine(), machine().device("maincpu")->memory().space(AS_PROGRAM), 0xa0000, machine().device("maincpu")->memory().space(AS_IO), 0x0000); init_pc_common(machine(), PCCOMMON_KEYBOARD_AT, calchase_set_keyb_int); intel82439tx_init(machine()); kbdc8042_init(machine(), &at8042); machine().device("maincpu")->memory().space(AS_PROGRAM)->install_readwrite_handler(0x3f0b160, 0x3f0b163, read32_delegate(FUNC(calchase_state::calchase_idle_skip_r),this), write32_delegate(FUNC(calchase_state::calchase_idle_skip_w),this)); }
static DRIVER_INIT( taitowlf ) { taitowlf_state *state = machine.driver_data<taitowlf_state>(); state->m_bios_ram = auto_alloc_array(machine, UINT32, 0x10000/4); init_pc_common(machine, PCCOMMON_KEYBOARD_AT, taitowlf_set_keyb_int); intel82439tx_init(machine); kbdc8042_init(machine, &at8042); #if ENABLE_VGA pc_vga_init(machine, vga_setting, NULL); pc_vga_io_init(machine, machine.device("maincpu")->memory().space(AS_PROGRAM), 0xa0000, machine.device("maincpu")->memory().space(AS_IO), 0x0000); #endif }
MACHINE_CONFIG_END static DRIVER_INIT( voyager ) { voyager_state *state = machine.driver_data<voyager_state>(); state->m_bios_ram = auto_alloc_array(machine, UINT32, 0x20000/4); pc_vga_init(machine, vga_setting, NULL); pc_svga_trident_io_init(machine, machine.device("maincpu")->memory().space(AS_PROGRAM), 0xa0000, machine.device("maincpu")->memory().space(AS_IO), 0x0000); init_pc_common(machine, PCCOMMON_KEYBOARD_AT, voyager_set_keyb_int); intel82439tx_init(machine); kbdc8042_init(machine, &at8042); }
static MACHINE_START( funkball ) { funkball_state *state = machine.driver_data<funkball_state>(); state->m_bios_ram = auto_alloc_array(machine, UINT8, 0x20000); init_pc_common(machine, PCCOMMON_KEYBOARD_AT, funkball_set_keyb_int); device_set_irq_callback(state->m_maincpu, irq_callback); kbdc8042_init(machine, &at8042); /* defaults, otherwise it won't boot */ state->m_unk_ram[0x010/4] = 0x2f8d85ff; state->m_unk_ram[0x018/4] = 0x000018c5; }
void xtom3d_state::machine_start() { m_bios_ram = auto_alloc_array(machine(), UINT32, 0x10000/4); m_bios_ext1_ram = auto_alloc_array(machine(), UINT32, 0x4000/4); m_bios_ext2_ram = auto_alloc_array(machine(), UINT32, 0x4000/4); m_bios_ext3_ram = auto_alloc_array(machine(), UINT32, 0x4000/4); m_bios_ext4_ram = auto_alloc_array(machine(), UINT32, 0x4000/4); m_isa_ram1 = auto_alloc_array(machine(), UINT32, 0x4000/4); m_isa_ram2 = auto_alloc_array(machine(), UINT32, 0x4000/4); init_pc_common(machine(), PCCOMMON_KEYBOARD_AT, xtom3d_set_keyb_int); m_maincpu->set_irq_acknowledge_callback(irq_callback); intel82439tx_init(machine()); kbdc8042_init(machine(), &at8042); }