Mail Archives: djgpp/1996/05/03/22:48:12
Xref: | news2.mv.net comp.os.msdos.djgpp:3406
|
From: | leathm AT gbrmpa DOT gov DOT au (Leath Muller)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Copying normal mem to graphics mem (VBE 2.0 & linear)
|
Date: | 3 May 1996 01:51:40 GMT
|
Lines: | 17
|
Message-ID: | <4mborc$bq0@news.mel.aone.net.au>
|
NNTP-Posting-Host: | solwarra.gbrmpa.gov.au
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I have setup a area of graphics memory using UniVBE and the VBE 2.0 calls
which I have mapped to a segment using __djgpp_allocate_LDT_descriptors.
The problem is, whenever I try to copy memory to this new selector using
the segment returned from the call, I get either a protection fault (if it
compiles), or an error at compile time in my code. The error at compile
time has something like
unexpected letter after %-...
Can anybody help me with this???
All I need (even code!!! :) is to know how to do, say a rep movsl, from
my malloc'd memory, to the graphics memory.
Any help appreciated here, cause I have only been using djgpp for about 4
days...
Leathal.
- Raw text -