-
Notifications
You must be signed in to change notification settings - Fork 18
VGA
The emulator features an emulated Cirrus VGA adapter, which can be attached to either an SDL frontend or an X11 frontend (the second one being untested). The frontend is set using a gui
option in the configuration file (on the top level, i.e. outside the tsunami
block):
gui = sdl
{
keyboard.map = "keys.map";
keyboard.use_mapping = false;
}
The adapter itself is attached to the PCI bus and requires a ROM to work - you can get one from the vgabios project (make sure you don't use the one with "cirrus" in its name - it doesn't work, unlike the one without it).
pci0.2 = cirrus { rom = "rom/vgabios-0.6a.debug.bin"; }
Some additional configuration related to the GUI is found in the ALi controller options:
pci0.7 = ali
{
mouse.enabled = true;
vga_console = true;
}
After the configuration mentioned above VGA should work for you. Don't worry about the window being a strange black vertical strip for a while after startup - that's expected behavior.
The SRM console and Tru64 UNIX are both known to detect and use the adapter correctly, the latter one also can start (guest) X11, but it's not known whether it actually works (it changes resolution to 4:3 correctly, but stays at a black screen - more investigation is needing).