www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/29/18:08:43

From: Roger Carbol <rog AT col DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: movedata() problems...
Date: 29 Nov 1996 22:20:40 GMT
Organization: iSTAR internet Incorporated
Lines: 16
Message-ID: <57nnjo$fdt@nr1.calgary.istar.net>
Reply-To: rog AT col DOT ca
NNTP-Posting-Host: 207.81.234.52
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I'm having some problems with protection faults while using
the movedata() function...

I'm trying to dump a buffer into the video memory in mode13...the code
segment looks like this:

movedata ((int)_my_ds, (int)image->buffer, 0xA000, 0000 , 32);


On a related note:  is there any easy way to get the address of
image->buffer for use with _farpeekb() for example?

Thanks lots,


Roger Carbol .. rog AT col DOT ca .. we need more power

- Raw text -


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