Hitachi C4K60 Specifications - Page 126

Write Multiple EXT [39h]

Page 126 highlights

The WRITE MULTIPLE command is similar to the WRITE SECTORS command, except interrupts are not generated on every sector, but on the transfer of a block which contains the number of sectors defined by the SET MULTIPLE MODE command. The number of sectors defined by the SET MULTIPLE MODE command is transferred without intervening interrupts. DRQ qualification of the transfer is required only at the start of the data block, not on each sector. The SET MULTIPLE MODE command, which must be executed prior to the WRITE MULTIPLE command, sets the block count of sectors to be transferred. When the WRITE MULTIPLE command is issued, the Sector count Register contains the number of sectors (not the number of blocks or the block count) requested. If the number of requested sector is not evenly divisible by the block count, as many full blocks as possible are transferred, followed by a final, partial block transfer. The Partial block transfer shall be for n sectors, where n = residue of {Sector Count / (Sector Count per Block)} Disk errors encountered during WRITE MULTIPLE commands are posted after the attempted disk write of the block or partial block transferred. The write operation ends with the sector in error, regardless of the position in the block. Subsequent blocks are not transferred in the event of an error. Interrupts are generated when DRQ is set at the beginning of transfer of each block, except first block. 7.5.62. Write Multiple EXT [39h] Task File Register 7 6 5 4 3 2 1 0 Command 39h Feature Previous setting XX Current setting XX LBA High Previous setting LBA bit 47 - 40 Current setting LBA bit 23 - 16 LBA Mid Previous setting LBA bit 39 - 32 Current setting LBA bit 15 - 8 LBA Low Previous setting LBA bit 31 - 24 Current setting LBA bit 7 - 0 Sector Count Previous setting Sector Count bit 15 - 8 Current setting Sector Count bit 7 - 0 Device X 1 X DEV X X X X The WRITE MULTIPLE EXT command is similar to the WRITE SECTORS EXT command, except interrupts are not generated on every sector, but on the transfer of a block which contains the number of sectors defined by the SET MULTIPLE MODE command. The number of sectors defined by the SET MULTIPLE MODE command is transferred without intervening interrupts. DRQ qualification of the transfer is required only at the start of the data block, not on each sector. The SET MULTIPLE MODE command, which must be executed prior to the WRITE MULTIPLE EXT command, sets the block count of sectors to be transferred. When the WRITE MULTIPLE EXT command is issued, the Sector count Register contains the number of sectors (not the number of blocks or the block count) requested. If the number of requested sector is not K6610170 Rev.2 Dec 22, 2004 - 126 -

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145

K6610170
Rev.2
Dec 22, 2004
- 126 -
The WRITE MULTIPLE command is similar to the WRITE SECTORS command, except interrupts are not
generated on every sector, but on the transfer of a block which contains the number of sectors defined by
the SET MULTIPLE MODE command. The number of sectors defined by the SET MULTIPLE MODE
command is transferred without intervening interrupts. DRQ qualification of the transfer is required only at
the start of the data block, not on each sector. The SET MULTIPLE MODE command, which must be
executed prior to the WRITE MULTIPLE command, sets the block count of sectors to be transferred.
When the WRITE MULTIPLE command is issued, the Sector count Register contains the number of sectors
(not the number of blocks or the block count) requested. If the number of requested sector is not evenly
divisible by the block count, as many full blocks as possible are transferred, followed by a final, partial block
transfer. The Partial block transfer shall be for n sectors, where n = residue of {Sector Count / (Sector Count
per Block)}
Disk errors encountered during WRITE MULTIPLE commands are posted after the attempted disk write of
the block or partial block transferred. The write operation ends with the sector in error, regardless of the
position in the block. Subsequent blocks are not transferred in the event of an error. Interrupts are generated
when DRQ is set at the beginning of transfer of each block, except first block.
7.5.62. Write Multiple EXT [39h]
Task File Register
7
6
5
4
3
2
1
0
Command
39h
Feature
Previous setting
XX
Current setting
XX
LBA High
Previous setting
LBA bit 47 - 40
Current setting
LBA bit 23 - 16
LBA Mid
Previous setting
LBA bit 39 - 32
Current setting
LBA bit 15 - 8
LBA Low
Previous setting
LBA bit 31 - 24
Current setting
LBA bit 7 - 0
Sector Count
Previous setting
Sector Count bit 15 - 8
Current setting
Sector Count bit 7 - 0
Device
X
1
X
DEV
X
X
X
X
The WRITE MULTIPLE EXT command is similar to the WRITE SECTORS EXT command, except interrupts
are not generated on every sector, but on the transfer of a block which contains the number of sectors
defined by the SET MULTIPLE MODE command. The number of sectors defined by the SET MULTIPLE
MODE command is transferred without intervening interrupts. DRQ qualification of the transfer is required
only at the start of the data block, not on each sector. The SET MULTIPLE MODE command, which must be
executed prior to the WRITE MULTIPLE EXT command, sets the block count of sectors to be transferred.
When the WRITE MULTIPLE EXT command is issued, the Sector count Register contains the number of
sectors (not the number of blocks or the block count) requested. If the number of requested sector is not