Mail Archives: djgpp/1997/11/19/03:46:28
Hello,
I am writing because I am working on a graphics library and I want to shut of memory
protection so that I can write to the video buffer like: video_buffer[offset]=color; as
well as for speed and for compatability with Watcom. The problem is that I was working
with line drawing and I was switching in and out of memory protection within the line
drawing function. I was disatisfied with the speed, so I descided to switch in and out
of memory protection outside the function. My line drawing speed went like a basillion
times faster! I am very tempted to shut off memory protection when the graphics mode is
set and to turn it back on when the program exits. Is there any proplem with this? The
faq and documentation is very vague about the subject. I desperately need the speed
increase. What should I do?
Please reply.
wolfman AT cedar DOT alberni DOT net
- Raw text -