src/mess/drivers/fmtowns.c
| r14893 | r14894 | |
| 1102 | 1102 | } |
| 1103 | 1103 | } |
| 1104 | 1104 | |
| 1105 | | READ8_MEMBER( towns_state::towns_cmos8_r ) |
| 1106 | | { |
| 1107 | | return m_nvram[offset]; |
| 1108 | | } |
| 1109 | | |
| 1110 | | WRITE8_MEMBER( towns_state::towns_cmos8_w ) |
| 1111 | | { |
| 1112 | | m_nvram[offset] = data; |
| 1113 | | } |
| 1114 | | |
| 1115 | 1105 | READ8_MEMBER( towns_state::towns_cmos_low_r ) |
| 1116 | 1106 | { |
| 1117 | 1107 | if(m_towns_mainmem_enable != 0) |
| r14893 | r14894 | |
| 2181 | 2171 | // SCSI controller |
| 2182 | 2172 | AM_RANGE(0x0c30,0x0c37) AM_DEVREADWRITE8("scsi",fmscsi_device,fmscsi_r,fmscsi_w,0x00ff00ff) |
| 2183 | 2173 | // CMOS |
| 2184 | | AM_RANGE(0x3000,0x3fff) AM_READWRITE8(towns_cmos8_r, towns_cmos8_w,0x00ff00ff) |
| 2174 | AM_RANGE(0x3000,0x3fff) AM_READWRITE8(towns_cmos_r, towns_cmos_w,0x00ff00ff) |
| 2185 | 2175 | // Something (MS-DOS wants this 0x41ff to be 1) |
| 2186 | 2176 | // AM_RANGE(0x41fc,0x41ff) AM_READ8(towns_41ff_r,0xff000000) |
| 2187 | 2177 | // CRTC / Video (again) |