Path: utzoo!attcan!uunet!wuarchive!mailrus!purdue!gatech!psuvax1!psuvm!cunyvm!ndsuvm1.bitnet!ud092096 From: UD092096@NDSUVM1.BITNET (Barry Pederson) Newsgroups: comp.lang.pascal Subject: Re: VGA Graphics Message-ID: <2845UD092096@NDSUVM1> Date: 27 Sep 89 18:31:42 GMT References: <216@uwm.edu> <1154@krafla.rhi.hi.is> Organization: North Dakota Higher Education Computer Network, Fargo, ND Lines: 14 I've written a unit to save VGA screens, and it looks very much like the code Sigthor Orn Gudmundsson posted, but with one extra part. Before I did a BlockWrite all the pixel data, I got a copy of the color palette using the GetPalette procedure and BlockWrote it to the file. When reading the file, I BlockRead the palette and set it using the SetAllPalette procedure. This probably would make no sense with CGA screens, but VGA would need this unless you were just using the default palette all the time. Hope this helps. ------- Barry Pederson InterNet: ud092096@vm1.nodak.edu (might be faster) BitNet: ud092096@ndsuvm1