From: "Gil Myers" Subject: Re: New Approach to VGA MEM Newsgroups: comp.os.msdos.djgpp References: <33C08F31 DOT 2A78 AT lausd DOT k12 DOT ca DOT us> Organization: The Unknown Programmers Message-ID: <01bc8c19$d23cc400$c88033cf@pentium> NNTP-Posting-Host: 207.51.128.200 Date: 9 Jul 97 03:31:01 GMT Lines: 20 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk csantill AT lausd DOT k12 DOT ca DOT us wrote in article <33C08F31 DOT 2A78 AT lausd DOT k12 DOT ca DOT us>... > from: csantill AT lausd DOT k12 DOT ca DOT us > > I want to map an array to VGA mem but I'm not sure how. > I don't want to turn off memory protection either. > I've seen this done w/a BASIC compiler(PowerBasic). Yes you have seen this, PowerBasic is however 16bit. You can not directly access video memory without turning off some protection. And the method in the faq is the only one that I am aware of to do this directly. You can however use farptrs, which are pretty safe, and pretty fast, or you can use double buffering. Otherwise, you're going to have to go find a 16bit compiler. Sorry.