DRIVER_INIT_MEMBER(a310_state,a310) { UINT32 ram_size = m_ram->size(); m_maincpu->space(AS_PROGRAM).install_readwrite_handler( 0x02000000, 0x02000000+(ram_size-1), read32_delegate(FUNC(a310_state::a310_psy_wram_r), this), write32_delegate(FUNC(a310_state::a310_psy_wram_w), this)); archimedes_driver_init(); }
void aa310_state::init_aa310() { uint32_t ram_size = m_ram->size(); m_maincpu->space(AS_PROGRAM).unmap_readwrite(0x02000000, 0x02ffffff); m_maincpu->space(AS_PROGRAM).install_readwrite_handler( 0x02000000, 0x02000000+(ram_size-1), read32_delegate(FUNC(aa310_state::aa310_psy_wram_r), this), write32_delegate(FUNC(aa310_state::aa310_psy_wram_w), this)); archimedes_driver_init(); }
static DRIVER_INIT(a310) { UINT32 ram_size = machine.device<ram_device>(RAM_TAG)->size(); a310_state *state = machine.driver_data<a310_state>(); archimedes_memc_physmem = auto_alloc_array(machine, UINT32, 0x01000000); machine.device("maincpu")->memory().space(AS_PROGRAM)->install_readwrite_handler( 0x02000000, 0x02000000+(ram_size-1), read32_delegate(FUNC(a310_state::a310_psy_wram_r), state), write32_delegate(FUNC(a310_state::a310_psy_wram_w), state)); archimedes_driver_init(machine); }
static DRIVER_INIT(a310) { UINT32 ram_size = ram_get_size(machine.device(RAM_TAG)); archimedes_memc_physmem = auto_alloc_array(machine, UINT32, 0x01000000); machine.device("maincpu")->memory().space(AS_PROGRAM)->install_legacy_readwrite_handler( 0x02000000, 0x02000000+(ram_size-1), FUNC(a310_psy_wram_r), FUNC(a310_psy_wram_w) ); archimedes_driver_init(machine); }
INPUT_PORTS_END void ertictac_state::init_ertictac() { archimedes_driver_init(); }
INPUT_PORTS_END static DRIVER_INIT( ertictac ) { archimedes_driver_init(machine); }
INPUT_PORTS_END DRIVER_INIT_MEMBER(ertictac_state,ertictac) { archimedes_driver_init(); }