TempleOSCDV3.11.ISO
This commit is contained in:
1 parent
f8c05f98f4
commit
ed64d7e3b8
549 files changed
+10643
-12855
No files matched your search
+27
-25
@@ -10,16 +10,18 @@ U0 SysGlblsInit()
|
||||
sys_focus_task=Fs;
|
||||
QueInit(&sys_macro_root);
|
||||
|
||||
dsk.dft_iso_filename="::/Temp/CDDVD.ISO";
|
||||
StrCpy(dsk.temp_filename,"::/Home/Temp.TXT.Z");
|
||||
dsk.cdrom_boot_is_good=TRUE;
|
||||
blkdev.dft_iso_filename="::/Temp/CDDVD.ISO";
|
||||
blkdev.temp_filename="::/Home/Temp.TXT.Z";
|
||||
blkdev.dvd_boot_is_good=TRUE;
|
||||
#exe {
|
||||
if (!kernel_cfg->auto_mount_ide_hd_let)
|
||||
kernel_cfg->auto_mount_ide_hd_let='C';
|
||||
if (!kernel_cfg->auto_mount_ide_cd_let)
|
||||
kernel_cfg->auto_mount_ide_cd_let='T';
|
||||
StreamPrint("dsk.first_hd_drv_let=%d;",kernel_cfg->auto_mount_ide_hd_let);
|
||||
StreamPrint("dsk.first_cd_drv_let=%d;",kernel_cfg->auto_mount_ide_cd_let);
|
||||
StreamPrint("blkdev.first_hd_drv_let=%d;",
|
||||
kernel_cfg->auto_mount_ide_hd_let);
|
||||
StreamPrint("blkdev.first_dvd_drv_let=%d;",
|
||||
kernel_cfg->auto_mount_ide_cd_let);
|
||||
}
|
||||
|
||||
InDbg(ON);
|
||||
@@ -36,10 +38,10 @@ U0 SysGlblsInit()
|
||||
KeyDevInit;
|
||||
|
||||
#exe {
|
||||
StreamPrint("dsk.boot_drv_let='%C';",kernel_cfg->boot_drv_let);
|
||||
StreamPrint("#exe{OptOff(OPTf_WARN_PAREN);}");
|
||||
StreamPrint("blkdev.boot_drv_let='%C';",kernel_cfg->boot_drv_let);
|
||||
StreamPrint("#exe{Option(OPTf_WARN_PAREN,OFF);}");
|
||||
StreamPrint("DskCacheInit(%s);",kernel_cfg->dsk_cache_size_exp);
|
||||
StreamPrint("#exe{OptOn(OPTf_WARN_PAREN);}");
|
||||
StreamPrint("#exe{Option(OPTf_WARN_PAREN,ON);}");
|
||||
};
|
||||
|
||||
pow10_I64=CAlloc(sizeof(F64)*(308+308+1));
|
||||
@@ -59,7 +61,7 @@ U0 SysGlblsInit()
|
||||
dev.mem64_ptr=MEM_MAPPED_SPACE;
|
||||
|
||||
dbg.psect_cache=CAlloc(PSECT_CACHE_SIZE*sizeof(CPSectCache));
|
||||
dbg.fault_handlers_code=IntFaultHandlersNew;
|
||||
dbg.int_fault_code=IntFaultHandlersNew;
|
||||
}
|
||||
|
||||
U0 SysGrInit()
|
||||
@@ -129,6 +131,7 @@ U0 Reboot()
|
||||
|
||||
U0 KernelMain()
|
||||
{//Continued from $LK,"Kernel",A="FF:::/Kernel/KStart.CPP,I32 &Kernel"$
|
||||
OutU8(0x61,InU8(0x61)&~3); //Snd(0);
|
||||
adam_task=Fs;
|
||||
HeapsInit;
|
||||
LBts(&sys_run_level,RLf_FULL_HEAP);
|
||||
@@ -163,7 +166,20 @@ U0 KernelMain()
|
||||
LBts(&sys_run_level,RLf_INTERRUPTS);
|
||||
|
||||
TimeStampFreqCal;
|
||||
Preempt(ON);
|
||||
|
||||
"Before BlkDevsInitAll\n";
|
||||
BlkDevsInitAll;
|
||||
"After BlkDevsInitAll\n";
|
||||
|
||||
#exe {
|
||||
if (kernel_cfg->dvd_ports_pmt)
|
||||
StreamPrint(
|
||||
"if (blkdev.boot_rescue_drv_pmt) \"%%S\",\"ST_DVD_PORTS_PMT2\";");
|
||||
};
|
||||
|
||||
ChgDsk(':');
|
||||
Gs->idle_task->cur_dv=blkdev.let_to_drv[ToUpper(blkdev.boot_drv_let)-'A'];
|
||||
LBts(&sys_run_level,RLf_BLKDEV);
|
||||
|
||||
#exe {
|
||||
if (!kernel_cfg->opts[CFG_NO_MP])
|
||||
@@ -180,19 +196,6 @@ U0 KernelMain()
|
||||
else
|
||||
Spawn(&MouseDriverInstall,,,1);
|
||||
|
||||
"BlkDevsInitAll\n";
|
||||
BlkDevsInitAll;
|
||||
"BlkDevsInitAll Done\n";
|
||||
|
||||
#exe {
|
||||
if (kernel_cfg->cdrom_ports_pmt)
|
||||
StreamPrint(
|
||||
"if (dsk.boot_rescue_drv_pmt) \"%%S\",\"ST_CDROM_PORTS_PMT2\";");
|
||||
};
|
||||
|
||||
ChgDsk(':');
|
||||
LBts(&sys_run_level,RLf_DSK);
|
||||
|
||||
"Loading Compiler\n";
|
||||
Cd("/Compiler");
|
||||
Load("Compiler",LDF_SILENT);
|
||||
@@ -201,8 +204,7 @@ U0 KernelMain()
|
||||
InDbg(OFF);
|
||||
cnts.time_stamp_freq_initial=TimeStampFreqCal;
|
||||
Cd("/");
|
||||
try
|
||||
ExeFile("Adam"); //Continues $LK,"/Adam.CPP",A="FL:/Adam.CPP,1"$
|
||||
try ExeFile("StartOS"); //Continues $LK,"/StartOS.CPP",A="FL:/StartOS.CPP,1"$
|
||||
catch {
|
||||
Raw(ON);
|
||||
PutExcept;
|
||||
|
||||
Reference in new issue
Block a user