Commit 7c4ef44d authored by Curd Becker's avatar Curd Becker
Browse files

fixed boch's broken display handlers on ubuntu 14.04. replaced them with SDL as default

parent 48b5f50e
......@@ -573,14 +573,15 @@ EOF
print_bochs_disk_line ("ata1-master", $disks[2]);
print_bochs_disk_line ("ata1-slave", $disks[3]);
if ($vga ne 'terminal') {
if ($serial) {
my $mode = defined ($squish_pty) ? "term" : "file";
print BOCHSRC "com1: enabled=1, mode=$mode, dev=/dev/stdout\n";
}
print BOCHSRC "display_library: nogui\n" if $vga eq 'none';
} else {
print BOCHSRC "display_library: term\n";
if ($serial) {
my $mode = defined ($squish_pty) ? "term" : "file";
print BOCHSRC "com1: enabled=1, mode=$mode, dev=/dev/stdout\n";
}
}
# always use sdl, since term and x seem to be broken
# and nogui not present anymore (at least on Ubuntu 14.04 LTS)
print BOCHSRC "display_library: sdl\n";
close (BOCHSRC);
# Compose Bochs command line.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment