diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2018-02-20 11:43:18 -0500 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2018-02-20 11:49:55 -0500 |
commit | 5f9a1814876426ea28729704eec78f51a560f2bb (patch) | |
tree | ae54f0e9d06cbb847265ab77fe3e456a3fc9a61b /src/mame/drivers/swtpc09.cpp | |
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/mame/drivers/swtpc09.cpp')
-rw-r--r-- | src/mame/drivers/swtpc09.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/swtpc09.cpp b/src/mame/drivers/swtpc09.cpp index a35cc0d0550..40a4946b743 100644 --- a/src/mame/drivers/swtpc09.cpp +++ b/src/mame/drivers/swtpc09.cpp @@ -177,8 +177,8 @@ MACHINE_CONFIG_START(swtpc09_state::swtpc09_base) MCFG_DEVICE_ADD("ptm", PTM6840, 2000000) MCFG_PTM6840_EXTERNAL_CLOCKS(50, 0, 50) - MCFG_PTM6840_OUT0_CB(WRITELINE(swtpc09_state, ptm_o1_callback)) - MCFG_PTM6840_OUT2_CB(WRITELINE(swtpc09_state, ptm_o3_callback)) + MCFG_PTM6840_O1_CB(WRITELINE(swtpc09_state, ptm_o1_callback)) + MCFG_PTM6840_O3_CB(WRITELINE(swtpc09_state, ptm_o3_callback)) MCFG_PTM6840_IRQ_CB(WRITELINE(swtpc09_state, ptm_irq)) MCFG_RS232_PORT_ADD("rs232", default_rs232_devices, "terminal") |