
6.2.2Logical address
(1)CHS mode
Logical address assignment starts from physical cylinder (PC) 0, physical head (PH) 0, and physical sector (PS) 1 and is assigned by calculating the number of sectors per track which is specified by the INITIALIZE DEVICE PARAMETERS command. The head address is advanced at the subsequent sector from the last sector of the current physical head address. The first physical sector of the subsequent physical sector is the consecutive logical sector from the last sector of the current physical sector.
Figure 6.5 shows an example (assuming there is no track skew).
Physical sector |
|
|
|
|
|
|
|
|
|
|
| |||
1 | 2 | 3 | 62 | 63 | 64 | 126 | 127 |
|
|
| ||||
Physical cylinder 0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LS1 |
|
|
|
|
|
| LS | LS1 | LS | LS1 |
|
|
| |
|
|
|
|
|
|
|
|
|
| |||||
Physical head 0 |
|
|
|
|
|
| 63 | 63 |
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||
|
|
|
|
|
|
|
|
|
| |||||
|
|
|
| LH0 |
| LH1 |
| LH2 | ||||||
Physical sector |
|
|
|
|
|
|
|
|
|
|
|
249 250
LS LS
6062
LH3
| 1 | 2 |
|
|
Physical cylinder 1 | LS | LS1 |
|
|
|
| |||
Physical head 0 | 63 |
|
|
|
|
|
|
| |
|
|
|
|
|
LH3 |
|
| LH4 | |
ex: Zone 0 |
|
|
|
|
64 | 65 |
|
| ||
|
| LS | LS1 | LS2 |
|
|
| 63 |
|
|
|
|
|
|
|
|
|
LH5
Physical parameter
– Physical sector: 1 to 250
Specification of INITIALIZE DEVICE PARAMETERS command
–Logical head: LH = 0 to 15
–Logical sector: LS = 1 to 63
Figure 6.5 Address translation (example in CHS mode)
6 - 7 |