Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!tut.cis.ohio-state.edu!pt.cs.cmu.edu!o.gp.cs.cmu.edu!andrew.cmu.edu!bk19+ From: bk19+@andrew.cmu.edu (Bradley D. Keister) Newsgroups: comp.os.msdos.programmer Subject: 2 VGA questions Message-ID: Date: 17 Dec 90 17:07:26 GMT Organization: Physics, Carnegie Mellon, Pittsburgh, PA Lines: 25 1. I'd like to be able to use the 43/50-line text mode for EGA/VGA in a TP 5.x program, and would also like to be able to save the memory map of the text screen in order to swap images in and out. For 25-line mode, I simply use B000H or B800H as the starting address, but this doesn't work for 43/50. Is there another address I should use, or is it more complicated than that? In TC++, there are GetText and PutText commands which do screen saves and restores without having to know the addresses, but there's no counterpart in TP 5.x. 2. In TP 5.x, there's a SetRGBPalette for setting the RGB intensites of a palette entry. How can I *get* the palette information in the first place, so I know what I'm dealing with. There's no GetRGBPalette command. Alternatively, if I could know what the default palette RGB settings are, I can keep track of any changes along the way. How do I find the default settings? Brad Keister Physics Dept. Carnegie Mellon U reply to: keister@poincare.phys.cmu.edu