trunk/src/mess/drivers/force68k.c
| r248371 | r248372 | |
| 135 | 135 | driver_device(mconfig, type, tag), |
| 136 | 136 | // m_rtc(*this, "rtc") |
| 137 | 137 | m_maincpu(*this, "maincpu"), |
| 138 | m_rtc(*this, "rtc"), |
| 138 | 139 | m_pit(*this, "pit"), |
| 139 | 140 | m_aciahost(*this, "aciahost"), |
| 140 | 141 | m_aciaterm(*this, "aciaterm"), |
| r248371 | r248372 | |
| 150 | 151 | |
| 151 | 152 | private: |
| 152 | 153 | required_device<cpu_device> m_maincpu; |
| 153 | | // required_device<mm58167_device> m_rtc; |
| 154 | required_device<mm58167_device> m_rtc; |
| 154 | 155 | required_device<pit68230_device> m_pit; |
| 155 | 156 | required_device<acia6850_device> m_aciahost; |
| 156 | 157 | required_device<acia6850_device> m_aciaterm; |
| r248371 | r248372 | |
| 172 | 173 | AM_RANGE(0x0c0082, 0x0c0083) AM_DEVREADWRITE8("aciaterm", acia6850_device, data_r, data_w, 0xff00) |
| 173 | 174 | AM_RANGE(0x0c0100, 0x0c0101) AM_DEVREADWRITE8("aciaremt", acia6850_device, status_r, control_w, 0x00ff) |
| 174 | 175 | AM_RANGE(0x0c0102, 0x0c0103) AM_DEVREADWRITE8("aciaremt", acia6850_device, data_r, data_w, 0x00ff) |
| 175 | | // AM_RANGE(0x0c0401, 0x0c042f) AM_DEVREADWRITE8("rtc", mm58167_device, read, write, 0xff00) |
| 176 | AM_RANGE(0x0c0400, 0x0c042f) AM_DEVREADWRITE8("rtc", mm58167_device, read, write, 0x00ff) |
| 176 | 177 | AM_RANGE(0x0e0000, 0x0e0035) AM_DEVREADWRITE8("pit", pit68230_device, data_r, data_w, 0x00ff) |
| 177 | 178 | // AM_RANGE(0x0e0200, 0x0e0380) AM_READWRITE(fpu_r, fpu_w) /* optional FPCP 68881 FPU interface */ |
| 178 | 179 | // AM_RANGE(0x100000, 0xfeffff) /* VMEbus Rev B addresses (24 bits) */ |
| r248371 | r248372 | |
| 239 | 240 | MCFG_DEVICE_ADD("aciaremt_clock", CLOCK, ACIA_CLOCK) |
| 240 | 241 | MCFG_CLOCK_SIGNAL_HANDLER(WRITELINE(force68k_state, write_aciaterm_clock)) |
| 241 | 242 | |
| 243 | /* RTC Real Time Clock device */ |
| 244 | MCFG_DEVICE_ADD("rtc", MM58167, XTAL_32_768kHz) |
| 245 | |
| 242 | 246 | /* PIT Parallel Interface and Timer device */ |
| 243 | 247 | MCFG_DEVICE_ADD("pit", PIT68230, 0) |
| 244 | 248 | |