src/mess/machine/lux4105.c
| r14088 | r14089 | |
| 98 | 98 | //------------------------------------------------- |
| 99 | 99 | |
| 100 | 100 | INPUT_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" ) |
| 103 | 122 | INPUT_PORTS_END |
| 104 | 123 | |
| 105 | 124 | |
| r14088 | r14089 | |
| 206 | 225 | |
| 207 | 226 | void luxor_4105_device::abc1600bus_cs(UINT8 data) |
| 208 | 227 | { |
| 209 | | m_cs = (data == ADDRESS); |
| 228 | m_cs = (data == input_port_read(this, "5E")); |
| 210 | 229 | } |
| 211 | 230 | |
| 212 | 231 | |
| r14088 | r14089 | |
| 277 | 296 | { |
| 278 | 297 | if (scsi_bsy_r(m_sasibus)) |
| 279 | 298 | { |
| 280 | | input_port_read(this, "DSW"); |
| 299 | input_port_read(this, "1E"); |
| 281 | 300 | } |
| 282 | 301 | else |
| 283 | 302 | { |