nanogui: Re: Herc in Microwin
Subject:
RE: Herc in Microwin
From:
Greg Haerr ####@####.####
Date:
7 Sep 1999 16:32:47 -0000
Message-Id: <01BEF91B.A6ECE9D0.greg@censoft.com>
[hercules ... snip]
: You said that hline and vline need to be rewriten. I am volintering for the
: task (unless someonee has allready done it).
:
Great!
: I looked at the code and at the moment it just uses a loop to draw the line
: pixel by pixel. How does it need to be improved??
:
Are you familiar with the Herc memory/screen layout? Instead of
looping for each bit, the C code needs to set up to 8 pixels at a time with a
single MOV instruction. This entails pre-calculating the bits in the screen memory
and writing it once.
Greg