On Tuesday, July 20, 1999 2:39 AM, Thomas Stewart [SMTP:[EMAIL PROTECTED]] 
wrote:
: I fired up my old beast last night, a v20 640k with a herc card, I ran my 
: compiled copy of microwin with herc support, and it worked!
: 
: WELL done to greg and whoever helped write that driver!
: 
        Unbelievable!  That's the *second* time I've written a Microwindows/Nano-X
screen driver and it's worked without having any hardware to run it on!!!  Also
big thanks to Jacob for sending me his sample Hercules code, which was very
easy to understand.


: On the down side it did take a little long for it to load, try 10 min!
: So if it is to be used the code has to be somewhat speeded up. I did not try 
: to move any windows because I did not have a mouse pluged in and it would 
: have taken too long.

        Uh-oh. Scratch the above comment.  You mean that it took
10 minutes to *draw* the screen!  (laughing in background, peers looking
at me very strangely...)  Well, we definitely need that HERC_drawhline
to be implemented, because now it calls HERC_drawpixel for *every* pixel
on the screen, all 252,000 of them.  I can take a hack at rewriting that,
but It'd be nice if someone with a card did it.  The file is 
mwin/src/drivers/scr_herc.c.

: 
: I am not realy an expert, but a v20 is faster that an 8086/8088 so it might 
: be worse on those. All that I can think of doing is 1.adding 8087 support 
: 2.speeding up code 3. anyone else have ideas??

        The problem is definitely in HERC_drawhline.  Rewrite it to
draw the horizontal line directly, rather than call HERC_drawpixel.

Greg

Reply via email to