Date: Thu, 28 Jun 2001 19:41:15 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: Roger Farmer Message-Id: <7458-Thu28Jun2001194115+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: "djgpp AT delorie DOT com" <2D81F38965F4D31193000008C791877245DEEE AT empireweb DOT atlanta DOT lecstar DOT com> (message from Roger Farmer on Thu, 28 Jun 2001 10:34:27 -0400) Subject: Re: writing secondary buffer to video buffer in WIN NT?? References: <2D81F38965F4D31193000008C791877245DEEE AT empireweb DOT atlanta DOT lecstar DOT com> Reply-To: djgpp AT delorie DOT com > From: Roger Farmer > Date: Thu, 28 Jun 2001 10:34:27 -0400 > > i'm using WIN NT and had a question about writing to the video buffer. > i want to do something along the lines of: > > memcpy((unsigned char *)videoBuffer, (unsigned char *)image->buffer, 64000) > > how can i do this in NT?? Use dosmemput instead of memcpy. The DJGPP FAQ explains how in section 18.4.