src/mess/machine/lisa.c
| r15154 | r15155 | |
| 1867 | 1867 | /* I/O Board Devices */ |
| 1868 | 1868 | switch ((offset & 0x0600) >> 9) |
| 1869 | 1869 | { |
| 1870 | | case 0: /* serial ports control */ |
| 1871 | | /*SCCBCTL .EQU $FCD241 ;SCC channel B control |
| 1872 | | ACTL .EQU 2 ;offset to SCC channel A control |
| 1873 | | SCCDATA .EQU 4 ;offset to SCC data regs*/ |
| 1870 | case 0: /* serial ports control */ |
| 1871 | return m_scc->reg_r(space, offset&7); |
| 1874 | 1872 | break; |
| 1875 | 1873 | |
| 1876 | 1874 | case 2: /* parallel port */ |
| r15154 | r15155 | |
| 1996 | 1994 | /* I/O Board Devices */ |
| 1997 | 1995 | switch ((offset & 0x0600) >> 9) |
| 1998 | 1996 | { |
| 1999 | | case 0: /* serial ports control */ |
| 1997 | case 0: /* serial ports control */ |
| 1998 | m_scc->reg_w(space, offset&7, data); |
| 2000 | 1999 | break; |
| 2001 | 2000 | |
| 2002 | 2001 | case 2: /* paralel port */ |
| r15154 | r15155 | |
| 2032 | 2031 | } |
| 2033 | 2032 | } |
| 2034 | 2033 | |
| 2034 | void lisa_state::set_scc_interrupt(bool value) |
| 2035 | { |
| 2036 | } |
| 2035 | 2037 | |
src/mess/includes/lisa.h
| r15154 | r15155 | |
| 10 | 10 | #define LISA_H_ |
| 11 | 11 | |
| 12 | 12 | #include "machine/6522via.h" |
| 13 | #include "machine/8530scc.h" |
| 13 | 14 | |
| 14 | 15 | #define COP421_TAG "u9f" |
| 15 | 16 | #define KB_COP421_TAG "kbcop" |
| r15154 | r15155 | |
| 93 | 94 | public: |
| 94 | 95 | lisa_state(const machine_config &mconfig, device_type type, const char *tag) |
| 95 | 96 | : driver_device(mconfig, type, tag), |
| 97 | m_maincpu(*this, "maincpu"), |
| 98 | m_scc(*this, "scc"), |
| 96 | 99 | m_fdc_rom(*this,"fdc_rom"), |
| 97 | 100 | m_fdc_ram(*this,"fdc_ram") { } |
| 98 | 101 | |
| 102 | required_device<device_t> m_maincpu; |
| 103 | required_device<scc8530_t> m_scc; |
| 104 | |
| 99 | 105 | required_shared_ptr<UINT8> m_fdc_rom; |
| 100 | 106 | required_shared_ptr<UINT8> m_fdc_ram; |
| 101 | 107 | UINT8 *m_ram_ptr; |
| r15154 | r15155 | |
| 149 | 155 | DECLARE_WRITE16_MEMBER(lisa_w); |
| 150 | 156 | DECLARE_READ16_MEMBER(lisa_IO_r); |
| 151 | 157 | DECLARE_WRITE16_MEMBER(lisa_IO_w); |
| 158 | |
| 159 | void set_scc_interrupt(bool value); |
| 152 | 160 | }; |
| 153 | 161 | |
| 154 | 162 | |