Mail Archives: djgpp/1996/11/24/04:54:31
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 -