delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/09/04:17:21

Newsgroups: comp.os.msdos.djgpp
From: "Ryan Duhon" <sliders4 AT absorb DOT com>
Subject: VGA Blitting
Message-ID: <01bc5a63$5e83f660$221032cf@sliders4>
Date: Tue, 06 May 1997 23:34:57 GMT
Lines: 13
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I need some help concerning some VGA blitting routines.  I recently
switched from Borland C++ 3.1 to DJGPP (ver 2).  My VGA blitting routine
now crashes my system. Here is the code I'm using:

unsigned char *screen = ( unsigned char * ) 0xA000;

unsigned char *buffer = new unsigned char[64000];

memcpy( screen, buffer, 64000 );

If anyone can help, please e-mail me at sliders4 AT absorb DOT com.

Thanx!

- Raw text -


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