From 7b834610c620e27f030036000db98b76dc67b196 Mon Sep 17 00:00:00 2001 From: TomAwezome Date: Fri, 14 Oct 2022 01:08:16 -0400 Subject: [PATCH] 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 --- src/Home/LimineCFGMake.ZC | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 src/Home/LimineCFGMake.ZC diff --git a/src/Home/LimineCFGMake.ZC b/src/Home/LimineCFGMake.ZC new file mode 100755 index 00000000..bbdc6702 --- /dev/null +++ b/src/Home/LimineCFGMake.ZC @@ -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); +