trunk/src/emu/bus/abcbus/lux21056.c
| r26094 | r26095 | |
| 11 | 11 | |
| 12 | 12 | /* |
| 13 | 13 | |
| 14 | TODO: |
| 15 | |
| 16 | - vendor specific SASI command 0c: 00 00 00 00 00 01 40 04 00 84 00 |
| 17 | |
| 18 | */ |
| 19 | |
| 20 | /* |
| 21 | |
| 14 | 22 | Use the CHDMAN utility to create a 5MB image for ABC 850: |
| 15 | 23 | |
| 16 | | $ chdman createhd -o /path/to/ro202.chd -chs 321,4,17 -ss 512 |
| 17 | | $ chdman createhd -o /path/to/basf6185.chd -chs 440,6,32 -ss 256 |
| 24 | $ chdman createhd -o ro202.chd -chs 321,4,17 -ss 512 |
| 25 | $ chdman createhd -o basf6185.chd -chs 440,6,32 -ss 256 |
| 18 | 26 | |
| 19 | 27 | or a 10MB image for ABC 852: |
| 20 | 28 | |
| 21 | | $ chdman createhd -o /path/to/nec5126.chd -chs 615,4,17 -ss 512 |
| 29 | $ chdman createhd -o nec5126.chd -chs 615,4,17 -ss 512 |
| 22 | 30 | |
| 23 | 31 | or a 20MB image for ABC 856: |
| 24 | 32 | |
| 25 | | $ chdman createhd -o /path/to/micr1325.chd -chs 1024,8,33 -ss 256 |
| 33 | $ chdman createhd -o micr1325.chd -chs 1024,8,33 -ss 256 |
| 26 | 34 | |
| 27 | 35 | Start the abc800 emulator with the ABC 850 attached on the ABC bus, |
| 28 | 36 | with the new CHD and a UFD-DOS floppy mounted: |
| r26094 | r26095 | |
| 44 | 52 | |
| 45 | 53 | You should now see the following text at the top of the screen: |
| 46 | 54 | |
| 47 | | DOS ??r UFD-DOS ver. 19 |
| 55 | DOS ar UFD-DOS ver. 19 |
| 48 | 56 | DR_: motsvarar MF_: |
| 49 | 57 | |
| 50 | 58 | Enter "BYE" to get into the UFD-DOS command prompt. |
| r26094 | r26095 | |
| 198 | 206 | { |
| 199 | 207 | if (!state) |
| 200 | 208 | { |
| 201 | | m_sasibus->scsi_data_w(m_sasi_data ^ 0xff); |
| 209 | m_sasibus->scsi_data_w(m_sasi_data); |
| 202 | 210 | } |
| 203 | 211 | } |
| 204 | 212 | |
| r26094 | r26095 | |
| 250 | 258 | |
| 251 | 259 | INPUT_PORTS_START( luxor_55_21056 ) |
| 252 | 260 | PORT_START("S1") |
| 253 | | PORT_DIPNAME( 0x3f, 0x2b, "Card Address" ) |
| 261 | PORT_DIPNAME( 0x3f, 0x24, "Card Address" ) |
| 254 | 262 | PORT_DIPSETTING( 0x20, "32" ) |
| 255 | 263 | PORT_DIPSETTING( 0x21, "33" ) |
| 256 | 264 | PORT_DIPSETTING( 0x22, "34" ) |
| 257 | 265 | PORT_DIPSETTING( 0x23, "35" ) |
| 258 | | PORT_DIPSETTING( 0x24, "36" ) |
| 266 | PORT_DIPSETTING( 0x24, "36 (ABC 850)" ) |
| 259 | 267 | PORT_DIPSETTING( 0x25, "37" ) |
| 260 | 268 | PORT_DIPSETTING( 0x26, "38" ) |
| 261 | 269 | PORT_DIPSETTING( 0x27, "39" ) |
| 262 | 270 | PORT_DIPSETTING( 0x28, "40" ) |
| 263 | 271 | PORT_DIPSETTING( 0x29, "41" ) |
| 264 | 272 | PORT_DIPSETTING( 0x2a, "42" ) |
| 265 | | PORT_DIPSETTING( 0x2b, "43 (ABC 850)" ) |
| 273 | PORT_DIPSETTING( 0x2b, "43" ) |
| 266 | 274 | PORT_DIPSETTING( 0x2c, "44" ) |
| 267 | 275 | PORT_DIPSETTING( 0x2d, "45" ) |
| 268 | 276 | PORT_DIPSETTING( 0x2e, "46" ) |
| r26094 | r26095 | |
| 464 | 472 | data |= m_rdy; |
| 465 | 473 | |
| 466 | 474 | data |= (m_req || m_sasibus->scsi_req_r()) << 1; |
| 467 | | data |= !m_sasibus->scsi_io_r() << 2; |
| 475 | data |= m_sasibus->scsi_io_r() << 2; |
| 468 | 476 | data |= m_sasibus->scsi_cd_r() << 3; |
| 469 | 477 | data |= m_sasibus->scsi_msg_r() << 4; |
| 470 | | data |= m_sasibus->scsi_bsy_r() << 5; |
| 478 | data |= !m_sasibus->scsi_bsy_r() << 5; |
| 471 | 479 | |
| 472 | 480 | return data ^ 0xff; |
| 473 | 481 | } |
| r26094 | r26095 | |
| 534 | 542 | |
| 535 | 543 | if (!m_sasibus->scsi_io_r()) |
| 536 | 544 | { |
| 537 | | m_sasibus->scsi_data_w(m_sasi_data ^ 0xff); |
| 545 | m_sasibus->scsi_data_w(m_sasi_data); |
| 538 | 546 | } |
| 539 | 547 | |
| 540 | 548 | m_req = !m_sasibus->scsi_req_r(); |