Mail Archives: djgpp/1998/10/12/13:31:34
From: | rbarbosa AT microcom DOT com
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Memory manipulation
|
Date: | Mon, 12 Oct 1998 17:01:21 GMT
|
Organization: | Deja News - The Leader in Internet Discussion
|
Lines: | 13
|
Message-ID: | <6vtcl0$jop$1@nnrp1.dejanews.com>
|
NNTP-Posting-Host: | 205.136.71.194
|
X-Article-Creation-Date: | Mon Oct 12 17:01:21 1998 GMT
|
X-Http-User-Agent: | Mozilla/4.04 [en] (X11; I; Linux 2.0.30 i686)
|
X-Http-Proxy: | 1.0 x9.dejanews.com:80 (Squid/1.1.22) for client 205.136.71.194
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
Hey all, I'm not sure if this has already been asked/answered, but here goes.
I'm a djgpp newbie (a total newbie to protected mode programming). My
question is this, is there any way to dump a value (x) into (n) contiguous
memory locations starting at a given address (a). I know memset(a, x, n)
will do this, but memset() doesn't allow me to access protected space (like
video RAM and such). I've been trying to check Brennan's page, but it's been
down all weekend.
If anyone can send me the function name, I can probably figure out the rest,
but I would appreciate a snippet of example code, if it's not a problem.
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
- Raw text -