kasceidea.blogg.se

How to run spinrite 6 from dos command prompt
How to run spinrite 6 from dos command prompt







how to run spinrite 6 from dos command prompt

#How to run spinrite 6 from dos command prompt Pc

New PCs in 1994 wouldn’t need this, but it was common for schools to have very old computers, and an early PC requiring PARK wouldn’t be unheard of.

how to run spinrite 6 from dos command prompt

SpinRite’s PARK waits for the user to press a key, so the user can power the computer off without pressing a key and thus ensure there’s no untoward I/O.) (In fact, this feature is what allows Roedy Green’s PARK to work too: you’d wait for the command prompt, so there’s no outstanding I/O, then run PARK, which would be loaded from disk, then run with no I/O apart from parking the heads, then either loop forever or return to the command prompt which would normally not result in any I/O either, so the heads would remain safely parked. On PCs with auto-parking heads, it was safe to wait for the DOS command prompt, and the lights to switch off: COMMAND.COM ensures that I/O is finished before it displays the command prompt (and in-memory disk caches are supposed to honour that too). You can see one such implementation in Roedy Green’s PARK which comes with source code, or in Jim Leonard’s disassembly of SpinRite’s PARK. Typically, this would attempt to move the heads past the last “official” cylinder (over an “engineering cylinder” on MFM and RLL drives), or, starting with ATs, use the landing zone specified in the BIOS drive parameter table (accessed using the vectors stored at interrupts 0x41 and 0x46).

how to run spinrite 6 from dos command prompt

So early PCs had a PARK command which would park the heads away from the disk surface. For a long time now, the arms which hold the heads have been designed to “auto-park” the heads away from the disks’ surface, or over a safe “ landing zone”, when they lose power¹, but early (up to the mid 80s) hard drives didn’t have this feature, so their heads would land on the disk surface, which could sometimes damage the surface. When power is removed, the heads no longer fly. Hard drives have read/write heads which fly above the spinning disks when the drive is powered.









How to run spinrite 6 from dos command prompt