trunk/src/mess/machine/ti99/datamux.c
| r26591 | r26592 | |
| 394 | 394 | if (m_ram16b) free(m_ram16b); |
| 395 | 395 | } |
| 396 | 396 | |
| 397 | void ti99_datamux_device::device_config_complete() |
| 398 | { |
| 399 | const datamux_config *conf = reinterpret_cast<const datamux_config *>(static_config()); |
| 400 | // Must do this here, or ready may be called too early |
| 401 | // The device is built below because we need the dip switches. |
| 402 | m_ready.resolve(conf->ready, *this); |
| 403 | } |
| 404 | |
| 397 | 405 | void ti99_datamux_device::device_reset(void) |
| 398 | 406 | { |
| 399 | 407 | const datamux_config *conf = reinterpret_cast<const datamux_config *>(static_config()); |
| 400 | 408 | |
| 401 | 409 | const dmux_device_list_entry *list = conf->devlist; |
| 402 | | m_ready.resolve(conf->ready, *this); |
| 403 | 410 | |
| 404 | 411 | m_cpu = machine().device("maincpu"); |
| 405 | 412 | // m_space = &m_cpu->memory().space(AS_PROGRAM); |