Skip to content

Commit cd6c332

Browse files
committed
video/upd7220.cpp: clear FIFO and DMA status on RESET command issued
* fix pc9801rs spindiz2 boot
1 parent 4033f44 commit cd6c332

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/devices/video/upd7220.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -1180,6 +1180,11 @@ void upd7220_device::process_fifo()
11801180
m_ra[3] = 0x19;
11811181
m_ead = 0;
11821182
m_mask = 0;
1183+
// FIFO, Command Processor and internal counters are cleared by this
1184+
// - pc9801rs BIOS starts up a DMAW command that spindiz2 will dislike during its boot sequences
1185+
m_sr &= ~UPD7220_SR_DRAWING_IN_PROGRESS;
1186+
fifo_clear();
1187+
stop_dma();
11831188
break;
11841189

11851190
case 9:

0 commit comments

Comments
 (0)