From: Hans-Bernhard Broeker 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: References: 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 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.