summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/pc_lpt.h
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2012-09-17 07:43:37 +0000
committer Aaron Giles <aaron@aarongiles.com>2012-09-17 07:43:37 +0000
commitcc16777cce9c5a2cac9d88c595b6b5f4ee70a2ea (patch)
tree496c31635729f6af1e37f3337b50e91b1f9fde97 /src/mess/machine/pc_lpt.h
parente25c13f2532730ebf50d0cffa0147393fd8e0228 (diff)
Memory handler normalization, part 1.
READ/WRITE_DEVICE*_HANDLERs are now passed an address_space &, and the 8-bit variants get a mem_mask as well. This means they are now directly compatible with the member function delegates. Added a generic address space to the driver_device that can be used when no specific address space is available. Also added DECLARE_READ/WRITE_DEVICE*_HANDLER macros to declare device callbacks with default mem_mask parameters. [Aaron Giles]
Diffstat (limited to 'src/mess/machine/pc_lpt.h')
-rw-r--r--src/mess/machine/pc_lpt.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mess/machine/pc_lpt.h b/src/mess/machine/pc_lpt.h
index 5c955ba5007..c29946ed9b5 100644
--- a/src/mess/machine/pc_lpt.h
+++ b/src/mess/machine/pc_lpt.h
@@ -24,14 +24,14 @@ struct pc_lpt_interface
/***************************************************************************
FUNCTION PROTOTYPES
***************************************************************************/
-READ8_DEVICE_HANDLER( pc_lpt_r );
-WRITE8_DEVICE_HANDLER( pc_lpt_w );
-
-READ8_DEVICE_HANDLER( pc_lpt_data_r );
-WRITE8_DEVICE_HANDLER( pc_lpt_data_w );
-READ8_DEVICE_HANDLER( pc_lpt_status_r );
-READ8_DEVICE_HANDLER( pc_lpt_control_r );
-WRITE8_DEVICE_HANDLER( pc_lpt_control_w );
+DECLARE_READ8_DEVICE_HANDLER( pc_lpt_r );
+DECLARE_WRITE8_DEVICE_HANDLER( pc_lpt_w );
+
+DECLARE_READ8_DEVICE_HANDLER( pc_lpt_data_r );
+DECLARE_WRITE8_DEVICE_HANDLER( pc_lpt_data_w );
+DECLARE_READ8_DEVICE_HANDLER( pc_lpt_status_r );
+DECLARE_READ8_DEVICE_HANDLER( pc_lpt_control_r );
+DECLARE_WRITE8_DEVICE_HANDLER( pc_lpt_control_w );
/***************************************************************************