Stepping Rate Fix

See all articles from CATS v8 n8
Publication: CATS Newsletter
Pub Details: CATS v8 n8 (Volume 8, Issue 8)
Date: January 1991
Pages: 13-14

From Jan-Feb 1990 Nite-Times News

The May 1989 issue of Capital District T/S Computer Club’s newsletter told of two members using TS2068’s with LarKen DOS having trouble reading each other’s disks. It seemed that Fred Lewis could read John Warrens disks but John could not read Fred’s disks. This sounded familiar to me as I once had trouble reading disks that came from Rod Gowen and Larry Kenny.

The problem I had was head stepping rate. The drives I use have a 30ms stepping rate. This means that to move from track 0 (the directory track) to track 40 requires 1.2 seconds. A 6 ms stepping rate requires only 240ms. What the controller chip does is wait a period of time to begin reading or writing the disk to give the head time to get to the desired track! The information for the stepping rate is placed in track 0 when the disk is FORMATed.

There is no problem reading the directory track because the head starts there, but the head on John’s drive is not yet over the correct track when the controller tries for the read. For this reason John Warren could not read Fred Lewis’s disks. Fred either has a newer controller chip or has drives with a 6 ms stepping rate and FORMATed his disks accordingly.

I could not read the SYSTEM disk that Larry Kenny sent me. Larry had not run into the slower drives up to that point. Mine are DEC dual drive units using TEAC drives purchased in the early 80’s as a group buy and are so reliable I just won’t give them up.

Larry was sure he had the answer when I phoned him and to get me started back in February of 1988, he sent a program to the club BBS at 2 AM while I slept to fix his disks so that I might read them. I tried it and it worked! I re-wrote it and called it STEPRT.B1 The stepping rate information is in track 0 and his program fixes the disk to the 30 ms stepping rate.

Now about controller chips, Larry stated that he started using the new Western Digital chips that could only select 6 ms or faster head stepping mechanisms. I told him, each time I ordered, to send me only the old WDC WD1770 controller chip in units he built for me and my friends as over 200 of these TEAC units are in the area and we all want to be compatible.

When passing around disks for the LarKen disk operating system be sure they are formatted single side 40 track with a 30 ms head stepping rate so we all can read them.

To read unreadable disks, just load in the program below, it will autorun. After removing the write protect label from the faulty disk, place it into DRIVE 0 and press <ENTER>. You will be able to read it from then on. I have tested it on LARKEN and RMG disks.

  10 REM STEP RATE CHANGER BY LARRY KENNY and BOB SWOGER V1.0
30 CLS : PRINT AT 0,0;"This program fixes the head step rate problem with disks formatted for other than 30 ms. Remove the protection label and place the disk to be repaired into DRIVE 0 and press enter."
40 REM The '3' in the machine code is for 30 ms.
50 INPUT LINE p$
60 CLEAR 39999
70 RANDOMIZE USR 100: OPEN #4,"dd"
80 PRINT #4: GO TO 0
90 RESTORE 150
110 FOR A=40000 TO 40030
120 READ B: POKE A,B
130 NEXT A
150 DATA 243,205,98,0,175,50,29,32,205,126,0,205,123,0,62,3,50,134,32,205,120,0,58,100,0,251,201,0,0,0,0
250 RANDOMIZE USR 40000
260 GO TO 9989
360 FOR B=40000 TO 42000: PRINT PEEK B;",";: NEXT B
9989 PRINT #4: GO TO 4
9992 RANDOMIZE USR 100: SAVE "STEPRT.B1" LINE 1
9998 RANDOMIZE USR 100: LOAD "L.B1"

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