Mail Archives: djgpp/1998/01/19/18:30:10
At 03:04 1/19/1998 GMT, Mercilus wrote:
> I have some money to burn that I would rather us to make more money out of
>in a certain way. I am seriously thinking of starting my own record pool
>of nothing but hip hop, R&B, reggae, and house music. If some one could
>let me know how to start my own record pool I would greatly appreciate it
>and would be glad to lend my assistance in any way that I can. Thanks in
>advance.
This is *completely* off topic here.
Nate Eldredge
eldredge AT ap DOT net
i'm
>stuck and i haven't got a clue, also let me know if i have to do something
>else due to the fact that its dpmi :). If someone could show me how to use
>
>__dpmi_get_free_ memory_information(__dpmi_free_mem_info *_info)
>
>and printf it i would be grateful!
This works, and is, to me, the obvious way to do it.
#include <dpmi.h>
int main(void)
{
__dpmi_free_mem_info i;
__dpmi_get_free_memory_information(&i);
printf("Largest available free block = %lu\n",
i.largest_available_free_block_in_bytes);
/* I'd imagine you can figure out the rest */
return 0;
}
Nate Eldredge
eldredge AT ap DOT net
- Raw text -