Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 (Tek) 9/28/84 based on 9/17/84; site iddic.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!vax135!cornell!uw-beaver!tektronix!orca!iddic!garyh From: garyh@iddic.UUCP (Gary Hanson) Newsgroups: net.micro.cbm Subject: 30 second 1541 alignment check Message-ID: <1982@iddic.UUCP> Date: Mon, 15-Apr-85 00:26:13 EST Article-I.D.: iddic.1982 Posted: Mon Apr 15 00:26:13 1985 Date-Received: Thu, 18-Apr-85 02:46:54 EST Organization: /etc/home/asleep Lines: 44 >>><<< If you suspect that your drive is going out of alignment, or if you have disks that don't seem to get along with your drive, try this simple test. First, type in direct mode: OPEN 1,8,15,"M-W"+CHR$(106)+CHR$(0)+CHR$(1)+CHR$(193):CLOSE1 Then, put in a disk that was written on a properly aligned drive (like a commercial program), and list the directory, load a program, or do most any type of disk read. A flashing error light will indicate that your drive is not within a half track of proper alignment. As a further check, type in the following short program: 1 OPEN 1,8,15:OPEN 2,8,2,"#" 2 INPUT "TRACK";T 3 PRINT#1,"U1:2,0"T",0" 4 INPUT#1,A,B$,C,D:PRINT A;B$;C;D 5 CLOSE2:CLOSE1 When you run this program, enter a track number from 1 to 35. The drive will attempt to read sector 0 of the selected track. Be sure to try tracks 1 and 35, particularly on suspected bad disks, and any other tracks that strike your fancy. This will not check the whole track, but will give an indication of whether it can find the track at all. The initial M-W command changes a location in DOS RAM that: 1) turns off 'bumps' after errors, 2) turns off checking adjacent half-tracks in case of bad data, and 3) sets the retry counter so that the drive will only try to read a selected sector once. This will cause the drive to indicate an error if the disk and the drive are not aligned to within 1/2 track of each other. The M-W will stay in effect until the drive is reset (either power-cycled or reset with a UJ or U; command.) I've never seen this test fail (my drive is properly aligned), but it should be effective as a simple check of drive alignment. Good luck. Gary Hanson Tektronix IDG ...!tektronix!iddic!garyh Dear Lisa, Mac, and Jack: Sorry, no mice allowed in my house; that's why I have a cat.