nanogui: Microwindows for Hercules
Subject:
RE: Microwindows for Hercules
From:
Chipzz ####@####.####
Date:
16 Jul 1999 16:59:08 -0000
Message-Id: <Pine.LNX.4.10.9907161849170.11098-100000@ace.ulyssis.student.kuleuven.ac.be>
> No need. MicroWindows handles the Bresenham algorithm in the mid
> level code in devdraw.c. It uses successive calls to drawpixel to make it work.
Hmm. A 8086 isn't quite a PC on which you want to loose performance. And
that's exactly what you're doing here. PutPixel is a short routine and you
loose way to much time if you don't inline it...
> In this way, people like you and me don't have to rewrite bresenham for every
> card someone wants....
You wouldn't have to rewrite it for every -CARD-, you would have to re-
write it for every BIT-DEPTH. Which isn't that much work anyway.
Chipzz AKA
Jan Van Buggenhout
--------------------------------------------------------------------------
UNIX isn't dead - It just smells funny
####@####.####
--------------------------------------------------------------------------