🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #41496

Re: READING HD HYSICAL SECTORS

#41496
From: Allan Pratt
Date: Fri, 02 Mar 1990 19:03
23 lines
1682 bytes
cs325ec@ux1.cso.uiuc.edu writes:
> but...  Secno however,
> is an int and can not be higher than 32767 or 65535 if 
> Rwabs can handle unsigned, so how do I read sectors
> higher than those?

With the old hard disk driver, you can't.  With the new one, you can: I
believe you use a secno of -1 as a signal, and add an extra argument at
the end: the LONG sector number you want. I could be wrong.  By "new"
and "old" I mean 3.x is "new" and 2.x, 1.x or no version number at all
is "old."  Get the developer's documentation for the AHDI 3.00 Release
Notes: it has the straight scoop on this and much more.

I hope you are not assuming that a logical sector is 512 bytes; that's
no longer always the case, and people will not be able to use your tool
if you make that assumption.  Physical sectors, though, *are* always
512 bytes (as far as I know), which adds a level of complication when
you do physical-sector reads and writes.  In other words, get the docs
on this or you will probably get it wrong.

============================================
Opinions expressed above do not necessarily	-- Allan Pratt, Atari Corp.
reflect those of Atari Corp. or anyone else.	  ...ames!atari!apratt
Technical Details
Message-ID: <2066@atari.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!sol.ctr.columbia.edu!cica!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!apple!sun-barr!newstop!sun!imagen!atari!apratt
References: <16000016@ux1.cso.uiuc.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!sol.ctr.columbia.edu!cica!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!apple!sun-barr!newstop!sun!imagen!atari!apratt
From: apratt@atari.UUCP (Allan Pratt)
Newsgroups: comp.sys.atari.st
Subject: Re: READING HD HYSICAL SECTORS
Message-ID: <2066@atari.UUCP>
Date: 2 Mar 90 19:03:34 GMT
References: <16000016@ux1.cso.uiuc.edu>
Organization: Atari Corp., Sunnyvale CA
Lines: 23