Skip to content

Commit

Permalink
Sphere doesnt check for BBC env. now so that it can run as PiTubeDire…
Browse files Browse the repository at this point in the history
…ct second processor on Amstrad CPC
  • Loading branch information
revaldinho committed Mar 3, 2019
1 parent e43b5fb commit e845422
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions opc7/bcpltests/sphere.b
Expand Up @@ -8,11 +8,11 @@ MANIFEST {
}

LET start() = VALOF {
TEST istubeplatform(1) THEN {
// TEST istubeplatform(1) THEN {
bbcsphere()
} ELSE {
testsphere()
}
// } ELSE {
// testsphere()
// }
}

AND testsphere() BE {
Expand All @@ -36,7 +36,8 @@ AND bbcsphere() BE {
VDU29(640,512)

FOR colour = 1 TO 7 DO {
timenow := sys(Sys_cputime)
// timenow := sys(Sys_cputime)
timenow := 0
VDU(VDU_GCOL, 0,colour)
VDU(VDU_PLOT,GMOVE,0,0)
FOR phi= 0 TO 126_000_000 BY 0_250_000 DO {
Expand All @@ -46,7 +47,7 @@ AND bbcsphere() BE {
VDU(VDU_PLOT,GDRAW,x,y)
}
wrch(30)
showtimestr( sys(Sys_cputime) - timenow )
// showtimestr( sys(Sys_cputime) - timenow )
}
}

Expand Down

0 comments on commit e845422

Please sign in to comment.