mirror of
https://github.com/holub/mame
synced 2025-04-21 16:01:56 +03:00
ti99: Add EOP handling to SCSI card.
This commit is contained in:
parent
1fd82c9464
commit
8cc79f95ca
@ -362,6 +362,11 @@ WRITE_LINE_MEMBER( whtech_scsi_card_device::irq_w )
|
||||
operate_ready_line();
|
||||
}
|
||||
|
||||
void whtech_scsi_card_device::signal_scsi_eop(int state)
|
||||
{
|
||||
m_controller->eop_w(state);
|
||||
}
|
||||
|
||||
void whtech_scsi_card_device::device_add_mconfig(machine_config &config)
|
||||
{
|
||||
// RAM circuit
|
||||
@ -625,8 +630,8 @@ void whtscsi_pld_device::cruwrite(offs_t offset, uint8_t data)
|
||||
m_dma_lock = (data != 0);
|
||||
break;
|
||||
case 3: // SCSI EOP
|
||||
// signal_scsi_eop(data != 0);
|
||||
LOGMASKED(LOG_CRU, "SCSI EOP %s\n", (data!=0)? "on" : "off");
|
||||
m_board->signal_scsi_eop((data != 0)? ASSERT_LINE : CLEAR_LINE);
|
||||
break;
|
||||
case 4:
|
||||
LOGMASKED(LOG_CRU, "Word transfer %s\n", (data!=0)? "on" : "off");
|
||||
|
@ -83,6 +83,9 @@ private:
|
||||
|
||||
// Determine the state of the READY line
|
||||
void operate_ready_line();
|
||||
|
||||
// Send the EOP signal to the controller
|
||||
void signal_scsi_eop(int state);
|
||||
};
|
||||
|
||||
class whtscsi_pld_device : public device_t
|
||||
|
Loading…
Reference in New Issue
Block a user