diff options
author | 2018-02-20 11:43:18 -0500 | |
---|---|---|
committer | 2018-02-20 11:49:55 -0500 | |
commit | 5f9a1814876426ea28729704eec78f51a560f2bb (patch) | |
tree | ae54f0e9d06cbb847265ab77fe3e456a3fc9a61b /src/devices/machine/6840ptm.h | |
parent | 1b14b550b57fcafe68d9d203fb5723180db823f9 (diff) |
6840ptm: Counter/timers are numbered from 1 to 3, not 0 to 2 as with 8253 (nw)
- Rename OUT0, OUT1 and OUT2 callback configuration macros to match pin names (O1, O2 and O3)
- Update all verbose logging messages to be one-based
- Remove unnecessary mentions of device type in logging messages
Diffstat (limited to 'src/devices/machine/6840ptm.h')
-rw-r--r-- | src/devices/machine/6840ptm.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/machine/6840ptm.h b/src/devices/machine/6840ptm.h index df91f393d7d..1210d480694 100644 --- a/src/devices/machine/6840ptm.h +++ b/src/devices/machine/6840ptm.h @@ -22,13 +22,13 @@ #define MCFG_PTM6840_EXTERNAL_CLOCKS(_clk0, _clk1, _clk2) \ ptm6840_device::set_external_clocks(*device, _clk0, _clk1, _clk2); -#define MCFG_PTM6840_OUT0_CB(_devcb) \ +#define MCFG_PTM6840_O1_CB(_devcb) \ devcb = &ptm6840_device::set_out_callback(*device, 0, DEVCB_##_devcb); -#define MCFG_PTM6840_OUT1_CB(_devcb) \ +#define MCFG_PTM6840_O2_CB(_devcb) \ devcb = &ptm6840_device::set_out_callback(*device, 1, DEVCB_##_devcb); -#define MCFG_PTM6840_OUT2_CB(_devcb) \ +#define MCFG_PTM6840_O3_CB(_devcb) \ devcb = &ptm6840_device::set_out_callback(*device, 2, DEVCB_##_devcb); #define MCFG_PTM6840_IRQ_CB(_devcb) \ |