🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.pc
Article #8572

Hard Disk Read Program Source: OOPS!

#8572
From: brown
Date: Tue, 28 Oct 1986 22:19
28 lines
1395 bytes
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------/
Technical Details
Message-ID: <1269@nicmad.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!uwvax!astroatc!nicmad!brown
References: <1268@nicmad.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!uwvax!astroatc!nicmad!brown
From: brown@nicmad.UUCP
Newsgroups: net.micro.pc
Subject: Hard Disk Read Program Source: OOPS!
Message-ID: <1269@nicmad.UUCP>
Date: Tue, 28-Oct-86 17:19:38 EST
Article-I.D.: nicmad.1269
Posted: Tue Oct 28 17:19:38 1986
Date-Received: Tue, 28-Oct-86 21:44:13 EST
References: <1268@nicmad.UUCP>
Reply-To: brown@nicmad.UUCP (Mr. Video)
Organization: Nicolet Instrument Corp. Madison WI
Lines: 28