Begin creating Limine.CFG generate script.

TODO: use this script, once finished and integrated into OS, to generate Limine.CFG on-the-fly rather than providing it in the source tree
This commit is contained in:
TomAwezome 2022-10-14 01:08:16 -04:00
parent 537a650523
commit 7b834610c6

27
src/Home/LimineCFGMake.ZC Executable file
View file

@ -0,0 +1,27 @@
CDoc *doc = DocNew("C:/Boot/Limine.CFG");
// Limine interface settings
DocPrint(doc,
"TIMEOUT=2\n"
"INTERFACE_RESOLUTION=1024x768\n\n");
// C: drive
DocPrint(doc, ":ZealOS C:/\n"
"PROTOCOL=limine\n"
"RESOLUTION=1024x768\n"
"KERNEL_PATH=boot://1/Boot/ZealBooter.ELF\n"
"MODULE_PATH=boot://1/Boot/Kernel.ZXE\n"
"\n");
// D: drive
DocPrint(doc, ":ZealOS D:/\n"
"PROTOCOL=limine\n"
"RESOLUTION=1024x768\n"
"KERNEL_PATH=boot://2/Boot/ZealBooter.ELF\n"
"MODULE_PATH=boot://2/Boot/Kernel.ZXE\n"
"\n");
DocWrite(doc);
DocDel(doc);