diff options
author | 2019-03-27 23:15:32 -0400 | |
---|---|---|
committer | 2019-03-27 23:15:32 -0400 | |
commit | 91da214592d47f3a1eff4deda11a162a9cb9569c (patch) | |
tree | 7f8c4f36129c8680bb9a9adbfb3f1a03e201bce2 /src/devices/machine/z80dart.cpp | |
parent | 9873d6afaa7f7d7889b707b66a1b6884b0049cbb (diff) |
z80ctc, z80dart, z80sio: Simplify read/write handlers (nw)
Diffstat (limited to 'src/devices/machine/z80dart.cpp')
-rw-r--r-- | src/devices/machine/z80dart.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/machine/z80dart.cpp b/src/devices/machine/z80dart.cpp index 05a7aef03f3..116f9264598 100644 --- a/src/devices/machine/z80dart.cpp +++ b/src/devices/machine/z80dart.cpp @@ -392,7 +392,7 @@ int z80dart_device::m1_r() // cd_ba_r - //------------------------------------------------- -READ8_MEMBER( z80dart_device::cd_ba_r ) +uint8_t z80dart_device::cd_ba_r(offs_t offset) { int ba = BIT(offset, 0); int cd = BIT(offset, 1); @@ -406,7 +406,7 @@ READ8_MEMBER( z80dart_device::cd_ba_r ) // cd_ba_w - //------------------------------------------------- -WRITE8_MEMBER( z80dart_device::cd_ba_w ) +void z80dart_device::cd_ba_w(offs_t offset, uint8_t data) { int ba = BIT(offset, 0); int cd = BIT(offset, 1); @@ -423,7 +423,7 @@ WRITE8_MEMBER( z80dart_device::cd_ba_w ) // ba_cd_r - //------------------------------------------------- -READ8_MEMBER( z80dart_device::ba_cd_r ) +uint8_t z80dart_device::ba_cd_r(offs_t offset) { int ba = BIT(offset, 1); int cd = BIT(offset, 0); @@ -437,7 +437,7 @@ READ8_MEMBER( z80dart_device::ba_cd_r ) // ba_cd_w - //------------------------------------------------- -WRITE8_MEMBER( z80dart_device::ba_cd_w ) +void z80dart_device::ba_cd_w(offs_t offset, uint8_t data) { int ba = BIT(offset, 1); int cd = BIT(offset, 0); |