www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/24/04:54:31

Date: Sun, 24 Nov 1996 11:44:59 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Mr. Meanie" <mrmeanie AT easynet DOT co DOT uk>
Cc: djgpp AT delorie DOT com
Subject: Re: ASM Modules in DJGPP + DPMI
In-Reply-To: <57470h$s8f@cherry.news.easynet.net>
Message-Id: <Pine.SUN.3.91.961124114406.28870F-100000@is>
Mime-Version: 1.0

On Fri, 22 Nov 1996, Mr. Meanie wrote:

> To interface with VESA, I need a bit of DOS memory, So I call DPMI int
> 31h fuction 100h (Allocate DOS Memory) to allocate DOS mem. All I need
> is 48 paragraphs, - 768 bytes, and function 100h returns 'out of
> memory error'!!. And what really annoys me I that I am asking for 16
> (or 32) paragraphs, it returns out of mem error, and then proceeds to
> tell me that there are ONLY 3000+ paragraphs available!! Well if there
> are 3000+ paragraphs available, and I ask for 48, WHY DON'T I GET MY
> 48!?!?!? If however, I call the C equivalent
> ('__dpmi_allocate_dos_mem' or something similar) it works fine. Can
> anyone assist me in getting it to work in ASM?

Post the shortest code fragment that exhibits the above, and somebody 
will find the bug.

- Raw text -


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