www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/29/08:15:28

From: Raul Gomez Sanchez <f2629312 AT est DOT fib DOT upc DOT es>
Newsgroups: comp.os.msdos.djgpp
Subject: Help: DPMI & memory
Date: Mon, 29 Jun 1998 14:07:46 -0700
Organization: Facultat d'Informàtica de Barcelona
Lines: 29
Message-ID: <35980222.8D733D1E@est.fib.upc.es>
Reply-To: raulgomez AT mx3 DOT redestb DOT es
NNTP-Posting-Host: a5s103pc25.upc.es
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello,

I wonder if is possible doing the following with DJGPP and DPMI
functions

I have

    char block1[0x4000]
    char block2[0x4000]
    char blockn[0x4000];

and I would like to map them in

    char *bigblock;

so that

        bigblock[0x500] reads from block1, bigblock[0x4500] reads from
block2 and not only in order, any block
    may be mapped in any place of bigblock. Is possible doing this with
DJGPP, I suppose it has to do
    with logical and physical memory.


Bye,...

Raúl Gómez Sánchez
e-mail: raulgomez AT mx3 DOT redestb DOT es

- Raw text -


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