diff options
author | 2017-03-25 12:14:50 -0400 | |
---|---|---|
committer | 2017-03-25 17:14:50 +0100 | |
commit | 65f75f19838e71c24129d164665485a2dfb695b9 (patch) | |
tree | 125120e5ef1cdb6bab6490831871c930a99b12ed /docs/release/scripts/src/sound.lua | |
parent | 02f476fc1e1d14c9eb7d915de3c938de8e3fe19d (diff) |
latch8, discrete: Major device cleanup (nw) (#2187)
- Eliminate the AM_LATCH8_XXX address map macros. The normal DEVREAD/DEVWRITE ought to be good enough.
- Eliminate the "offset" specifications from latch8_device. This was used mostly to funnel outputs to discrete_device, which now has a templated write_line handler. (Inputs can use MCFG_DEVCB_RSHIFT instead.)
- Organize latch8_device's callbacks as arrays of devcb_readline/devcb_writeline, helping simplifying code greatly.
- Change latch8_device::bit[0-7]_(q_)?r to be proper line read handlers. This requires two extra READ8 handlers in audio/dkong.cpp, but memory-mapping for the MCS-48 T0 and T1 lines is totally artificial anyway.
- Comment out an assert that now tends to fail due to buggy AM_MIRROR behavior.
Diffstat (limited to 'docs/release/scripts/src/sound.lua')
0 files changed, 0 insertions, 0 deletions