🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #4480

Need an EGA page-to-page limited area blit

#4480
From: Ted A. Campbell
Date: Fri, 01 Feb 1991 14:01
17 lines
1128 bytes

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
Technical Details
Message-ID: <1991Feb1.140106.13312@uncecs.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!mcnc!ecsgate!ecsvax!tcamp

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!mcnc!ecsgate!ecsvax!tcamp
From: tcamp@uncecs.edu (Ted A. Campbell)
Newsgroups: comp.os.msdos.programmer
Subject: Need an EGA page-to-page limited area blit
Message-ID: <1991Feb1.140106.13312@uncecs.edu>
Date: 1 Feb 91 14:01:06 GMT
Organization: UNC Educational Computing Service
Lines: 17