From: Stuart Brady <sdbrady@ntlworld.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Re: fdc: support NEC PC-9821 family
Date: Fri, 11 Sep 2009 21:17:16 +0100 [thread overview]
Message-ID: <20090911201716.GA12245@miranda.arrow> (raw)
In-Reply-To: <200909111136.AA00103@YOUR-BD18D6DD63.m1.interq.or.jp>
On Fri, Sep 11, 2009 at 08:36:02PM +0900, 武田 俊也 wrote:
> This is new patch.
Nice work -- looks a lot closer! :)
I've a few questions, though.
I notice that the 82078 has 'PC AT', 'PS/2' and 'PS/2 Model 30' modes.
QEMU doesn't seem to implement this, but I don't know common each of the
different modes is/was.
Also, I notice that in fdctrl_write_dor(), the DR0 bit (in PS/2 mode)
is set if drives 0 or 2 are selected, which looks like a bug -- I would
expect that it should only be set if drive 0 is selected.
AFAIK, in most IBM PC 'clones' (but not quite all), the FDC can support
four drives, but only up to one/two drives can be physically attached.
It seems that MAX_FD affects emulation of the FDC itself, and doesn't
just determine the number of drives that may be connected. Surely that
can't be right? I.e. if MAX_FD == 2, any attempt to select drive 2
results in drive 0 being selected, which should not be the case...
I'm not sure why QEMU limits certain machines to two drives... Maybe
the reason is that software for systems where only two drives can be
physically connected might react badly to seeing unexpected drives.
Is this the case? TBH, I'm not sure whether I *really* need more than
a single drive... :)
Also, it seems to me that a floppy controller might have either one,
two, three, four or no drives attached. (I assume that software can
distinguish between a missing drive and a drive with no disk inserted.)
In that case, it seems to me that QEMU cannot provide emulation of a
system with no drives connected to its FDC.
Cheers,
--
Stuart Brady
next prev parent reply other threads:[~2009-09-11 20:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <m3ocpig2kh.fsf@neno.mitica>
2009-09-11 11:36 ` [Qemu-devel] Re: fdc: support NEC PC-9821 family 武田 俊也
2009-09-11 20:17 ` Stuart Brady [this message]
2009-09-12 4:02 ` 武田 俊也
2009-09-15 12:28 ` Natalia Portillo
2009-09-09 15:42 [Qemu-devel] [PATCH 06/14] " 武田 俊也
2009-09-10 7:19 ` Alexander Graf
2009-09-10 16:29 ` [Qemu-devel] " 武田 俊也
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090911201716.GA12245@miranda.arrow \
--to=sdbrady@ntlworld.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).