TempleOSCD_150720.ISO
This commit is contained in:
1 parent
401601816c
commit
f8c05f98f4
554 files changed
+26046
-24853
No files matched your search
+5
-5
@@ -4,7 +4,7 @@
|
||||
|
||||
U0 MakeMyISO(U8 *out_iso_filename)
|
||||
{//Does everything with current drive.
|
||||
if (!IsDrvWritable) {
|
||||
if (!DrvIsWritable) {
|
||||
"Drive must be writable. Install on Hard drive, first.\n";
|
||||
return;
|
||||
}
|
||||
@@ -14,9 +14,9 @@ U0 MakeMyISO(U8 *out_iso_filename)
|
||||
MakeOSDrvBootInstall(,'T');
|
||||
|
||||
Copy("/*","/Distro");
|
||||
Del("/Distro/Kernel.BIN.C");
|
||||
Del("/Distro/" KERNEL_BIN_C);
|
||||
|
||||
CopyTree("/0000Boot", "/Distro/0000Boot");
|
||||
CopyTree(BOOT_DIR, "/Distro" BOOT_DIR);
|
||||
CopyTree("/Home", "/Distro/Home");
|
||||
CopyTree("/Adam", "/Distro/Adam");
|
||||
CopyTree("/Apps", "/Distro/Apps");
|
||||
@@ -31,8 +31,8 @@ U0 MakeMyISO(U8 *out_iso_filename)
|
||||
CopyTree("/Linux","/Distro/Linux"); //You can leave this out.
|
||||
MkDir("/Distro/Temp");
|
||||
MkDir("/Distro/Temp/ScreenShots");
|
||||
CDFileCreate(out_iso_filename,"/Distro/*",,"/Distro" BOOT_DIR_KERNEL_BIN_C);
|
||||
//CDImageWrite('T',out_iso_filename,MT_CD); //Uncomment to burn a CD-ROM or (MT_DVD)
|
||||
ISOFileCreate(out_iso_filename,"/Distro/*",,"/Distro" BOOT_DIR_KERNEL_BIN_C);
|
||||
//CDImageWrite('T',out_iso_filename,MT_CD); //Uncmt to burn CD-ROM or (MT_DVD)
|
||||
//DelTree("/Distro");
|
||||
}
|
||||
|
||||
|
||||
+25
-24
@@ -8,7 +8,8 @@ Bool VMPrtDsk(CTask *task,CATARep *ata_drv)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
U0 VMInstallBoot(CTask *task,U8 cd_drv,U8 drv,CATARep *ata_drv,CATARep *atapi_drv)
|
||||
U0 VMInstallBoot(CTask *task,U8 cd_drv,U8 drv,
|
||||
CATARep *ata_drv,CATARep *atapi_drv)
|
||||
{
|
||||
U8 *st1,*st2;
|
||||
|
||||
@@ -24,8 +25,8 @@ U0 VMInstallBoot(CTask *task,U8 cd_drv,U8 drv,CATARep *ata_drv,CATARep *atapi_dr
|
||||
Free(st1);
|
||||
|
||||
XTalkWait(task,
|
||||
"MakeOSDrvBootInstall('%C');\n"
|
||||
"\nB1\n0x20000\n",drv);
|
||||
"MakeOSDrvBootInstall('%C');\n"
|
||||
"\nB1\n0x20000\n",drv);
|
||||
|
||||
if (ata_drv)
|
||||
XTalkWait(task,"C2p%d\n",ata_drv->num);
|
||||
@@ -33,9 +34,9 @@ U0 VMInstallBoot(CTask *task,U8 cd_drv,U8 drv,CATARep *ata_drv,CATARep *atapi_dr
|
||||
XTalkWait(task,"T3p%d\n",atapi_drv->num);
|
||||
|
||||
XTalkWait(task,
|
||||
"\n" //Exit Drives
|
||||
"\n" //Dsk Cache
|
||||
"\n"); //Options
|
||||
"\n" //Exit Drives
|
||||
"\n" //Dsk Cache
|
||||
"\n"); //Options
|
||||
}
|
||||
|
||||
U0 VMInstallWizard()
|
||||
@@ -131,9 +132,9 @@ U0 RegularInstallWizard()
|
||||
if (YorN) {
|
||||
'\n';
|
||||
while (TRUE) {
|
||||
"$$PURPLE$$1$$FG$$) Use FAT32\n"
|
||||
"$$PURPLE$$2$$FG$$) Use RedSea\n"
|
||||
"\nFile System Type: ";
|
||||
"$$PURPLE$$1$$FG$$) Use FAT32\n"
|
||||
"$$PURPLE$$2$$FG$$) Use RedSea\n"
|
||||
"\nFile System Type: ";
|
||||
ch=GetChar;
|
||||
'\n';
|
||||
if ('1'<=ch<='2')
|
||||
@@ -153,17 +154,17 @@ U0 RegularInstallWizard()
|
||||
MkDir(new_home_str);
|
||||
Copy("::/Misc/MakeDistro.CPP.Z",new_home_str);
|
||||
XTalkWait(task,
|
||||
"MakeOSDrvBootInstall('%C');\n"
|
||||
"\nB1\n0x20000\n"
|
||||
"C"
|
||||
"2p"
|
||||
"%s\n"
|
||||
"%s\n"
|
||||
"%C"
|
||||
"\n" //Exit Drives
|
||||
"\n" //Dsk Cache
|
||||
"\n", //Options
|
||||
*dst,base0,base1,'0'+unit);
|
||||
"MakeOSDrvBootInstall('%C');\n"
|
||||
"\nB1\n0x20000\n"
|
||||
"C"
|
||||
"2p"
|
||||
"%s\n"
|
||||
"%s\n"
|
||||
"%C"
|
||||
"\n" //Exit Drives
|
||||
"\n" //Dsk Cache
|
||||
"\n", //Options
|
||||
*dst,base0,base1,'0'+unit);
|
||||
"$$RED$$Install Master Boot loader?$$FG$$";
|
||||
if (YorN) {
|
||||
'\n';
|
||||
@@ -197,7 +198,7 @@ U0 DoInstall()
|
||||
{
|
||||
I64 vm_install,pmt_reboot;
|
||||
"\n\n\n\n\nAre you installing inside VMware, QEMU, VirtualBox "
|
||||
"or a similar virtual machine? ";
|
||||
"or a similar virtual machine? ";
|
||||
vm_install=YorN;
|
||||
DocBottom;
|
||||
|
||||
@@ -206,9 +207,9 @@ U0 DoInstall()
|
||||
pmt_reboot=TRUE;
|
||||
} else {
|
||||
"\n\nThis wizard works if you have a partition ready. "
|
||||
"You can partition the drive or MakeOSDrvBootInstall() "
|
||||
"with more options if you do it by hand, not using this wizard.\n\n"
|
||||
"Continue Install Wizard ";
|
||||
"You can partition the drive or MakeOSDrvBootInstall() "
|
||||
"with more options if you do it by hand, not using this wizard.\n\n"
|
||||
"Continue Install Wizard ";
|
||||
if (pmt_reboot=YorN)
|
||||
RegularInstallWizard();
|
||||
}
|
||||
|
||||
+392
-354
File diff suppressed because it is too large.
Load diff
+257
-126
File diff suppressed because it is too large.
Load diff
+6
-4
@@ -12,7 +12,8 @@ U0 TourPutTask()
|
||||
WinToTop;
|
||||
Fs->text_attr=Fs->border_attr=LTGRAY<<4+BLUE;
|
||||
Fs->border_src=BDS_CONST;
|
||||
Fs->win_inhibit=WIG_TASK_DFT-WIF_SELF_BORDER-WIF_SELF_IP_L-WIF_SELF_IP_R-WIG_DBL_CLICK;
|
||||
Fs->win_inhibit=WIG_TASK_DFT-WIF_SELF_BORDER-WIF_SELF_IP_L
|
||||
-WIF_SELF_IP_R-WIG_DBL_CLICK;
|
||||
doc=DocPut;
|
||||
doc->flags|=DOCF_FORM;
|
||||
DocCursor(FALSE,doc);
|
||||
@@ -32,7 +33,8 @@ U0 TourPutTask()
|
||||
}
|
||||
DocUnlock(doc);
|
||||
if (tour_okay_pressed) {
|
||||
Fs->win_inhibit=WIG_TASK_DFT-WIF_SELF_BORDER-WIF_SELF_IP_L-WIF_SELF_IP_R-WIG_DBL_CLICK;
|
||||
Fs->win_inhibit=WIG_TASK_DFT-WIF_SELF_BORDER-WIF_SELF_IP_L
|
||||
-WIF_SELF_IP_R-WIG_DBL_CLICK;
|
||||
if (sys_focus_task==Fs)
|
||||
WinRefocus;
|
||||
} else {
|
||||
@@ -85,14 +87,14 @@ public I64 PopUpTourPart()
|
||||
"$$CM+LX,4,4$$$$BT,\"Part 11: Test Suite\",LE=11$$"
|
||||
"$$CM+LX,4,4$$$$BT,\"Done\",LE=DOCM_CANCEL$$\n");
|
||||
doc->flags|=DOCF_FORM;
|
||||
i=PopUpPrint("WinMax;DocMenuDo(0x%X,0);",doc);
|
||||
i=PopUpPrint("WinMax;DocMenu(0x%X,0);",doc);
|
||||
DocDel(doc);
|
||||
return i;
|
||||
}
|
||||
|
||||
U0 TourMenu()
|
||||
{
|
||||
U8 buf[128];
|
||||
U8 buf[STR_LEN];
|
||||
I64 i;
|
||||
tour_task=Fs;
|
||||
tour_okay_pressed=TRUE;
|
||||
|
||||
+2
-1
@@ -49,7 +49,8 @@ TourPut(
|
||||
"The $$RED$$RED$$FG$$ filenames listed are file links. Left-clicking will "
|
||||
"edit/view them. Right-clicking or pressing $$GREEN$$<ENTER>$$FG$$ when the "
|
||||
"cursor is on top will bring-up a menu of options.\n\n"
|
||||
"The $$LTBLUE$$BLUE$$FG$$ underline entries \"$$LTBLUE$$.$$FG$$\" and \"$$LTBLUE$$..$$FG$$\""
|
||||
"The $$LTBLUE$$BLUE$$FG$$ underline entries \"$$LTBLUE$$.$$FG$$\" "
|
||||
"and \"$$LTBLUE$$..$$FG$$\""
|
||||
"are macros and will change directories.\n",TRUE);
|
||||
|
||||
TourPut(
|
||||
|
||||
+1
-1
@@ -92,7 +92,7 @@ TourPut("Press $$GREEN$$<SHIFT-ESC>$$FG$$ to abort the editor.\n");
|
||||
AFUntilChar(CH_ESC,CH_SHIFT_ESC);
|
||||
|
||||
TourPut(
|
||||
"Explore the $$RED$$$$TX+L+PU+UL,\"DemoIndex\",A=\"FI:::/Doc/DemoIndex.TXT\"$$$$FG$$. "
|
||||
"Explore the $$RED$$$TX+L+PU+UL,"DemoIndex",A="FI:::/Doc/DemoIndex.TXT"$$$FG$$. "
|
||||
"You'll find it on your menu. It's arranged by difficulty. "
|
||||
"Hit $$GREEN$$<SPACE>$$FG$$ on a demo index listing "
|
||||
"and $$GREEN$$<F5>$$FG$$ to run from the editor.\n",TRUE);
|
||||
|
||||
Reference in new issue
Block a user