X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/bdc143a7aa3f51a46eceec62b0b364599533fa21..1171754ec28161647e916c3339f8da3d1804e1be:/lunaix-os/hal/char/LConfig diff --git a/lunaix-os/hal/char/LConfig b/lunaix-os/hal/char/LConfig index 157e2d7..dd2fa0f 100644 --- a/lunaix-os/hal/char/LConfig +++ b/lunaix-os/hal/char/LConfig @@ -1,14 +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 - @Term - def vga_console(): - """ Enable VGA console device (text mode only) """ + @"VGA character game device" + def chargame_console() -> bool: + """ + Enable VGA Charactor Game console device (text mode only) - type(bool) - default(True) + 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