f

#### how to get some values for LBA <-> CHS conversion?

```Hello

I am trying to apply this formula (found @
http://encyclopedia.thefreedictionary.com/CHS%20conversion):

[quote]
>From CHS to LBA
The equation to convert from CHS to LBA follows:

LBA = ( ( CYL * HPC + HEAD ) * SPT ) + SECT - 1

Where:

LBA: linear base address of the block
CYL: value of the cylinder CHS coordinate
HPC: number of heads per cylinder for the disk
SPT: number of sectors per track for the disk
SECT: value of the sector CHS coordinate
[/quote]

I have read the partition table and got these values: CYL, HEAD, SECT; how
can I get the other missing variables (SPT & HPC) ?

--
Elias

```
 0
lallous (277)
5/26/2004 5:59:27 PM
comp.lang.asm.x86 5035 articles. 0 followers.

1 Replies
3691 Views

Similar Articles

[PageSpeed] 47

```["Followup-To:" header set to comp.lang.asm.x86.]
On Wed, 26 May 2004 17:59:27 +0000 (UTC), lallous
<lallous@lgwm.org> wrote:
> Hello
>
> I am trying to apply this formula (found @
> http://encyclopedia.thefreedictionary.com/CHS%20conversion):
>
> [quote]
>>From CHS to LBA
> The equation to convert from CHS to LBA follows:
>
>
>  LBA = ( ( CYL * HPC + HEAD ) * SPT ) + SECT - 1
>
> Where:
>
>  LBA: linear base address of the block
>  CYL: value of the cylinder CHS coordinate
>  HPC: number of heads per cylinder for the disk
>  SPT: number of sectors per track for the disk
>  SECT: value of the sector CHS coordinate
> [/quote]
>
> I have read the partition table and got these values: CYL, HEAD, SECT; how
> can I get the other missing variables (SPT & HPC) ?
>
There's a BIOS call to get them, or you can just assume the standard
fictitious values of 16 heads and 63 sectors, unless you are actually
using an ancient MFM or RLL drive.  On modern drives, the actual
physical location of a sector on the disk is known only to the drive's
circuitry.

--
Somewhere, just out of sight, the unicorns are gathering.

```
 0
Bill
5/31/2004 6:01:08 PM

Similar Artilces:

>>>> GET HORNY <<<<
.. ~~~*@@@*~~~ ================================================== ================================================== ENTER HERE: >>> http://web-for-you.cn/about/get-horny <<< ================================================== ================================================== .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .....

>>>> GET EVEN <<<<
.. ~~~*@@@*~~~ ================================================== ================================================== ENTER HERE: >>> http://web-for-you.cn/about/get-even <<< ================================================== ================================================== .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ...

WANT TO GET PAID WHILE YOU SURF THE NET??<<<<<<<READ INSIDE>>>>>>>

<constant-iter-value*> <(>constant value | constant-sublist<)> how to expand this?
I sort of asked this question in another thread but I expect it was not noticed. The ARRAY statement can easily expand this type of initial value list, and I can get what I want with the following, but I don't want the WARNING: Any ideas. 1 2 %let initialValueList = 2*(1 2 3) 5*5 3(-1 40 30); 3 data _null_; 4 attrib expanded length=\$32767; 5 array _list[100] _temporary_ (&initialValueList); WARNING: Partial value initialization of the array _list. 6 do i = 1 to dim(_list) by 1 while(not missing(_list[i])); 7 expanded = trimn(expanded)||' '||p...

<<<<<<<<<<<<<The Real A.I PROBLEMS">>>>>>>>>>>>>>>>>>>>>>>>>>>
The unvierse is like a ballon with black holes and white holes picture two on each side left two right on upside down the speed and the amout of matter consumed is a direct relations ship two the size of the ballon as the ballon get bigger the gravitaion forces of the black holes increase two self balance the universe it's self fixing but as time go's on and matter moves at diffrent speed's in diffrent dementions and at diffrent rates the demnetions become unstable becasue of misplaced matter ( magnetic plasma hint hint" oppset of black matter. ( sun spots ) why is the...

<%><%><%><%>HOW TO BE FUNNY!<%><%><%><%>
You too can learn to be funny in just 7 days flat: http://www.ExpertHumor.com/HowToBeFunny.htm *** Free account sponsored by SecureIX.com *** *** Encrypt your Internet usage with a free VPN account from http://www.SecureIX.com *** ...

<%><%><%><%>HOW TO BE FUNNY!<%><%><%><%>
You too can learn to be funny in just 7 days flat: http://www.ExpertHumor.com/HowToBeFunny.htm *** Free account sponsored by SecureIX.com *** *** Encrypt your Internet usage with a free VPN account from http://www.SecureIX.com *** ...

<%><%><%><%>HOW TO BE FUNNY!<%><%><%><%>
You too can learn to be funny in just 7 days flat: http://www.ExpertHumor.com/HowToBeFunny.htm *** Free account sponsored by SecureIX.com *** *** Encrypt your Internet usage with a free VPN account from http://www.SecureIX.com *** ...

<%><%><%><%>HOW TO BE FUNNY!<%><%><%><%>
You too can learn to be funny in just 7 days flat: http://www.ExpertHumor.com/HowToBeFunny.htm *** Free account sponsored by SecureIX.com *** *** Encrypt your Internet usage with a free VPN account from http://www.SecureIX.com *** ...

<%><%><%><%>HOW TO BE FUNNY!<%><%><%><%>
You too can learn to be funny in just 7 days flat: http://www.ExpertHumor.com/HowToBeFunny.htm *** Free account sponsored by SecureIX.com *** *** Encrypt your Internet usage with a free VPN account from http://www.SecureIX.com *** ...

<%><%><%><%>HOW TO BE FUNNY!<%><%><%><%>
You too can learn to be funny in just 7 days flat: http://www.ExpertHumor.com/HowToBeFunny.htm *** Free account sponsored by SecureIX.com *** *** Encrypt your Internet usage with a free VPN account from http://www.SecureIX.com *** ...

<%><%><%><%>HOW TO BE FUNNY!<%><%><%><%>
You too can learn to be funny in just 7 days flat: http://www.ExpertHumor.com/HowToBeFunny.htm *** Free account sponsored by SecureIX.com *** *** Encrypt your Internet usage with a free VPN account from http://www.SecureIX.com *** Hi! > You too can learn to be funny in just 7 days flat: ....spamming newsgroups, though, just ISN'T funny. Even this newsgroup... Path: attbi_s22!attbi_s21!attbi_slave12!attbi_master11!wn14feed!worldnet.att.net!1 99.218.7.141!news.glorb.com!newsfeed-east.nntpserver.com!nntpserver.com!stat ler.nntpserver.com!hydra.nntpserver.com!not-for-mail From:...

<%><%><%><%>HOW TO BE FUNNY!<%><%><%><%>
You too can learn to be funny in just 7 days flat: http://www.ExpertHumor.com/HowToBeFunny.htm *** Free account sponsored by SecureIX.com *** *** Encrypt your Internet usage with a free VPN account from http://www.SecureIX.com *** Expert Spammer wrote: > You too can learn to be funny in just 7 days flat: That's funny, I saw these exact same posts on other newsgroups. ...

<%><%><%><%>HOW TO BE FUNNY!<%><%><%><%>
You too can learn to be funny in just 7 days flat: http://www.ExpertHumor.com/HowToBeFunny.htm *** Free account sponsored by SecureIX.com *** *** Encrypt your Internet usage with a free VPN account from http://www.SecureIX.com *** ...

Web resources about - how to get some values for LBA <-> CHS conversion? - comp.lang.asm.x86

Gene conversion - Wikipedia, the free encyclopedia
Gene conversion is the process by which one DNA sequence replaces a homologous sequence such that the sequences become identical after the conversion ...

Nintendo alters ‘gay conversion’ scene in new video scene
NINTENDO has altered a controversial “gay conversion” scene from a video game that’s already been released in Japan.

Zero tolerance: Andrews to crack down on gay 'conversion' therapy
The state government will attempt to crack down on so-called gay conversion therapy through a new public watchdog with the power to investigate ...

Emphasis Shifts to Conversions Over Clicks for Facebook Advertisers in Q4 2015
... with the lowest eCPC among all ad types and high CTRs. The opposite was true for link ads , however, due to advertisers’ emphasis on conversions ...

Ex-gay conversion therapists flee US, find home in Israel
Ex-gay conversion “therapy” is in retreat throughout much of the United States. Not only is momentum building to ban it on a state -by- state ...

Nintendo removes controversial “gay conversion” scene in Fire Emblem: Fates
Nintendo has altered a controversial scene for the western version of Fire Emblem: Fates , a 3DS RPG originally released in Japan last year. ...

Doro PDF printer adds color conversion, page rotation controls
Lightweight virtual PDF printer Doro has been updated with new color conversion and page rotation settings. If the default "UseDeviceIndependentColor" ...

5 Crystal Clear Translation Services That Will Boost WordPress Site Conversions
... scale. A big competitor in India or London could be targeting your local audience in Los Angeles. How Can You Increase eCommerce Conversions ...

Malaysian mother loses court battle over conversion of children to Islam
A kindergarten teacher in Malaysia is to appeal to a higher court after she lost a case challenging the conversion of all her three children ...

Andrew Cuomo announces regulations to prevent gay 'conversion therapy' - CNNPolitics.com
New York Gov. Andrew Cuomo on Saturday announced regulations to prevent "conversion therapy," a practice aimed at changing an individual's sexual ...

Resources last updated: 2/8/2016 4:07:30 AM