mtgos-kernel/kernel/hw/pc/config.py

12 lines
443 B
Python
Raw Normal View History

2017-04-23 20:04:39 +00:00
config["ENABLE_FRAMEBUFFER"] = get_yes_no("Use VESA Framebuffer?", True)
if config["ENABLE_FRAMEBUFFER"]:
config["ENABLE_FRAMEBUFFER_UNICODE"] = get_yes_no("Enable full Unicode BMP font (Adds around 1MB to binary)", False)
2017-04-24 16:38:22 +00:00
if config["ENABLE_FRAMEBUFFER"]:
2017-04-28 21:04:33 +00:00
add_driver(True, "framebuffer")
2017-04-24 16:38:22 +00:00
add_driver(False, "vesafb")
else:
add_driver(False, "cgaterm")
add_driver(False, "8259")
add_driver(False, "idt")
add_driver(False, "pmm")