Re: hard disk I/O
- From: ArarghMail611NOSPAM@xxxxxxxxxxxxxxxxx
- Date: Fri, 24 Nov 2006 22:20:29 -0600
On 24 Nov 2006 17:30:35 -0800, mike7411@xxxxxxxxx wrote:
Yes. And IN. But not INT. :-)
ArarghMail611NOSPAM@xxxxxxxxxxxxxxxxx wrote:
On 24 Nov 2006 11:08:07 -0800, mike7411@xxxxxxxxx wrote:
I was just wondering how hard disk I/O is typically performed in
protected mode.
The BIOS disk interrupts don't seem to work properly, and I think they
assume the 16 bit memory model.
Well, if you are lazy, you hop back to real mode.
Otherwise, you write a protected mode driver.
Would a protected mode driver use something like the OUT command to
talk to the hard drive?
A protected mode driver would do all that same things that a real mode
driver would, just following the rules for protected mode.
The easiest way to find a sample is to dig thru the Linux or *BSD
sources.
--
ArarghMail611 at [drop the 'http://www.' from ->] http://www.arargh.com
BCET Basic Compiler Page: http://www.arargh.com/basic/index.html
To reply by email, remove the garbage from the reply address.
.
- References:
- hard disk I/O
- From: mike7411
- Re: hard disk I/O
- From: ArarghMail611NOSPAM
- Re: hard disk I/O
- From: mike7411
- hard disk I/O
- Prev by Date: Re: hard disk I/O
- Next by Date: Fast asm conversion of string of hex chars into binary
- Previous by thread: Re: hard disk I/O
- Next by thread: Fast asm conversion of string of hex chars into binary
- Index(es):
Relevant Pages
|