[comp.os.msdos.programmer] Need an EGA page-to-page limited area blit

tcamp@uncecs.edu (Ted A. Campbell) (02/01/91)

I am writing an application in Microsoft QuickC, and I need,
at some points, to blit a specified portion of video RAM 
(all four color planes) from one page of EGA video RAM to
the other. QuickC has a routine that allows the copy of a 
specific screen area to RAM, then a recopy from RAM, and this
will in fact work, but of course it means doing everything
twice (once to RAM, once back to the alternate page). I
have an assembly-language routine that will blit the entire
EGA page to the other page, but I'd like to be able to do
this (quickly) for limited areas. Does anyone happen to 
have a routine (in C, or easily accessible from C) that 
they'd be willing to share? Thanks.

Ted A. Campbell
tcamp@uncecs.edu