delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/04/08/08:15:07

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: porting PCI card driver from NT to DOS
Date: 8 Apr 2003 12:12:29 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 22
Message-ID: <b6uebd$355$1@nets3.rz.RWTH-Aachen.DE>
References: <Pine DOT HPX DOT 4 DOT 21 DOT 0304081332480 DOT 11022-100000 AT fajnm1 DOT am DOT ub DOT es>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 1049803949 3237 137.226.32.75 (8 Apr 2003 12:12:29 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 8 Apr 2003 12:12:29 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Octavi Fors <ofors AT am DOT ub DOT es> wrote:

> I understand porting to DOS would be complex, but do you it would
> be possible, in theory. 

Strictly and absolutely everything is possible in theory.  That's why
it's theory, not practice. ;-)

In real life, you probably won't be able to use that existing driver
source code as anything but a reference manual for writing your own.

> In particular, is djgpp able to handle PCI bus 32-bits I/O interrupts?

Those interrupts, AFAIK, always end up as CPU interrupts in one way or the
other.  Yes, you can register a handler for such interrupts in djgpp.
Check out __dpmi_set_protected_mode_interrupt_vector() in the
LIBC documentation.


-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019