From cd6c33261757773631254cecfefb976614a6c514 Mon Sep 17 00:00:00 2001 From: angelosa Date: Sun, 29 Sep 2024 16:35:04 +0200 Subject: video/upd7220.cpp: clear FIFO and DMA status on RESET command issued * fix pc9801rs spindiz2 boot --- src/devices/video/upd7220.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/devices/video/upd7220.cpp b/src/devices/video/upd7220.cpp index 1f6530663bc..12b9e034efd 100644 --- a/src/devices/video/upd7220.cpp +++ b/src/devices/video/upd7220.cpp @@ -1180,6 +1180,11 @@ void upd7220_device::process_fifo() m_ra[3] = 0x19; m_ead = 0; m_mask = 0; + // FIFO, Command Processor and internal counters are cleared by this + // - pc9801rs BIOS starts up a DMAW command that spindiz2 will dislike during its boot sequences + m_sr &= ~UPD7220_SR_DRAWING_IN_PROGRESS; + fifo_clear(); + stop_dma(); break; case 9: -- cgit v1.2.3