diff options
author | Volker Ruppert <info@vruppert.de> | 2003-01-04 20:20:00 +0000 |
---|---|---|
committer | Volker Ruppert <info@vruppert.de> | 2003-01-04 20:20:00 +0000 |
commit | 45eaf2fb649ca61ea730a73cf4ff6fc9777f0958 (patch) | |
tree | 8138950f2e35b1011e3520e602317a3471a252f1 | |
parent | 0b1fe09af9fc3671b9f051c70b9b6ac8ec070bc4 (diff) | |
download | vgabios-45eaf2fb649ca61ea730a73cf4ff6fc9777f0958.tar.gz |
- biosfn_set_video_mode(): reset attribute controller flip-flop before setting
up the controller's registers (bug found with amidiag)
-rw-r--r-- | vgabios.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -868,6 +868,9 @@ static void biosfn_set_video_mode(mode) Bit8u mode; } } + // Reset Attribute Ctl flip-flop + inb(VGAREG_ACTL_RESET); + // Set Attribute Ctl for(i=0;i<=ACTL_MAX_REG;i++) {outb(VGAREG_ACTL_ADDRESS,i); |