delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/07/14:29:41

From: Vik Heyndrickx <Vik DOT Heyndrickx AT rug DOT ac DOT be>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: vga 16 colour (4 bit graphics)
Date: Wed, 30 Apr 1997 10:50:37 +0200
Organization: University of Ghent, Belgium
Message-ID: <336707DD.18D1@rug.ac.be>
References: <5k6992$ed1 AT nr1 DOT toronto DOT istar DOT net>
NNTP-Posting-Host: eduserv1.rug.ac.be
Mime-Version: 1.0
Lines: 11
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Jeff Weeks wrote:
>       //_farpeekb(_dos_ds,0xA000+y*80+(x/4));    // load the latches
This should be
        //_farpeekb(_dos_ds,0xA000+y*80+(x/8));    // load the latches
...
>       _farpokeb(_dos_ds,0xA0000+y*80+(x/4), 0xff);
This should become
        _farpokeb(_dos_ds,0xA0000+y*80+(x/8), 0xff);

Except from this, is looks fine, I think.

- Raw text -


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