Previous 15994 Revisions Next

r14089 Thursday 19th January, 2012 at 07:45:27 UTC by Curt Coder
[ABC1600] Added SASI card dips. (nw)
[src/mess/machine]lux4105.c lux4105.h

src/mess/machine/lux4105.c
r14088r14089
9898//-------------------------------------------------
9999
100100INPUT_PORTS_START( luxor_4105 )
101   PORT_START("DSW")
102   // TODO
101   PORT_START("1E")
102   PORT_DIPNAME( 0x03, 0x00, "Stepping" ) PORT_DIPLOCATION("1E:1,2")
103   PORT_DIPSETTING(    0x00, DEF_STR( Normal ) )
104   PORT_DIPSETTING(    0x01, "Half (Seagate/Texas)" )
105   PORT_DIPSETTING(    0x02, "Half (Tandon)" )
106   PORT_DIPSETTING(    0x03, "Buffered" )
107   PORT_DIPNAME( 0x0c, 0x00, "Heads" ) PORT_DIPLOCATION("1E:3,4")
108   PORT_DIPSETTING(    0x00, "2" )
109   PORT_DIPSETTING(    0x04, "4" )
110   PORT_DIPSETTING(    0x08, "6" )
111   PORT_DIPSETTING(    0x0c, "8" )
112   PORT_DIPNAME( 0xf0, 0x00, "Drive Type" ) PORT_DIPLOCATION("1E:5,6,7,8")
113   PORT_DIPSETTING(    0x00, "Seagate ST506" )
114   PORT_DIPSETTING(    0x10, "Rodime RO100" )
115   PORT_DIPSETTING(    0x20, "Shugart SA600" )
116   PORT_DIPSETTING(    0x30, "Seagate ST412" )
117
118   PORT_START("5E")
119   PORT_DIPNAME( 0x7f, 0x25, "Card Address" ) PORT_DIPLOCATION("5E:1,2,3,4,5,6,7")
120   PORT_DIPSETTING(    0x25, "37" )
121   PORT_DIPSETTING(    0x2d, "45" )
103122INPUT_PORTS_END
104123
105124
r14088r14089
206225
207226void luxor_4105_device::abc1600bus_cs(UINT8 data)
208227{
209   m_cs = (data == ADDRESS);
228   m_cs = (data == input_port_read(this, "5E"));
210229}
211230
212231
r14088r14089
277296   {
278297      if (scsi_bsy_r(m_sasibus))
279298      {
280         input_port_read(this, "DSW");
299         input_port_read(this, "1E");
281300      }
282301      else
283302      {
src/mess/machine/lux4105.h
r14088r14089
1818#define LUXOR_4105_TAG      "luxor_4105"
1919
2020
21#define ADDRESS            0x25
2221
23
24
2522//**************************************************************************
2623//  TYPE DEFINITIONS
2724//**************************************************************************

Previous 15994 Revisions Next


© 1998-2018 The MESS Team