brown@nicmad.UUCP (10/29/86)
In article <1268@nicmad.UUCP> brown@nicmad.UUCP (Mr. Video) writes: >I've written a Basic program, with an assembly language interface, which >will read ANY hard disk sector. I made a minor mistake, which doesn't do any damage, just reports the wrong number of total cylinders (sometimes). On a 20MB drive, the bits returned didn't cause a problem. But, a 10MB drive goofed. Anyway, change the following lines in the DISKREAD.BAS file, after it is extracted: ' Version 1.1 October 28, 1986 VER$="Version 1.1" (The third from last line, in the READPARAM subroutine) MAXCYL% = CH%+((CL% AND &HC0)*4) ^ Fix those lines and things will be better. Sorry about the problem. Mike Brown -- ihnp4------\ harvard-\ \ Mr. Video seismo!uwvax!nicmad!brown topaz-/ / decvax------/