delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/05/06:06:52

Date: Wed, 5 Aug 1998 13:06:27 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "minn.net" <levity AT minn DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: __dpmi_regs defined where?
In-Reply-To: <6q8kl0$rjq$1@news.minn.net>
Message-ID: <Pine.SUN.3.91.980805130406.11953A-100000@is>
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019