www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/03/05:07:54

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: device driver using DJGPP
Date: 3 May 2000 08:12:43 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 21
Message-ID: <8eon1r$4b2$1@nets3.rz.RWTH-Aachen.DE>
References: <8eojad$f7k$1 AT news1 DOT sinica DOT edu DOT tw>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 957341563 4450 137.226.32.75 (3 May 2000 08:12:43 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 3 May 2000 08:12:43 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Kuang-chun Cheng <kccheng AT soliton DOT phys DOT sinica DOT edu DOT tw> wrote:

> 	Can I develop MS-DOS device driver using DJGPP?  

You can, but I doubt it'll make much sense. Device drivers are still
best written in 16bit assembly or C, unless you need to access 32bit
memory space (as with memory-mapped PCI devices). These days, I'd
recommend something like the freed TurboC for the general coding, and
nasm for the assembly stuff, where needed.

At the time device drivers are loaded, the necessary environment for
running DJGPP-compiled applications may not be fully present, yet. And
besides, even though the memory footprint of CWSDPMI and the DJGPP
startup code isn't *that* oversized any more, you almost certainly
don't want to spend that much memory permanently. 40 KB drivers are a
pain. Not even to mention that several DOS programs will refuse to
work because the pre-loaded 32bit DPMI server prevents their DOS
extender of choice from loading.
-- 
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