nanogui: Microwindows for Hercules
Subject:
RE: Microwindows for Hercules
From:
Greg Haerr ####@####.####
Date:
19 Jul 1999 19:25:16 -0000
Message-Id: <01BED1E9.B0376C80.greg@censoft.com>
: Okay that's one way to look at it. The routine that I was looking at
: is in Wilton's _Programmer's Guide to PC and PS/2 Video Systems_. He
: has a routine that does one pixel per ten or so CPU instructions on
: VGA16. Getting that fast is easy; I was looking to do even better
: than that using clever things with bit masks to write multiple pixels
: at once.
It'd be cool to optimize that. My asmplan4.s replacement
high-speed driver for vgaplan4.c uses Wilton's code as a base.
Feel free to test and enhance that code.
:
: You're looking at optimizing at the generic level with calls to a
: hardware-specific routine; I was thinking about optimizing an already
: fast x86 asm routine. Oh well.
:
Currently, there's not a direct entry point for the line draw,
it's commented out. Only if the entire line draw is unclipped will a
low-level routine be called anyways, but you could test by uncommenting
that code in GdLine in devdraw.c and calling it outside the driver interface.
Greg