summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Lord-Nightmare <Lord-Nightmare@users.noreply.github.com>2017-03-08 13:07:09 -0500
committer Lord-Nightmare <Lord-Nightmare@users.noreply.github.com>2017-03-08 13:12:08 -0500
commitedfe14eff8f4b64f0ed1edffebd4e8f6faf93427 (patch)
treea126080a3e434869054f0a9231bd097bbaccb382 /src
parent2bc6f20923324238eae68826bbdf3a5893255579 (diff)
more long line reduction (nw)
Diffstat (limited to 'src')
-rw-r--r--src/devices/sound/tms5110.h7
-rw-r--r--src/devices/sound/tms5220.h11
2 files changed, 15 insertions, 3 deletions
diff --git a/src/devices/sound/tms5110.h b/src/devices/sound/tms5110.h
index deb461342d8..02c010bc66d 100644
--- a/src/devices/sound/tms5110.h
+++ b/src/devices/sound/tms5110.h
@@ -15,7 +15,12 @@
#define TMS5110_CMD_RESET (0) /* 0 0 0 x | 1 */
#define TMS5110_CMD_LOAD_ADDRESS (2) /* 0 0 1 x | 2 */
#define TMS5110_CMD_OUTPUT (4) /* 0 1 0 x | 3 */
-#define TMS5110_CMD_SPKSLOW (6) /* 0 1 1 x | 1 | Note: this command is undocumented on the datasheets, it only appears on the patents. It might not actually work properly on some of the real chips as manufactured. Acts the same as CMD_SPEAK, but makes the interpolator take three A cycles wherever it would normally only take one, effectively making speech of any given word take twice as long as normal. */
+#define TMS5110_CMD_SPKSLOW (6) /* 0 1 1 x | 1 */
+/* Note: TMS5110_CMD_SPKSLOW is undocumented on the datasheets, it only appears
+ on the patents. It might not actually work properly on some of the real
+ chips as manufactured. Acts the same as CMD_SPEAK, but makes the
+ interpolator take two A cycles wherever it would normally only take one,
+ effectively making speech of any given word take 1.5x as long as normal. */
#define TMS5110_CMD_READ_BIT (8) /* 1 0 0 x | 1 */
#define TMS5110_CMD_SPEAK (10) /* 1 0 1 x | 1 */
#define TMS5110_CMD_READ_BRANCH (12) /* 1 1 0 x | 1 */
diff --git a/src/devices/sound/tms5220.h b/src/devices/sound/tms5220.h
index 4a345052836..2463ec1d803 100644
--- a/src/devices/sound/tms5220.h
+++ b/src/devices/sound/tms5220.h
@@ -77,8 +77,15 @@ public:
WRITE_LINE_MEMBER( rsq_w );
WRITE_LINE_MEMBER( wsq_w );
- DECLARE_WRITE8_MEMBER( combined_rsq_wsq_w ); // this hack is necessary for specific systems such as the TI 99/8 since the 5220c and cd2501ecd do specific things if both lines go active or inactive at slightly different times by separate write_line writes, which causes the chip to incorrectly reset itself on the 99/8, where the writes are supposed to happen simultaneously; /RS is bit 1, /WS is bit 0
- // Note this is a hack and probably can be removed later, once the 'real' line handlers above defer by at least 4 clock cycles before taking effect
+ DECLARE_WRITE8_MEMBER( combined_rsq_wsq_w );
+ /* this combined_rsq_wsq_w hack is necessary for specific systems such as
+ the TI 99/8 since the 5220c and cd2501ecd do specific things if both lines
+ go active or inactive at slightly different times by separate write_line
+ writes, which causes the chip to incorrectly reset itself on the 99/8,
+ where the writes are supposed to happen simultaneously;
+ /RS is bit 1, /WS is bit 0
+ Note this is a hack and probably can be removed later, once the 'real'
+ line handlers above defer by at least 4 clock cycles before taking effect */
DECLARE_WRITE8_MEMBER( data_w );
DECLARE_READ8_MEMBER( status_r );