X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Thu, 16 Dec 2004 14:10:15 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp AT delorie DOT com Message-ID: <01c4e368$Blat.v2.2.2$592f6a00@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 2.2.2 In-reply-to: <20041216081608.GA17913@webhome.cz> (message from Egon Eckert on Thu, 16 Dec 2004 09:16:08 +0100) Subject: Re: Problems with timer interrupt chaining and SmartDrv References: <001701c4e2f2$e397dcc0$e1b92951 AT josepmariaxp> <01c4e32a$Blat.v2.2.2$fb750ba0 AT zahav DOT net DOT il> <20041216081608 DOT GA17913 AT webhome DOT cz> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Thu, 16 Dec 2004 09:16:08 +0100 > From: Egon Eckert > > What a surprise! I thought DOS does the disk IO through BIOS, which > should know how to talk to the IDE controller efficiently (for the > onboard at least)... May be modern BIOSes don't bother to try to > support DOS doing just the lazy PIO (easier to implement, I suppose) > instead of DMA? It sounds like you are assuming that DMA is faster than PIO. That was so once, long ago, mainly with floppy drives, but is no longer true since ATA interfaces conquered the PC land. Nowadays, PIO is faster than DMA, so AFAIK DMA is no longer used in disk I/O. Also, DMA in the PC design has a disadvantage in that it completely takes over the bus, which means that no other activity can go on if it needs to talk to some other peripheral card. Finally, I think BIOS is used even on Windows and Linux, so DOS is not the only OS they need to think about. In other words, I think DMA was abandoned for performance reasons, not because BIOS manufacturers are lazy.