2828
2929#include " logmacro.h"
3030
31- DEFINE_DEVICE_TYPE (NSCSI_DT510, nscsi_dt510_device , " scsi_dt510 " , " Data Technology DTC-510 5.25 Inch Winchester Disk Controller" )
31+ DEFINE_DEVICE_TYPE (NSCSI_DTC510, nscsi_dtc510_device , " scsi_dtc510 " , " Data Technology DTC-510 5.25 Inch Winchester Disk Controller" )
3232
33- nscsi_dt510_device::nscsi_dt510_device (const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
34- nscsi_harddisk_device(mconfig, NSCSI_DT510 , tag, owner, clock)
33+ nscsi_dtc510_device::nscsi_dtc510_device (const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
34+ nscsi_harddisk_device(mconfig, NSCSI_DTC510 , tag, owner, clock)
3535{
3636 std::fill (std::begin (m_param), std::end (m_param), 0 );
3737}
3838
39- void nscsi_dt510_device ::device_reset ()
39+ void nscsi_dtc510_device ::device_reset ()
4040{
4141 nscsi_harddisk_device::device_reset ();
4242}
4343
44- bool nscsi_dt510_device ::scsi_command_done (uint8_t command, uint8_t length)
44+ bool nscsi_dtc510_device ::scsi_command_done (uint8_t command, uint8_t length)
4545{
4646 switch (command >> 5 ) {
4747 case 0 : return length == 6 ;
@@ -52,7 +52,7 @@ bool nscsi_dt510_device::scsi_command_done(uint8_t command, uint8_t length)
5252 return false ;
5353}
5454
55- void nscsi_dt510_device ::scsi_command ()
55+ void nscsi_dtc510_device ::scsi_command ()
5656{
5757 memset (scsi_sense_buffer, 0 , sizeof (scsi_sense_buffer));
5858
@@ -180,7 +180,7 @@ void nscsi_dt510_device::scsi_command()
180180 }
181181}
182182
183- uint8_t nscsi_dt510_device ::scsi_get_data (int id, int pos)
183+ uint8_t nscsi_dtc510_device ::scsi_get_data (int id, int pos)
184184{
185185 switch (scsi_cmdbuf[0 ]) {
186186 case SC_READ_SECTOR_BUFFER:
@@ -191,7 +191,7 @@ uint8_t nscsi_dt510_device::scsi_get_data(int id, int pos)
191191 }
192192}
193193
194- void nscsi_dt510_device ::scsi_put_data (int id, int pos, uint8_t data)
194+ void nscsi_dtc510_device ::scsi_put_data (int id, int pos, uint8_t data)
195195{
196196
197197 if (scsi_cmdbuf[0 ] == 0xc2 && id == 4 )
@@ -231,13 +231,13 @@ void nscsi_dt510_device::scsi_put_data(int id, int pos, uint8_t data)
231231}
232232
233233// Byte transfer rate (5Mb/s)
234- attotime nscsi_dt510_device ::scsi_data_byte_period ()
234+ attotime nscsi_dtc510_device ::scsi_data_byte_period ()
235235{
236236 return attotime::from_nsec (1600 );
237237}
238238
239239// Command execution delay
240- attotime nscsi_dt510_device ::scsi_data_command_delay ()
240+ attotime nscsi_dtc510_device ::scsi_data_command_delay ()
241241{
242242 switch (scsi_cmdbuf[0 ]) {
243243 case SC_READ:
0 commit comments