summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/ay31015.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/ay31015.cpp')
-rw-r--r--src/devices/machine/ay31015.cpp33
1 files changed, 11 insertions, 22 deletions
diff --git a/src/devices/machine/ay31015.cpp b/src/devices/machine/ay31015.cpp
index e4dc2344e28..a3cbbe456aa 100644
--- a/src/devices/machine/ay31015.cpp
+++ b/src/devices/machine/ay31015.cpp
@@ -238,7 +238,7 @@ inline void ay31015_device::update_status_pin(uint8_t reg_bit, ay31015_device::o
/*-------------------------------------------------
- ay31015_update_status_pins - Update the status pins
+ update_status_pins - Update the status pins
-------------------------------------------------*/
void ay31015_device::update_status_pins()
@@ -260,7 +260,7 @@ void ay31015_device::update_status_pins()
/*-------------------------------------------------
- ay31015_rx_process - convert serial to parallel
+ rx_process - convert serial to parallel
-------------------------------------------------*/
void ay31015_device::rx_process()
@@ -428,7 +428,7 @@ void ay31015_device::rx_process()
/*-------------------------------------------------
- ay31015_tx_process - convert parallel to serial
+ tx_process - convert parallel to serial
-------------------------------------------------*/
void ay31015_device::tx_process()
@@ -578,7 +578,7 @@ void ay31015_device::tx_process()
/*-------------------------------------------------
- ay31015_reset - reset internal state
+ internal_reset - reset internal state
-------------------------------------------------*/
void ay31015_device::internal_reset()
@@ -634,7 +634,7 @@ void ay51013_device::internal_reset()
}
/*-------------------------------------------------
- ay31015_transfer_control_pins - transfers contents of controls pins to the control register
+ transfer_control_pins - transfers contents of controls pins to the control register
-------------------------------------------------*/
void ay31015_device::transfer_control_pins()
@@ -656,7 +656,7 @@ void ay31015_device::transfer_control_pins()
/*-------------------------------------------------
- ay31015_set_input_pin - set an input pin
+ set_input_pin - set an input pin
-------------------------------------------------*/
void ay31015_device::set_input_pin( ay31015_device::input_pin pin, int data )
{
@@ -709,7 +709,7 @@ void ay31015_device::set_input_pin( ay31015_device::input_pin pin, int data )
/*-------------------------------------------------
- ay31015_get_output_pin - get the status of an output pin
+ get_output_pin - get the status of an output pin
-------------------------------------------------*/
int ay31015_device::get_output_pin( ay31015_device::output_pin pin )
@@ -719,10 +719,10 @@ int ay31015_device::get_output_pin( ay31015_device::output_pin pin )
/*-------------------------------------------------
- ay31015_get_received_data - return a byte to the computer
+ received - return a byte to the computer
-------------------------------------------------*/
-uint8_t ay31015_device::get_received_data()
+uint8_t ay31015_device::receive()
{
if (m_auto_rdav && !machine().side_effects_disabled())
{
@@ -733,16 +733,10 @@ uint8_t ay31015_device::get_received_data()
return m_rx_buffer;
}
-READ8_MEMBER(ay31015_device::receive)
-{
- return get_received_data();
-}
-
-
/*-------------------------------------------------
- ay31015_set_transmit_data - accept a byte to transmit, if able
+ transmit - accept a byte to transmit, if able
-------------------------------------------------*/
-void ay31015_device::set_transmit_data( uint8_t data )
+void ay31015_device::transmit( uint8_t data )
{
if (m_status_reg & STATUS_TBMT)
{
@@ -751,8 +745,3 @@ void ay31015_device::set_transmit_data( uint8_t data )
update_status_pins();
}
}
-
-WRITE8_MEMBER(ay31015_device::transmit)
-{
- set_transmit_data(data);
-}