summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/ins8154.h
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-03-20 12:04:38 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-03-20 12:04:38 +0000
commit9ec92e573e268ba6e2b905ddc43e6290cd5b74e7 (patch)
treeccb4262b4687ce15700848474311e801d38e7922 /src/emu/machine/ins8154.h
parent4899895e816dfc9a89013c24322984b26fad590d (diff)
removed devhelpr.h and trampolines in half modern devices,also southbridge also use am9517a device now (no whatsnew)
Diffstat (limited to 'src/emu/machine/ins8154.h')
-rw-r--r--src/emu/machine/ins8154.h21
1 files changed, 4 insertions, 17 deletions
diff --git a/src/emu/machine/ins8154.h b/src/emu/machine/ins8154.h
index ba130f7be2d..7ba560c0cdc 100644
--- a/src/emu/machine/ins8154.h
+++ b/src/emu/machine/ins8154.h
@@ -73,11 +73,11 @@ public:
// construction/destruction
ins8154_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- UINT8 ins8154_r(UINT32 offset);
- void ins8154_w(UINT32 offset, UINT8 data);
+ DECLARE_READ8_MEMBER( ins8154_r );
+ DECLARE_WRITE8_MEMBER( ins8154_w );
- void ins8154_porta_w(UINT32 offset, UINT8 data);
- void ins8154_portb_w(UINT32 offset, UINT8 data);
+ DECLARE_WRITE8_MEMBER( ins8154_porta_w );
+ DECLARE_WRITE8_MEMBER( ins8154_portb_w );
protected:
// device-level overrides
@@ -110,17 +110,4 @@ private:
// device type definition
extern const device_type INS8154;
-
-
-/***************************************************************************
- PROTOTYPES
-***************************************************************************/
-
-DECLARE_READ8_DEVICE_HANDLER( ins8154_r );
-DECLARE_WRITE8_DEVICE_HANDLER( ins8154_w );
-
-DECLARE_WRITE8_DEVICE_HANDLER( ins8154_porta_w );
-DECLARE_WRITE8_DEVICE_HANDLER( ins8154_portb_w );
-
-
#endif /* __INS8154_H__ */