diff options
author | Robbbert <Robbbert@users.noreply.github.com> | 2019-06-14 17:38:28 +1000 |
---|---|---|
committer | Robbbert <Robbbert@users.noreply.github.com> | 2019-06-14 17:38:28 +1000 |
commit | b13c6fb0c8298ab769b6fd36327a94963dbabde6 (patch) | |
tree | 7a1eb996e20587c441977803f60691b58ec60fde | |
parent | f11c26778c471cfde6d2f63c3b5d12e312e38e3a (diff) |
MT 07360: vz200: Unable to load a cassette that was created by MAME
(nw) Tapes created prior to this cannot be loaded back.
-rw-r--r-- | src/mame/drivers/vtech1.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/vtech1.cpp b/src/mame/drivers/vtech1.cpp index 8fc4e063611..18f74981b8e 100644 --- a/src/mame/drivers/vtech1.cpp +++ b/src/mame/drivers/vtech1.cpp @@ -213,7 +213,7 @@ READ8_MEMBER( vtech1_state::vtech1_keyboard_r ) if (!BIT(offset, 7)) result &= ioport("keyboard_7")->read(); // bit 6, cassette input - result |= ((m_cassette->input()) > 0 ? 0 : 1) << 6; + result |= (m_cassette->input() > 0.04) ? 0 : 0x40; // bit 7, field sync result |= m_mc6847->fs_r() << 7; @@ -239,7 +239,7 @@ WRITE8_MEMBER( vtech1_state::vtech1_latch_w ) } // bit 2, cassette out (actually bits 1 and 2 perform this function, so either can be used) - m_cassette->output( BIT(data, 2) ? -1.0 : +1.0); + m_cassette->output( BIT(data, 2) ? 1.0 : -1.0); // bit 3 and 4, vdc mode control lines m_mc6847->ag_w(BIT(data, 3)); @@ -446,7 +446,7 @@ void vtech1_state::laser110(machine_config &config) // sound hardware SPEAKER(config, "mono").front_center(); - WAVE(config, "wave", m_cassette).add_route(ALL_OUTPUTS, "mono", 0.25); + WAVE(config, "wave", m_cassette).add_route(ALL_OUTPUTS, "mono", 0.05); SPEAKER_SOUND(config, m_speaker).set_levels(4, speaker_levels); m_speaker->add_route(ALL_OUTPUTS, "mono", 0.75); |