Check Disk Drive Speed

Author(s): Dick Wagner
Publication: The Plotter
Pub Details: The Plotter v11 n4 (Volume 11, Issue 4)
Date: April 1993
Pages: 3

Don Lambert, in a letter to Rod Gowan (RMG Enterprises) included a program to run tests on disk drive controllers that use the 1770 chip. Don draws heavily on late Bill Pedersen knowledge and experience, having worked with him on this program for the 2068. At this time, programs for Larken and Oliger drives are functional. Don hopes to develop the correct data for other drives using the 1770 controller chip.

The following Larken program determines, prints the data, and graphs the drive speed for the first 8 revolutions from start up. The graph lines are 298, 299, and 300 which gives good resolution. According to Don, the last 5 or 6 revolutions of the 8 are the most important. He considers the values should be between 295 and 300. I have heard that it is desireable to be within 1% of 300 RPMs for the best consistant performance. “Tired” drives and old outdated machines are suspect if they do not give consistant results.

I have added the proper SAVE line for Oliger systems that I received when I orders Bill’s printed circuit board designer program (CAD). According to Don, to have this program work properly for Larken systems, the 9th number in line 102 should be 253, while for Oliger systems this number should be 254. Don suspects this number is the key to having the program work properly for other drive systems.

I suggest revising line number 530 to print out the drive number with the addition to the end, :PRINT “Drive NO. “;w. Oliger systems would use line 9999 CLEAR: SAVE //”DISKSPEED” LINE 1.

   5 RESTORE 101: FOR n=39936 TO 40007: READ w: POKE n,w: NEXT n
101 DATA 243,33,72,156,1,143,0,62,208,237,121,16,-2,205,56,156,205,56,156,48,-5,205,56,156,56,-5,6,8,197,17,0,0,205,51,156,48,-5,205,51,156,56,-5,115,35,114,35,193,16,-21,251,201
102 DATA 6,1,16,-2,19,62,127,219,254,246,224,60,40,2,207,20,237,120,31,31,201,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
500 CLS : PRINT " WIDJUP DISK TESTING SERVICES DISK SPEED MEASUREMENT",""
520 PRINT '" The drive you select will be tested for acceleration and sustained speed."'" Before proceeding, place a disk in your selected drive and close its door."
530 INPUT "Which drive? (0 TO 3) ";w
531 OUT 183,0: PAUSE 60: OUT 183,2^W: OUT 143,0
532 LET w=USR 39936
533 INK 1: PLOT 100,81: DRAW 150,0: PLOT 100,72: DRAW 150,0: PLOT 100,63: DRAW 150,0: INK 0
534 PRINT '"Turn RPM": ON ERR GO TO 548: FOR n=40008 TO 40023 STEP 2: LET w=PEEK n+256*PEEK (n+1)
535 LET w$=STR$ (1605000/w)
536 IF LEN w$>6 THEN LET w$=w$( TO 6)
537 PRINT " ";n/2-20003;" ";w$
538 INK 1: PLOT 8*(n-39994),70+2.5*(VAL w$-300): DRAW 2,0: DRAW 0,4: DRAW -4,0: DRAW 0,-4: DRAW 2,0: INK 0
548 NEXT n: ON ERR RESET
550 PRINT ''" PRESS ANY KEY TO CONTINUE ": PAUSE 0
9999 CLEAR : RANDOMIZE USR 100: SAVE "DskSpd.B1" LINE 1

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