Mail Archives: djgpp/1996/12/23/21:05:23
From: | "Thomas Harte" <T DOT Harte AT btinternet DOT com>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | _fmemset : HOW?
|
Date: | 23 Dec 1996 23:59:38 GMT
|
Organization: | Dell Computer Corporation
|
Lines: | 11
|
Message-ID: | <01bbf12c$39173d60$282549c2@default>
|
NNTP-Posting-Host: | host-73-37-40.btinternet.com
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
When I used a Microsoft compiler, you know, one of those limiting, slow
16bit things, I used to use the command :-
_fmemset((doublebuffer + ( (y << 8) + (y << 6)) + x1), colour, x2 - x1 +
1);
which would draw a horizontal line into the unsigned char 'doublebuffer',
which is malloc'd 64000. With DJGPP, it just comes up with the error
'undefined reference to _fmemset'. How would I use _fmemset with DJGPP?
-Thomas
- Raw text -