TempleOSCDV4.12.ISO

This commit is contained in:
Terry A. Davis authored and minexew committed 2018-09-08 21:47:56 +02:00
1 parent 93ca216483
commit b84bbff6db
381 files changed
+18356 -18798

No files matched your search

+2 -2
View File
@@ -88,7 +88,7 @@ U0 AnimateTask(I64)
Cloud *c;
CloudPen *cp;
while (TRUE) {
WinMgrSync;
Refresh;
for (i=0,cp=cloud_pens;i<CLOUD_PENS;i++,cp++) {
DCClear(cp->img);
@@ -193,7 +193,7 @@ U0 CloudScene()
Fs->draw_it=&DrawIt;
GetChar;
WinMgrSync;
Refresh;
} catch
PutExcept;
SettingsPop;
+10 -10
View File
@@ -20,12 +20,12 @@ U0 MPUnlockedInc(I64)
U0 UnlockedInc()
{
CSrvCmd *tempm0,*tempm1;
CSrvCmd *tmpm0,*tmpm1;
glbl=0;
tempm0=JobQue(&MPUnlockedInc,NULL,0,0);
tempm1=JobQue(&MPUnlockedInc,NULL,1,0);
JobResGet(tempm0);
JobResGet(tempm1);
tmpm0=JobQue(&MPUnlockedInc,NULL,0,0);
tmpm1=JobQue(&MPUnlockedInc,NULL,1,0);
JobResGet(tmpm0);
JobResGet(tmpm1);
"Correct Cnt:%X Actual Cnt:%X\n",CNT*2,glbl;
}
@@ -39,12 +39,12 @@ U0 MPLockedInc(I64)
U0 LockedInc()
{
CSrvCmd *tempm0,*tempm1;
CSrvCmd *tmpm0,*tmpm1;
glbl=0;
tempm0=JobQue(&MPLockedInc,NULL,0,0);
tempm1=JobQue(&MPLockedInc,NULL,1,0);
JobResGet(tempm0);
JobResGet(tempm1);
tmpm0=JobQue(&MPLockedInc,NULL,0,0);
tmpm1=JobQue(&MPLockedInc,NULL,1,0);
JobResGet(tmpm0);
JobResGet(tmpm1);
"Correct Cnt:%X Actual Cnt:%X\n",CNT*2,glbl;
}
+3 -3
View File
@@ -12,13 +12,13 @@ I64 MPSum(I64 my_mp_cnt)
I64 Sum(I64 n,I64 my_mp_cnt)
{
CSrvCmd *tempm[MP_MAX_PROCESSORS];
CSrvCmd *tmpm[MP_MAX_PROCESSORS];
I64 res=0,i;
mp_n=n+1;
for (i=0;i<my_mp_cnt;i++)
tempm[i]=JobQue(&MPSum,my_mp_cnt,i,0);
tmpm[i]=JobQue(&MPSum,my_mp_cnt,i,0);
for (i=0;i<my_mp_cnt;i++)
res+=JobResGet(tempm[i]);
res+=JobResGet(tmpm[i]);
return res;
}