Mail Archives: djgpp/1997/02/06/06:11:34
Max wrote:
> I've found that what seems to be culprits in the code involve the use
> of the _inp, _outp, and _fmemset commands. *sigh*
> Anyone out there can help me get started here? It would be most
> appreciated. ^_^
One possible problem is if you are using _fmemset to write to video
memory using the absolute address at segment 0xA000. This is a bad idea
under DJGPP. DJGPP uses virtual memory mapping to allow a 32 bit flat
address space, which is great. Unfortunately, you no longer have direct
access to conventional memory addresses. There are several ways of
working around this. The best source of information I've seen on this
can be found at Brennan Underwood's DJGPP Games Programming page:
http://www.rt66.com/~brennan/djgpp/
Download the file labled "How to access the VGA" and read it. At 4K,
it's worth it ten times over.
Hope this helps.
--J
--
/*
Someday I'll come up with a real signature file, honest...
email to: jedyer AT somtel DOT com or jaydyer AT mint DOT net
*/
- Raw text -