TempleOSCDV4.09.ISO
This commit is contained in:
1 parent
2d56cda5f3
commit
353eac0dbe
88 files changed
+2449
-2043
No files matched your search
+5
-3
@@ -2,9 +2,10 @@
|
||||
|
||||
#define STD_DISTRO_DVD_CFG "Tb\nScale2Mem(2048,0x40000)\nt \n\n\n\n"
|
||||
|
||||
U0 MakeMyISO(U8 *out_iso_filename)
|
||||
U0 MakeMyISO(U8 *_out_iso_filename)
|
||||
{//Does everything with current drive.
|
||||
//If you have not recompiled $FG,2$Kernel$FG$ and defined your CD/DVD drive, use $LK,"Mount",A="MN:Mount"$.
|
||||
U8 *out_iso_filename=FileNameAbs(_out_iso_filename);
|
||||
if (!DrvIsWritable) {
|
||||
"Drive must be writable. Install on Hard drive, first.\n";
|
||||
return;
|
||||
@@ -14,7 +15,7 @@ U0 MakeMyISO(U8 *out_iso_filename)
|
||||
|
||||
MkDir("/Distro");
|
||||
Auto(STD_DISTRO_DVD_CFG);
|
||||
MakeOSDrvBootInstall(,'T');
|
||||
BootDVDIns;
|
||||
|
||||
Copy("/*","/Distro");
|
||||
Del("/Distro/" KERNEL_BIN_C);
|
||||
@@ -43,8 +44,9 @@ U0 MakeMyISO(U8 *out_iso_filename)
|
||||
//DVDImageWrite('T',out_iso_filename,MT_DVD); //Uncomment to burn.
|
||||
|
||||
//DelTree("/Distro");
|
||||
Free(out_iso_filename);
|
||||
}
|
||||
|
||||
MakeMyISO("/MyDistro.ISO");
|
||||
MakeMyISO("/Temp/MyDistro.ISO");
|
||||
|
||||
// Study my account examples $LK,"Cfg Strs",A="FL:::/Demo/AcctExample/TOSCfg.CPP,1"$, $LK,"Update Funs",A="FL:::/Demo/AcctExample/TOSDistro.CPP,1"$.
|
||||
+5
-5
@@ -31,7 +31,7 @@ U0 VMInstallDrv(CTask *task,U8 drv_let,
|
||||
CATARep *ata_drv,CATARep *atapi_drv)
|
||||
{
|
||||
InstallDrv(drv_let);
|
||||
XTalkWait(task,"MakeOSDrvBootInstall('%C');\n\nB\n0x20000\n",drv_let);
|
||||
XTalkWait(task,"BootHDIns('%C');\n\nB\n0x20000\n",drv_let);
|
||||
if (ata_drv)
|
||||
XTalkWait(task,"Cp%d\n",ata_drv->num);
|
||||
if (atapi_drv)
|
||||
@@ -62,7 +62,7 @@ U0 VMInstallWiz()
|
||||
if (VMPrtDsk(task,ata_drv)) {
|
||||
VMInstallDrv(task,'C',ata_drv,atapi_drv);
|
||||
VMInstallDrv(task,'D',ata_drv,atapi_drv);
|
||||
MasterBootInstall('C');
|
||||
BootMHDIns('C');
|
||||
}
|
||||
LinkedLstDel(root);
|
||||
WinVert(task->win_top,Fs->win_bottom);
|
||||
@@ -147,13 +147,13 @@ U0 RegularInstallWiz()
|
||||
Fmt(drv_let,,FALSE,FSt_REDSEA);
|
||||
}
|
||||
InstallDrv(drv_let);
|
||||
XTalkWait(task,"MakeOSDrvBootInstall('%C');\n\nB\n0x20000\n"
|
||||
XTalkWait(task,"BootHDIns('%C');\n\nB\n0x20000\n"
|
||||
"Cs%s\n%s\n%C\n\n\n", //Exit Drives,Dsk Cache,Options
|
||||
drv_let,base0,base1,'0'+unit);
|
||||
"$$RED$$Install Master Boot loader?$$FG$$";
|
||||
if (YorN) {
|
||||
'\n';
|
||||
MasterBootInstall(drv_let);
|
||||
BootMHDIns(drv_let);
|
||||
}
|
||||
Free(base0);
|
||||
Free(base1);
|
||||
@@ -189,7 +189,7 @@ Bool DoInstall(Bool pmt_reboot)
|
||||
res=TRUE;
|
||||
} else {
|
||||
"\n\nThis wizard works if you have a partition ready. "
|
||||
"You can partition the drive or MakeOSDrvBootInstall() "
|
||||
"You can partition the drive or BootHDIns() "
|
||||
"with more options if you do it by hand, not using this wizard.\n\n"
|
||||
"Continue Install Wizard ";
|
||||
if (YorN) {
|
||||
|
||||
+2
-2
@@ -13,10 +13,10 @@ TourPut(
|
||||
"We will now place some text on the command line and jump to source code.\n",
|
||||
TRUE);
|
||||
|
||||
"MakeOS";
|
||||
"BootHD";
|
||||
|
||||
TourPut(
|
||||
"Look at the $$GREEN$$MakeOSDrvBootInstall$$FG$$ entry in the AutoComplete "
|
||||
"Look at the $$GREEN$$BootHDIns$$FG$$ entry in the AutoComplete "
|
||||
"window. Notice it is underlined. This means a source code link is "
|
||||
"available.\n\n"
|
||||
"Press $$GREEN$$<CTRL-SHIFT-F1>$$FG$$ to jump to source code.\n");
|
||||
|
||||
Reference in new issue
Block a user