Previous 15994 Revisions Next

r14894 Wednesday 11th April, 2012 at 10:40:09 UTC by Barry Rodewald
fmtowns: fixed regression (no whatsnew)
[src/mess/drivers]fmtowns.c
[src/mess/includes]fmtowns.h

src/mess/includes/fmtowns.h
r14893r14894
185185   UINT8 m_prev_x;
186186   UINT8 m_prev_y;
187187
188   required_shared_ptr<UINT8> m_nvram;
188   required_shared_ptr<UINT32> m_nvram;
189189
190190   virtual void driver_start();
191191   virtual void machine_reset();
src/mess/drivers/fmtowns.c
r14893r14894
11021102   }
11031103}
11041104
1105READ8_MEMBER( towns_state::towns_cmos8_r )
1106{
1107   return m_nvram[offset];
1108}
1109
1110WRITE8_MEMBER( towns_state::towns_cmos8_w )
1111{
1112   m_nvram[offset] = data;
1113}
1114
11151105READ8_MEMBER( towns_state::towns_cmos_low_r )
11161106{
11171107   if(m_towns_mainmem_enable != 0)
r14893r14894
21812171  // SCSI controller
21822172  AM_RANGE(0x0c30,0x0c37) AM_DEVREADWRITE8("scsi",fmscsi_device,fmscsi_r,fmscsi_w,0x00ff00ff)
21832173  // 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)
21852175  // Something (MS-DOS wants this 0x41ff to be 1)
21862176//  AM_RANGE(0x41fc,0x41ff) AM_READ8(towns_41ff_r,0xff000000)
21872177  // CRTC / Video (again)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team