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