From eae7442610215e55ea350c65aab4ab3869111014 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Fri, 19 Feb 2021 22:24:08 -0500 Subject: kernel settings file --- doc/internal/settings.txt | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 doc/internal/settings.txt (limited to 'doc/internal') diff --git a/doc/internal/settings.txt b/doc/internal/settings.txt new file mode 100644 index 0000000..f0ba6a8 --- /dev/null +++ b/doc/internal/settings.txt @@ -0,0 +1,31 @@ +header format: + dword: offset of main area start + dword: number of main area entries + dword: offset of name area start + dword: offset of data area start + +main area entry format: + dword: offset into name area of setting name + byte: setting name length + byte: setting type + 0x00: string + 0x01: color + others: reserved + word: reserved + qword: + if sz string: + dword: offset into data area of start + dword: length of string + if color: + byte: red value + byte: green value + byte: blue value + byte: reserved + dword: reserved + +currently used settings: + "kbd-layout", sz string: + the name of the scancode table for the keyboard driver to use. + if it is , the file at sys/scantabs/.sct is loaded. + "wm-border-color", color: + the color to use for window borders \ No newline at end of file -- cgit v1.2.3