[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH][Resend] Floppy: Properly handle Sense Interrup
From: |
Blue Swirl |
Subject: |
Re: [Qemu-devel] [PATCH][Resend] Floppy: Properly handle Sense Interrupt Status after FDC Reset |
Date: |
Sat, 24 Jan 2009 14:10:24 +0200 |
On 1/22/09, Justin Chevrier <address@hidden> wrote:
> Original text below.
>
> Attached is a patch that changes how the emulated floppy controller replies
> to Sense Interrupt Status commands immediately after a controller reset. The
> specs state that after a Reset the 82078 goes into polling mode which needs
> four Sense Interrupt Status commands to be issued afterwards to clear the
> status of each drive. Currently we always respond to Sense Interrupt Status
> with a SEEK END instead of POLLING. This causes a problem with the SCO
> Openserver installer which is expects a POLLING state after reset. This patch
> returns a POLLING status for four Sense Interrupt Status requests immediately
> after a controller reset. This approach mirrors the way Bochs handles this
> situation. With the attached patch applied Openserver gets further when
> trying to load storage drivers from the floppy disk (blocked by another
> issue, patch on its way). I have successfully tested the floppy drive on the
> following OSs after applying this patch: Windows 98, Windows XP
> SP2, Linux x86 (SysRescCD 1.1.3 and Ubuntu 8.10).
>
> Justin
>
> Changelog:
>
> Properly handle Sense Interrupt Status after FDC Reset
>
> Signed-off-by: Justin Chevrier <address@hidden>
Thanks, applied.