delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/02/19/02:10:32

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Date: Tue, 19 Feb 2002 09:06:06 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: captainpita AT aol DOT com (Captainpita)
Message-Id: <4949-Tue19Feb2002090606+0200-eliz@is.elta.co.il>
X-Mailer: emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9
CC: djgpp AT delorie DOT com
In-reply-to: <20020218212013.13574.00003023@mb-mv.aol.com>
(captainpita AT aol DOT com)
Subject: Re: Question about movedata
References: <20020218212013 DOT 13574 DOT 00003023 AT mb-mv DOT aol DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: captainpita AT aol DOT com (Captainpita)
> Newsgroups: comp.os.msdos.djgpp
> Date: 19 Feb 2002 02:20:13 GMT
> 
> I am having a problem getting the movedata function to work correctly with
> DJGPP "C".   I have a "C" function called "disp" that builds a character string
> with the
> data/ attribute pair for the color monitor, which is a unsigned char string.
> Once this character string is built I want to use "movedata" to move the data
> to the color video buffer. 
>    Here is a portion of the code...
> 
> 
> source_selector = _my_ds();
> movedata(source_selector,tempd,0XB800,x,len);

Please take a look at section 18.4 of the DJGPP FAQ list, it explains
how to do this correctly.

- Raw text -


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