TempleOSCDV3.11.ISO
This commit is contained in:
1 parent
f8c05f98f4
commit
ed64d7e3b8
549 files changed
+10643
-12855
No files matched your search
@@ -179,19 +179,18 @@ U0 CloudScene()
|
||||
try {
|
||||
Fs->text_attr=YELLOW<<4+BLUE;
|
||||
Fs->song_task=Spawn(&SongTask,NULL,"Song",,Fs);
|
||||
DocCursor;
|
||||
WinMax;
|
||||
WinBorder;
|
||||
AutoComplete;
|
||||
WinBorder;
|
||||
WinMax;
|
||||
DocCursor;
|
||||
DocClear;
|
||||
Init;
|
||||
Fs->animate_task=Spawn(&AnimateTask,NULL,"Animate",,Fs);
|
||||
|
||||
DocClear;
|
||||
"$$BG,LTCYAN$$%h*c",SKY_LINES,'\n';
|
||||
"$$BG,YELLOW$$%h5c",'\n';
|
||||
BibleVerse(,"Exodus,14:19",7);
|
||||
|
||||
Preempt;
|
||||
Fs->draw_it=&DrawIt;
|
||||
GetChar;
|
||||
WinMgrSync;
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
interrupt U0 BeepOn()
|
||||
interrupt U0 IntBeepOn()
|
||||
{
|
||||
*LAPIC_EOI(U32 *)=0; //signal end of interrupt
|
||||
Snd(100);
|
||||
}
|
||||
|
||||
interrupt U0 BeepOff()
|
||||
interrupt U0 IntBeepOff()
|
||||
{
|
||||
*LAPIC_EOI(U32 *)=0;
|
||||
Snd(0);
|
||||
@@ -12,8 +12,8 @@ interrupt U0 BeepOff()
|
||||
|
||||
U0 IntTest()
|
||||
{//Modify interrupt descriptor table use by all cores.
|
||||
IntEntrySet(I_USER,&BeepOn,IDTET_TRAP);
|
||||
IntEntrySet(I_USER+1,&BeepOff,IDTET_TRAP);
|
||||
IntEntrySet(I_USER,&IntBeepOn,IDTET_TRAP);
|
||||
IntEntrySet(I_USER+1,&IntBeepOff,IDTET_TRAP);
|
||||
//Issue interupt to core#1
|
||||
MPInt(I_USER,1);
|
||||
Sleep(1000);
|
||||
|
||||
@@ -3,7 +3,6 @@ I64 app_done_ack;
|
||||
|
||||
U0 Job1(I64)
|
||||
{//Compile Compiler
|
||||
Preempt(ON); //Off by default
|
||||
Silent;
|
||||
while (!app_done) {
|
||||
Cd("::/Compiler");
|
||||
@@ -14,7 +13,6 @@ U0 Job1(I64)
|
||||
|
||||
U0 Job2(I64)
|
||||
{//Log a file
|
||||
Preempt(ON); //Off by default
|
||||
while (!app_done) {
|
||||
AdamLog("%F","::/Demo/MultiCore/LoadTest.CPP");
|
||||
Yield;
|
||||
@@ -24,7 +22,6 @@ U0 Job2(I64)
|
||||
|
||||
U0 Job3(I64)
|
||||
{//Log a file
|
||||
Preempt(ON); //Off by default
|
||||
while (!app_done) {
|
||||
Cd("::/Compiler");
|
||||
AdamLog("%F","Compiler.PRJ.Z");
|
||||
|
||||
Reference in new issue
Block a user