summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Angelo Salese <angelosa@users.noreply.github.com>2013-03-25 19:00:13 +0000
committer Angelo Salese <angelosa@users.noreply.github.com>2013-03-25 19:00:13 +0000
commit2747d0d707c69f9d873a055842e7119af2d1a000 (patch)
tree25dcf584bb2f62a8fdf5a4f147ca805fdf7389f6 /src
parentf0ccbe2e4784fcc0e8438c7f77f6b334ac38e917 (diff)
Forgot to hook-up mon_r() (not that it changes much)
Diffstat (limited to 'src')
-rw-r--r--src/mess/drivers/mz3500.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mess/drivers/mz3500.c b/src/mess/drivers/mz3500.c
index 950c8098afa..2a175b3f2da 100644
--- a/src/mess/drivers/mz3500.c
+++ b/src/mess/drivers/mz3500.c
@@ -30,6 +30,7 @@
#include "cpu/z80/z80.h"
#include "machine/upd765.h"
#include "machine/i8255.h"
+#include "machine/pit8253.h"
#include "sound/beep.h"
#include "video/upd7220.h"
@@ -560,7 +561,7 @@ READ8_MEMBER(mz3500_state::mz3500_fdc_r)
floppy_image_device *floppy;
floppy = machine().device<floppy_connector>(m_fddnames[m_fdd_sel])->get_device();
- return ((floppy->idx_r()) << 1) | (m_fdc->get_drq() & 1);
+ return (floppy->mon_r() << 2) | (floppy->idx_r() << 1) | (m_fdc->get_drq() & 1);
}
WRITE8_MEMBER(mz3500_state::mz3500_fdc_w)