Article View: comp.os.msdos.programmer
Article #2401Re: How to reset VGA?
From: phys169
Date: Thu, 27 Sep 1990 08:09
Date: Thu, 27 Sep 1990 08:09
18 lines
1730 bytes
1730 bytes
In article <6154@uceng.UC.EDU>, mfinegan@uceng.UC.EDU (michael k finegan) writes: > Now - I have a question for the net. Resetting all VGA registers to their > default (or previous) values != calling int 10h to set video mode. What is > different ? I have an application where calling int 10h after various > direct programming operations on the VGA restores the video, but saving all > registers, performing operations, and restoring all registers does not. Why ? > I have tried resetting the sequencer, and hardware, with sequencer register's > reset register and crt controller register's mode control register. No luck. > What does the Bios do that I don't know about ? > I don't suppose you're getting the values for low-numbered CRT controller registers by trying to read what's there, as opposed to looking up a table, are you?? Often they are write-only (you cannot read what is there, for some stupid reason). Look at the 6845 spec sheets - its a good place to start, even if the card doesn't actually use one. There are tables in memory somewhere of what to write to the registers, but I dodn't know where they are in VGA cards. Mark Aitchison, Physics Computologist, University of Canterbury, New Zealand.
Technical Details
Message-ID:
<1990Sep27.102054.9244@canterbury.ac.nz>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!samsung!munnari.oz.au!comp.vuw.ac.nz!virtue!canterbury.ac.nz!phys169References:
<HPASANEN.90Sep6195334@silver-surfer.hut.fi> <6154@uceng.UC.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!samsung!munnari.oz.au!comp.vuw.ac.nz!virtue!canterbury.ac.nz!phys169 From: phys169@canterbury.ac.nz Newsgroups: comp.os.msdos.programmer Subject: Re: How to reset VGA? Message-ID: <1990Sep27.102054.9244@canterbury.ac.nz> Date: 27 Sep 90 08:09:14 GMT References: <HPASANEN.90Sep6195334@silver-surfer.hut.fi> <6154@uceng.UC.EDU> Distribution: comp.os.msdos.programmer Organization: University of Canterbury Lines: 18