summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers
diff options
context:
space:
mode:
author Robbbert <Robbbert@users.noreply.github.com>2020-04-06 01:37:05 +1000
committer Robbbert <Robbbert@users.noreply.github.com>2020-04-06 01:37:05 +1000
commitb5e08ae5e83f3c58948e82b80fb9b349504a9ef7 (patch)
treea7558259468d2732ae270ec901c90a5186e2c16a /src/mame/drivers
parentf07357d52bd52e1f861bb6d03ec5ea4d8d94e453 (diff)
H8: added support for H8T tapes.
Diffstat (limited to 'src/mame/drivers')
-rw-r--r--src/mame/drivers/h8.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mame/drivers/h8.cpp b/src/mame/drivers/h8.cpp
index 7237a8033ef..3798c8fc3c4 100644
--- a/src/mame/drivers/h8.cpp
+++ b/src/mame/drivers/h8.cpp
@@ -54,6 +54,7 @@ Official test program from pages 4 to 8 of the operator's manual:
#include "sound/beep.h"
#include "speaker.h"
+#include "formats/h8_cas.h"
#include "h8.lh"
@@ -343,6 +344,7 @@ void h8_state::h8(machine_config &config)
cassette_clock.signal_handler().append(m_uart, FUNC(i8251_device::write_rxc));
CASSETTE(config, m_cass);
+ m_cass->set_formats(h8_cassette_formats);
m_cass->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED);
m_cass->add_route(ALL_OUTPUTS, "mono", 0.05);
m_cass->set_interface("h8_cass");