Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/17/84; site inuxh.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!ihnp4!inuxc!inuxh!rdr From: rdr@inuxh.UUCP (Robert Rindfuss) Newsgroups: net.micro.pc,net.micro.att Subject: Re: physical format on pc6300 hard disk Message-ID: <405@inuxh.UUCP> Date: Thu, 13-Mar-86 22:45:51 EST Article-I.D.: inuxh.405 Posted: Thu Mar 13 22:45:51 1986 Date-Received: Sat, 15-Mar-86 02:31:47 EST References: <411@mhuxi.UUCP> Organization: AT&T Consumer Products, Indianapolis Lines: 32 Xref: watmath net.micro.pc:7398 net.micro.att:990 > Does anyone know how to do a physical format on the AT&T PC6300 hard disk? > I would like to use the hard disk in another pc (Leading Edge PC) but > I have been unable to get the Leading Edge to acknowledge the existance > of the hard disk. I thought that a physical format run on the > Leading Edge might fix that. > > Thanks in advance. > > Vern Bradner (ihnp4!mhuxi!v1b) Brad- Try the following BASIC program. It stuffs the right values in the DTC controller's registers and tells the controller to do the format. The program inself runs in less than a second, but the drive will be busy awhile. The program was from a PC Tech Journal some time back, and also works on IBMs. Bob Rindfuss AT&T Consumer Products ihnp4!inuxc!inuxh!rdr 70 out &h322, &h1 'get adapters attention 80 out &h320, &h4 '(B0) class = 0; opcode = fmt drv 90 out &h320, &h0 '(B1) drive 0 (c:), head 0 100 '[use &H20 for drive 1 (d:)] 110 out &h320, &h0 '(B2 & B3) start @ cylinder 0 120 out &h320, &h0 'sector 0 and format entire disk 130 out &h320, &h6 '(B4) interleave factor = 6 140 out &h320, &h0 '(B5) reread on ECC, default type 150 end