Mail Archives: djgpp/1999/03/07/06:39:43

Date: Sun, 7 Mar 1999 13:37:51 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: "v. straka" <vstraka AT iol DOT cz>
cc: djgpp AT delorie DOT com
Subject: Re: memory allocation problem
In-Reply-To: <01be673d$e69d7f60$7b7b7b7b@celeron>
Message-ID: <Pine.SUN.3.91.990307133732.26544V-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 5 Mar 1999, v. straka wrote:

>    mapping.address = 0xDE000000;
>    mapping.size = 0xFFFFFF;
>    __dpmi_physical_address_mapping(&mapping)
>    // ... code removed ...  ( creating selector on mapping address and name
> it msel )
>    movedata(msel,0,screenSelector,0,640*480);
>    this code crashed, but if i set mapping.address smaller ie.
> 640*480,640*480*2 etc. it's ok

What device are you trying to map?  Is it indeed mapped to physical
address 0xDE000000?  (It sounds awfully big for a VGA.)

- Raw text -

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