void m68307_cpu_device::device_start() { init_cpu_m68000(); /* basic CS logic, timers, mbus, serial logic set via remappable register */ init16_m68307(*program); m68307SIM = new m68307_sim(); m68307MBUS = new m68307_mbus(); m68307TIMER = new m68307_timer(); m68307TIMER->init(this); m68307SIM->reset(); m68307MBUS->reset(); m68307TIMER->reset(); internal = &this->space(AS_PROGRAM); m68307_base = 0xbfff; m68307_scrhigh = 0x0007; m68307_scrlow = 0xf010; write_irq.resolve_safe(); write_a_tx.resolve_safe(); write_b_tx.resolve_safe(); read_inport.resolve(); write_outport.resolve_safe(); set_port_callbacks(porta_read_delegate(), porta_write_delegate(), portb_read_delegate(), portb_write_delegate()); }
void m68307cpu_device::device_start() { init_cpu_m68000(); /* basic CS logic, timers, mbus, serial logic set via remappable register */ init16_m68307(*program); m68307SIM = new m68307_sim(); m68307MBUS = new m68307_mbus(); m68307SERIAL = new m68307_serial(); m68307TIMER = new m68307_timer(); m68307TIMER->init(this); m68307SIM->reset(); m68307MBUS->reset(); m68307SERIAL->reset(); m68307TIMER->reset(); internal = &this->space(AS_PROGRAM); m68307_base = 0xbfff; m68307_scrhigh = 0x0007; m68307_scrlow = 0xf010; m68307_set_port_callbacks(this, 0,0,0,0); }