To: djgpp AT delorie DOT com Date: Mon, 30 Dec 1996 05:40:19 c:\ Subject: Re: Allocating and using memory with the dpmi functions Message-ID: <19961231.000748.8223.0.aclemmer@juno.com> References: <19961224 DOT 063720 DOT 8439 DOT 1 DOT aclemmer AT juno DOT com> From: aclemmer AT juno DOT com (Aaron m Clemmer) On Mon, 30 Dec 1996 11:08:55 +0100 Ingo Stierand writes: >I don't know if this is the problem, but this is not true for all >modes. >When you use a 4-bit mode for example you will get > (info->bitsPerPixel/8) = 4/8 = 0 Well, I'm only supporting packed-pixel modes, using 8bpp, 16bpp, and 24bpp, so I'm not affected by that possible bug. I could probably get the same information from the vesa routines, but this is easier... Thanks for pointing that out, though... Anyway, hardly anyone has bother to try and help me, so if someone would like to tell me why my program crashs when I try to access memory I allocated with the dpmi functions, I'd like to hear their suggestions. aaron