Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

AHCI CD-ROM driver for DOS (Developers)

posted by DOS386, 19.12.2009, 04:08

Thanks.

> 1) there are no longer IO ports to access the drive. (1f0-1f7, 170-177, etc)

Above are legacy ports, but there are also "native" IDE/SATA ports ...

> so the drive does not appear as a standard hard drive anymore.

So PIO / UDMA code won't find anyting ...

> 2) all of the access to the drive is done through DMA through the AHCI
> controller itself. essentially the "driver" or int 13 interface takes a
> command, even identify device, which is PIO, and you build a bunch of
> tables in memory that tell the controller what the command is, where
> to get/put the data, etc, then you hit the "go" bit, and the controller
> takes care of the actual drive communication through DMA.

> The performance of AHCI comes through a parallel interface in these
> tables you can build. You can have 32 outstanding requests at the
> same time, each with their own scatter/gather tables and buffers in
> memory. You build the tables of the commands you want to issue,
> hit that go bit and sit back and wait for your data to be read or
> written to/from the drive. (I think you can do up to 32mb sized
> transfers, and have 32 of them at a time.)

COOL :clap:

> 3) my assumption would be that when using the INT13 interface, they
> probably don't open up 32 channels, as that becomes a big memory
> hog and could require memory access >1mb. My guess is that it's only
> 1 channel ever being used, and thus with 1 channel going, you'd end
> up with the exact same performance as issuing commands to a
> standard SATA port.

What performance do you get using INT $13 (IDECHECK) ?

So since it works well (just not very fastest) in DOS, the need for a
driver is not "that bad" (not as bad as for sound) for now ;-)

---
This is a LOGITECH mouse driver, but some software expect here
the following string:*** This is Copyright 1983 Microsoft ***

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 262 users online (1 registered, 261 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum