X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/ebb55b7e5f0b8f31328950ec383b77b208ffbb64..2b0380cba5e5adc73299bbaccdc7d20b84825cc1:/lunaix-os/hal/char/LConfig diff --git a/lunaix-os/hal/char/LConfig b/lunaix-os/hal/char/LConfig index 1b5ead4..dd2fa0f 100644 --- a/lunaix-os/hal/char/LConfig +++ b/lunaix-os/hal/char/LConfig @@ -1,7 +1,26 @@ -include("uart") +from . import uart -@Collection +@"Character Devices" +@(parent := hal) def char_device(): """ Controlling support of character devices """ - add_to_collection(hal) + @"VGA 80x25 text-mode console" + def vga_console() -> bool: + """ + Enable VGA console device (text mode only) + """ + require (use_graphic_dev) + + return True + + @"VGA character game device" + def chargame_console() -> bool: + """ + Enable VGA Charactor Game console device (text mode only) + + You normally don't need to include this, unless you want some user space fun ;) + """ + require (vga_console) + + return False \ No newline at end of file