delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/21/08:18:44

From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: [Q] vga & fast rectangle drawing
Date: 21 Aug 1997 07:31:40 GMT
Organization: The National Capital FreeNet
Lines: 14
Message-ID: <5tgqss$dek@freenet-news.carleton.ca>
References: <19970819011600 DOT VAA08462 AT ladder01 DOT news DOT aol DOT com>
Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
NNTP-Posting-Host: freenet5.carleton.ca
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Egg brains (eggbrains AT aol DOT com) writes:
> this sounds stupid, but is their away (w/o a lib) to draw fast rectangles
> in vga w/o plotting all the pixels manually? (ie: is there an interupt or
> bio call or something?)

Yeah. You can fill each line with rep stosb in asm, with memset in C or
C++ (just an inline wrapper for rep stosb I think).

--
    .*.  Where feelings are concerned, answers are rarely simple [GeneDeWeese]
 -()  <  When I go to the theater, I always go straight to the "bag and mix"
    `*'  bulk candy section...because variety is the spice of life... [me]
Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh

- Raw text -


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