Mail Archives: djgpp/2001/06/28/10:00:18
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.
- Raw text -