mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-26 15:26:43 +00:00
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:
parent
537a650523
commit
7b834610c6
1 changed files with 27 additions and 0 deletions
27
src/Home/LimineCFGMake.ZC
Executable file
27
src/Home/LimineCFGMake.ZC
Executable 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);
|
||||||
|
|
Loading…
Reference in a new issue