🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #5238

Re: how BIOS addresses disk sectors

#5238
From: Andy Wilks
Date: Fri, 15 Mar 1991 03:40
19 lines
1090 bytes
Function 02, Int 13h reads sectors from the fixed disk as follows:
Input:
AH => 02h
AL => number of sectors to read
CH => Cylinder number (the low 8 bits)
CL => Cylinder number ( 2 high bits ) + Sector Number (bits 0-5)
DH => Head Number
DL => Drive Number (80h=disk1, 81h=disk2)
ES:BX => points to buffer

Output:
AH => 00h = No error
AL => number of sectors read
CF => 0=No error, 1=Error

So we can address up to 1024 cylinders of about 27 sectors each (RLL)
* 512 bytes * 64 heads(???) which allows for a lot of storage!!!

-Andy
Technical Details
Message-ID: <45632@ut-emx.uucp>
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!rutgers!usenet!ogicse!uwm.edu!spool.mu.edu!news.cs.indiana.edu!know!cs.utexas.edu!ut-emx!ccwf.cc.utexas.edu
References: <5405@umbc3.UMBC.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!rutgers!usenet!ogicse!uwm.edu!spool.mu.edu!news.cs.indiana.edu!know!cs.utexas.edu!ut-emx!ccwf.cc.utexas.edu
From: android@ccwf.cc.utexas.edu (Andy Wilks)
Newsgroups: comp.os.msdos.programmer
Subject: Re: how BIOS addresses disk sectors
Message-ID: <45632@ut-emx.uucp>
Date: 15 Mar 91 03:40:20 GMT
References: <5405@umbc3.UMBC.EDU>
Sender: news@ut-emx.uucp
Reply-To: android@ccwf.cc.utexas.edu (Andy Wilks)
Distribution: usa
Organization: The University of Texas at Austin
Lines: 19