cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/06/06:11:34

From: Jay Dyer <JeDyer AT somtel DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Programming Graphics
Date: Thu, 06 Feb 1997 00:07:40 -0800
Organization: huh?
Lines: 27
Message-ID: <32F9914C.142B@somtel.com>
References: <5cumje$n0n AT sjx-ixn10 DOT ix DOT netcom DOT com>
NNTP-Posting-Host: dialup-h-11.somtel.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019