diff options
| author | 2025-10-27 22:55:34 -0400 | |
|---|---|---|
| committer | 2025-10-27 22:55:34 -0400 | |
| commit | bf71d34ce3f738e86eaed1e314c2df5a4b066f08 (patch) | |
| tree | cb395f3584c515cf9bfe10d9619757b021c29145 | |
| parent | 76ad0c49d86fd39bd6e676259600eb2e2e8fc2f2 (diff) | |
akai/mpc60.cpp: Actually set_floppy() for the uPD766 and fix the polarity of the ready line. Factory disks now load properly. [crazyc, R. Belmont]
| -rwxr-xr-x | src/mame/akai/mpc60.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mame/akai/mpc60.cpp b/src/mame/akai/mpc60.cpp index 0916039b894..e556316d03f 100755 --- a/src/mame/akai/mpc60.cpp +++ b/src/mame/akai/mpc60.cpp @@ -302,7 +302,7 @@ uint8_t mpc60_state::ppi_pb_r() { uint8_t rv = 0; - rv |= m_floppy->get_device()->ready_r() ? 0x04 : 0x00; + rv |= m_floppy->get_device()->ready_r() ? 0x00 : 0x04; return rv; } @@ -317,6 +317,12 @@ uint8_t mpc60_state::ppi_pb_r() // PC7 = Something to do with the ADC void mpc60_state::ppi_pc_w(uint8_t data) { + // TBD: when should we actually do this? + if (BIT(data, 0) && m_floppy->get_device()) + { + m_fdc->set_floppy(m_floppy->get_device()); + } + m_fdc->reset_w(BIT(data, 0)); m_floppy->get_device()->mon_w(BIT(data, 6) ^ 1); } |
