mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
upd765: indicate ready status in polling irq sense
Some checks failed
CI (Linux) / build-linux (-U_FORTIFY_SOURCE, gcc, gcc, g++, mametiny, tiny) (push) Has been cancelled
CI (Linux) / build-linux (clang, clang, clang++, mame, mame) (push) Has been cancelled
CI (macOS) / build-macos (push) Has been cancelled
CI (Windows) / build-windows (clang, clang, clang++, mametiny, tiny) (push) Has been cancelled
CI (Windows) / build-windows (gcc, gcc, g++, mame, mame) (push) Has been cancelled
XML/JSON validation / validate (push) Has been cancelled
Some checks failed
CI (Linux) / build-linux (-U_FORTIFY_SOURCE, gcc, gcc, g++, mametiny, tiny) (push) Has been cancelled
CI (Linux) / build-linux (clang, clang, clang++, mame, mame) (push) Has been cancelled
CI (macOS) / build-macos (push) Has been cancelled
CI (Windows) / build-windows (clang, clang, clang++, mametiny, tiny) (push) Has been cancelled
CI (Windows) / build-windows (gcc, gcc, g++, mame, mame) (push) Has been cancelled
XML/JSON validation / validate (push) Has been cancelled
This commit is contained in:
parent
36293f7d5b
commit
e75ddc6329
1 changed files with 1 additions and 1 deletions
|
@ -2568,7 +2568,7 @@ TIMER_CALLBACK_MEMBER(upd765_family_device::run_drive_ready_polling)
|
|||
LOGCOMMAND("polled %d : %d -> %d\n", fid, flopi[fid].ready, ready);
|
||||
flopi[fid].ready = ready;
|
||||
if(!flopi[fid].st0_filled) {
|
||||
flopi[fid].st0 = ST0_ABRT | fid;
|
||||
flopi[fid].st0 = ST0_ABRT | fid | (ready ? 0 : ST0_NR);
|
||||
flopi[fid].st0_filled = true;
|
||||
irq = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue