Speed Test

Developer(s): Steve Gunhouse
Date: 1992
Type: Program
Platform(s): TS 2068

Shows that TS2068 machine code runs more slowly below 32768, where the CPU has to share memory with the video chip. An 18-byte routine that clears FRAMES, counts to 65536 and returns the frames elapsed is POKEd to 23300 (the printer buffer), 33000 and 65300 in turn and timed at each. The printed results were 25, 18 and 18 sixtieths of a second.

Published in Sinc-Link January-February 1992 (Letter from Steve Gunhouse).

Related Articles

First, I do know about things like putting a space instead of a blank REM and two different ways to get a “PRINT comma”.

Image Gallery

Source Code

1 REM program- speed test
2 LET code=100
10 LET start=23300: GO SUB code
20 LET start=33000: GO SUB code
30 LET start=65300: GO SUB code
40 STOP
100 RESTORE 1000: FOR i=0 TO 17: READ a: POKE start+i,a: NEXT i
110 PRINT "start: ";start,"Time: ";USR start
120 RETURN
1000 DATA 1,0,0,237,67,120,92,13,32,253,5,32,250,237,75,120,92,201

Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.