mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
SASI documentation
This commit is contained in:
parent
803d394bfe
commit
c63c620c2f
2 changed files with 10 additions and 4 deletions
|
@ -512,10 +512,10 @@ static INPUT_PORTS_START( panicr )
|
||||||
PORT_DIPSETTING( 0x10, "10k 20k" )
|
PORT_DIPSETTING( 0x10, "10k 20k" )
|
||||||
PORT_DIPSETTING( 0x08, "20k 40k" )
|
PORT_DIPSETTING( 0x08, "20k 40k" )
|
||||||
PORT_DIPSETTING( 0x00, "50k 100k" )
|
PORT_DIPSETTING( 0x00, "50k 100k" )
|
||||||
PORT_DIPNAME( 0x60, 0x40, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW2:6,7")
|
PORT_DIPNAME( 0x60, 0x20, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW2:6,7")
|
||||||
PORT_DIPSETTING( 0x00, "4" )
|
PORT_DIPSETTING( 0x00, "4" )
|
||||||
PORT_DIPSETTING( 0x20, "2" )
|
PORT_DIPSETTING( 0x20, "3" )
|
||||||
PORT_DIPSETTING( 0x40, "3" )
|
PORT_DIPSETTING( 0x40, "2" )
|
||||||
PORT_DIPSETTING( 0x60, "1" )
|
PORT_DIPSETTING( 0x60, "1" )
|
||||||
PORT_DIPNAME( 0x80, 0x80, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW2:8")
|
PORT_DIPNAME( 0x80, 0x80, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW2:8")
|
||||||
PORT_DIPSETTING( 0x80, DEF_STR( Upright ) )
|
PORT_DIPSETTING( 0x80, DEF_STR( Upright ) )
|
||||||
|
|
|
@ -1795,10 +1795,16 @@ READ8_MEMBER( pc9801_state::sasi_status_r )
|
||||||
WRITE8_MEMBER( pc9801_state::sasi_ctrl_w )
|
WRITE8_MEMBER( pc9801_state::sasi_ctrl_w )
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
---- ----
|
x--- ---- channel enable
|
||||||
|
-x-- ---- read switch
|
||||||
|
--x- ---- sel
|
||||||
---- x--- reset line
|
---- x--- reset line
|
||||||
|
---- --x- dma enable
|
||||||
|
---- ---x irq enable
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
m_scsibus->scsi_sel_w(BIT(data, 5));
|
||||||
|
|
||||||
if(m_sasi.ctrl & 8 && ((data & 8) == 0)) // 1 -> 0 transition
|
if(m_sasi.ctrl & 8 && ((data & 8) == 0)) // 1 -> 0 transition
|
||||||
{
|
{
|
||||||
m_sasibus->scsi_rst_w(1);
|
m_sasibus->scsi_rst_w(1);
|
||||||
|
|
Loading…
Reference in a new issue