Date: Wed, 5 Aug 1998 13:06:27 +0300 (IDT) From: Eli Zaretskii To: "minn.net" cc: djgpp AT delorie DOT com Subject: Re: __dpmi_regs defined where? In-Reply-To: <6q8kl0$rjq$1@news.minn.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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 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