Drew Northup wrote:

> Isn't the base VGA handled by the emulated video BIOS?

No, the VGA is handled by VGA hardware emulation code
in user/plugins/bochs/iodev/vga.c.

The user/plugins/bios/vga.S code is simply some
assembly that was translated from vga_io.log, a
sample IO log of the VGA BIOS init'ing the VGA
IO ports to standard text mode for a DOS boot-up.

I'm not sure why vga.S was created, since the
vga_io.log is a hack to allow Linux to boot
straight into 32bit mode without the BIOS.
It's not useful for anything else, and is
a lot more efficient if it's read in and
handled directly without virtualizing all the
IO instructions.

Unless there's a big reason to keep it, eventually
I'm going to delete it and do things like before.

-Kevin

Reply via email to