Previous 199869 Revisions Next

r26592 Wednesday 11th December, 2013 at 20:27:10 UTC by Michael Zapf
(MESS) ti99: Resolve READY in device_config_complete. (nw)
[src/mess/machine/ti99]datamux.c datamux.h

trunk/src/mess/machine/ti99/datamux.c
r26591r26592
394394   if (m_ram16b) free(m_ram16b);
395395}
396396
397void 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
397405void ti99_datamux_device::device_reset(void)
398406{
399407   const datamux_config *conf = reinterpret_cast<const datamux_config *>(static_config());
400408
401409   const dmux_device_list_entry *list = conf->devlist;
402   m_ready.resolve(conf->ready, *this);
403410
404411   m_cpu = machine().device("maincpu");
405412   // m_space = &m_cpu->memory().space(AS_PROGRAM);
trunk/src/mess/machine/ti99/datamux.h
r26591r26592
8080
8181protected:
8282   /* Constructor */
83   virtual void device_start(void);
84   virtual void device_stop(void);
85   virtual void device_reset(void);
86   virtual ioport_constructor device_input_ports() const;
83   void device_start();
84   void device_stop();
85   void device_reset();
86   void device_config_complete();
87   ioport_constructor device_input_ports() const;
8788
8889private:
8990   // Keeps the address space pointer

Previous 199869 Revisions Next


© 1997-2024 The MAME Team