From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: help Date: 28 Jun 2001 11:47:45 GMT Organization: Aachen University of Technology (RWTH) Lines: 26 Message-ID: <9hf5h1$m6p$1@nets3.rz.RWTH-Aachen.DE> References: <88256A79 DOT 00428DEB DOT 00 AT smtphost DOT smartm DOT com> NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 993728865 22745 137.226.32.75 (28 Jun 2001 11:47:45 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 28 Jun 2001 11:47:45 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Ravi DOT M AT smartm DOT com wrote: > I am developing a program wherein I have to access memory over 1MB > in dos....which I am not able to do. It's not exactly simple from DJGPP, but under some circumstances (mainly: with the right DPMI server, and running on raw DOS), you can do it. > My program should give 3 command line arguments .....one is memory > location where i have to put my file ,the 2nd argument should > contain the size of the file and the third > filename...................... I'm a bit puzzled: where does that memory location come from? I.e. what determines it? You said you tried to but failed... well *show* us how you tried, and how it failed (error message? crash? nonsense output?). Hardly anyone of us can afford their own private crystal ball. So you'll have to make up for our lack of clairvoyance by supplying facts via this electronic medium. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.