Previous 199869 Revisions Next

r26095 Sunday 10th November, 2013 at 22:46:07 UTC by Curt Coder
(MESS) abc800: Xebec WIP. (nw)
[src/emu/bus/abcbus]lux21056.c

trunk/src/emu/bus/abcbus/lux21056.c
r26094r26095
1111
1212/*
1313
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
1422    Use the CHDMAN utility to create a 5MB image for ABC 850:
1523
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
1826
1927    or a 10MB image for ABC 852:
2028
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
2230
2331    or a 20MB image for ABC 856:
2432
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
2634
2735    Start the abc800 emulator with the ABC 850 attached on the ABC bus,
2836    with the new CHD and a UFD-DOS floppy mounted:
r26094r26095
4452
4553    You should now see the following text at the top of the screen:
4654
47    DOS ??r UFD-DOS ver. 19
55    DOS ar UFD-DOS ver. 19
4856    DR_: motsvarar MF_:
4957
5058    Enter "BYE" to get into the UFD-DOS command prompt.
r26094r26095
198206{
199207   if (!state)
200208   {
201      m_sasibus->scsi_data_w(m_sasi_data ^ 0xff);
209      m_sasibus->scsi_data_w(m_sasi_data);
202210   }
203211}
204212
r26094r26095
250258
251259INPUT_PORTS_START( luxor_55_21056 )
252260   PORT_START("S1")
253   PORT_DIPNAME( 0x3f, 0x2b, "Card Address" )
261   PORT_DIPNAME( 0x3f, 0x24, "Card Address" )
254262   PORT_DIPSETTING(    0x20, "32" )
255263   PORT_DIPSETTING(    0x21, "33" )
256264   PORT_DIPSETTING(    0x22, "34" )
257265   PORT_DIPSETTING(    0x23, "35" )
258   PORT_DIPSETTING(    0x24, "36" )
266   PORT_DIPSETTING(    0x24, "36 (ABC 850)" )
259267   PORT_DIPSETTING(    0x25, "37" )
260268   PORT_DIPSETTING(    0x26, "38" )
261269   PORT_DIPSETTING(    0x27, "39" )
262270   PORT_DIPSETTING(    0x28, "40" )
263271   PORT_DIPSETTING(    0x29, "41" )
264272   PORT_DIPSETTING(    0x2a, "42" )
265   PORT_DIPSETTING(    0x2b, "43 (ABC 850)" )
273   PORT_DIPSETTING(    0x2b, "43" )
266274   PORT_DIPSETTING(    0x2c, "44" )
267275   PORT_DIPSETTING(    0x2d, "45" )
268276   PORT_DIPSETTING(    0x2e, "46" )
r26094r26095
464472   data |= m_rdy;
465473
466474   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;
468476   data |= m_sasibus->scsi_cd_r() << 3;
469477   data |= m_sasibus->scsi_msg_r() << 4;
470   data |= m_sasibus->scsi_bsy_r() << 5;
478   data |= !m_sasibus->scsi_bsy_r() << 5;
471479
472480   return data ^ 0xff;
473481}
r26094r26095
534542
535543   if (!m_sasibus->scsi_io_r())
536544   {
537      m_sasibus->scsi_data_w(m_sasi_data ^ 0xff);
545      m_sasibus->scsi_data_w(m_sasi_data);
538546   }
539547
540548   m_req = !m_sasibus->scsi_req_r();

Previous 199869 Revisions Next


© 1997-2024 The MAME Team