qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] fdc reset
@ 2009-09-02 18:35 Benjamin David Lunt
  0 siblings, 0 replies; only message in thread
From: Benjamin David Lunt @ 2009-09-02 18:35 UTC (permalink / raw)
  To: qemu-devel

Hi,

I haven't done much with QEmu, since it is not widely
used on a Windows platform.  Since toshiya (?) just released
a new binary at
  http://homepage3.nifty.com/takeda-toshiya/qemu/index.html
I have been able to work with it a bit more.

However, if I may make a small addition:
(Please note that I am not very familiar with the source,
 so this addition may be wrong or in the wrong place.)


When the FDC is in reset, the MSR register should be 0x00,
not 0x80 which currently states that the controller is
ready to be written to.

fdc.c Line 899
    /* Reset */
    if (!(value & FD_DOR_nRESET)) {
 +      fdctrl->msr = 0x00;
        if (fdctrl->dor & FD_DOR_nRESET) {
            FLOPPY_DPRINTF("controller enter RESET state\n");
        }
    } else {


Thanks,
Ben Lunt

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-09-02 18:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-02 18:35 [Qemu-devel] fdc reset Benjamin David Lunt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).