aboutsummaryrefslogtreecommitdiffstats
path: root/vgasrc/vgabios.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2014-10-23 13:04:17 -0400
committerKevin O'Connor <kevin@koconnor.net>2014-10-27 11:03:12 -0400
commit5b89d959a6ab6fd02e1bd9b1893fb860afec88d0 (patch)
treed8f5d90dd0db679b58e8171baf75960613565d44 /vgasrc/vgabios.c
parentc9aecfcd14ec5dcddd93fd84dc02a8aee61dc63e (diff)
downloadseabios-5b89d959a6ab6fd02e1bd9b1893fb860afec88d0.tar.gz
vgabios: Only init BDA device details in init_bios_area()
Don't set the device details when changing modes, and don't set mode details outside of mode setting. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'vgasrc/vgabios.c')
-rw-r--r--vgasrc/vgabios.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/vgasrc/vgabios.c b/vgasrc/vgabios.c
index 786c009e..e17974ac 100644
--- a/vgasrc/vgabios.c
+++ b/vgasrc/vgabios.c
@@ -319,15 +319,6 @@ vga_set_mode(int mode, int flags)
SET_BDA(video_pagestart, 0x0000);
SET_BDA(video_page, 0x00);
- // FIXME We nearly have the good tables. to be reworked
- SET_BDA(dcc_index, 0x08); // 8 is VGA should be ok for now
- SET_BDA(video_savetable
- , SEGOFF(get_global_seg(), (u32)&video_save_pointer_table));
-
- // FIXME
- SET_BDA(video_msr, 0x00); // Unavailable on vanilla vga, but...
- SET_BDA(video_pal, 0x00); // Unavailable on vanilla vga, but...
-
// Set the ints 0x1F and 0x43
SET_IVT(0x1f, SEGOFF(get_global_seg(), (u32)&vgafont8[128 * 8]));