🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc
Article #8787

Re: graphicss video memory screen save

#8787
From: Kevin Montgomery
Date: Wed, 17 Jan 1990 18:11
15 lines
1024 bytes
> I've tried reading from video memory starting from segment A000 or
> whatever the start of graphics memory is, and saving x number of bytes.
> However, when I try to write this back to video memory, the color is
> not displayed.

I think you're pretty much set, with the one exception that you didn't
set up the color lookup table.  I've recently done something like this
to display frame-grabbed images quickly.  If you're using Microsoft C,
then you:

	1) get into graphics mode via _setvideomode()
	2) set the color lookup table to the correct values via _remappalette()
	3) write to memory

						-kevbop
Technical Details
Message-ID: <40970031@hpindda.HP.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-ses!hpcuhb!hpindda!kmont
References: <5060064@hpccc.HP.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-ses!hpcuhb!hpindda!kmont
From: kmont@hpindda.HP.COM (Kevin Montgomery)
Newsgroups: comp.sys.ibm.pc
Subject: Re: graphicss video memory screen save
Message-ID: <40970031@hpindda.HP.COM>
Date: 17 Jan 90 18:11:46 GMT
References: <5060064@hpccc.HP.COM>
Organization: The Lab Rats-West
Lines: 15