TempleOSCDV5.00.ISO

This commit is contained in:
Terry A. Davis authored and minexew committed 2018-09-08 21:48:09 +02:00
1 parent 122df6338e
commit f6eacf7744
374 files changed
+11078 -11204

No files matched your search

+2 -2
View File
@@ -88,7 +88,7 @@ U0 MGCircle(I64 x,I64 y,F64 r)
MGPlot(x+x1,y+y1);
while (len-->=0) {
//m1@a1 * m2@a2 = m1*m2@(a1+a2)
//m1@a1 * m2@a2 = m1*m2@(arg1+arg2)
//(x1+y1i)*(x2+y2i) = x1*x2+(x1*y1+x2*y2)i-y1*y2
@@ -114,7 +114,7 @@ U0 MiniGrLibDemo()
for (i=0;i<300;i+=4)
MGCircle(200,100+i,i);
MGUpdate;
BusyWait(1500000);
Busy(1500000);
/*
We are returning graphics to normal operations under TempleOS.
It is not normal to by-pass the TempleOS graphcis routines.
+2 -2
View File
@@ -14,7 +14,7 @@ speed-up. Depressing.
asm {
LIMIT:: DU64 SAMPLES; //Memory reference should suck, right?
LIMIT:: DU64 SAMPLES; //Memory reference should be bad, right?
_BADLY_UNOPTIMIZED::
MOV RAX,0
@@ -61,7 +61,7 @@ _WELL_OPTIMIZED3::
XOR RAX,RAX
MOV RCX,SAMPLES-1
@@05: ADD RAX,RCX
LOOP @@05 //Inst sucks in speed, but saves code size.
LOOP @@05 //Inst has slow speed, but saves code size.
RET
}
+1 -1
View File
@@ -35,7 +35,7 @@ are zero, so sel them and make them zero.
You can't do reads on VGA memory, by the way.
That means no read-modify-writes, too.
*/
BusyWait(4000000);
Busy(4000000);
//TempleOS has a 4 plane memory duplicate of the scrn, $LK,"gr.scrn_image",A="MN:CGrGlbls"$,
//and only writes actual changes. See $LK,"GrUpdateVGAGraphics",A="MN:GrUpdateVGAGraphics"$().