Date: Sun, 7 Mar 1999 13:37:51 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: "v. straka" cc: djgpp AT delorie DOT com Subject: Re: memory allocation problem In-Reply-To: <01be673d$e69d7f60$7b7b7b7b@celeron> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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.)