//See Install Documentation. //Study my account examples: Cfg Strs, Update Funs #ifndef BDVD_START #include "BootDVD" #include "DskISORedSea" #include "DskISO9660" #endif #help_index "Install" #define KERNEL_BIN_C "Kernel.BIN.C" #define BOOT_DIR "/0000Boot" #define BOOT_DIR_KERNEL_BIN_C BOOT_DIR "/0000" KERNEL_BIN_C U0 MakeAll() { if (Cmp("/Compiler/Compiler","Compiler",,':')) throw; if (Cmp("/Kernel/Kernel","Kernel",,':')) throw; } #ifdef UEFI_BOOT U0 MakeAllUEFI() { if (Cmp("/Compiler/Compiler","Compiler",,':')) throw; if (Cmp("/Kernel/KernelUEFI","Kernel","Kernel",':')) throw; } #endif public U0 BootDVDIns(U8 drv_let=0) {//Helper function for DoDistro //See ::/Misc/DoDistro.HC. try { if (!Drv(drv_let)) throw; MakeAll; Move("/Kernel/Kernel.BIN.Z",BOOT_DIR_KERNEL_BIN_C); } catch { PutExcept; Beep; } } #ifdef UEFI_BOOT public U0 BootDVDInsUEFI(U8 drv_let=0) {//Helper function for DoDistro //See ::/Misc/DoDistro.HC. try { if (!Drv(drv_let)) throw; MakeAllUEFI; Move("/Kernel/Kernel.BIN.Z",BOOT_DIR_KERNEL_BIN_C); } catch { PutExcept; Beep; } } #endif