Mail Archives: djgpp/1998/08/05/06:06:52
On Tue, 4 Aug 1998, minn.net wrote:
> I have been looking into supporting 640x480x256 color graphics and every
> code example I have seen uses _dpmi_regs to set the mode. When I try to use
> this the compiler states that it is "undeclared (first use in this
> function)". I cannot find any reference to this (object?) any where and
> cannot find its definition. Can any one point me in the right direction?
It's __dpmi_regs (2 leading underscores), not _dpmi_regs. You need to
include <dpmi.h> in that source file, to get its declaration.
The right way to find out these things is to read the library
documentation that describes the function which uses __dpmi_regs. Type
this from the DOS prompt:
info libc alpha __dpmi_int
- Raw text -