Commodore Amiga A500 Technical Reference Manual page 181

Hide thumbs Also See for Amiga A500:
Table of Contents

Advertisement

COMMAND
DESCRIPTION
Read Drive Status(Class
0, Opcode 0)
Restore (Class 0,
Opcode 1)
All commands executed by the HDC are summarized in the table be-
low. Fields of the command block not specified are don't cares. Fol-
lowing this summary is a generalized description of the commands.
Table 5-6. Command Summary
Command
Class
Description
Opcod
Read Drive Status
00
Restore to TKO
01
Request Status
03
Check Trk Fmt
05
Format Track
06
Read Drive
08
Write Drive
0A
Seek
0B
Set Drive Param. 0C
Change Command
0F
Block Address/
Read Drive Long
E5
Write Drive Long E6
Init Unit 1
CC
R = 0 Retries/ECC enable
= 1 Retries/ECC disabled
L = Logical Sector Address
Read Drive Status (RDS) = 02, 03, 04, 20, 32
Illegal Disk Access (IDA) = 20, 21, 22, 32
Read Sector Error (RDE) = 11, 12, 13, 14, 15
Action
Read the drive's status and determine if drive is ready. For Hard
disk drives supporting buffered seeks this command is useful for
determining the first drive to reach its target track. The command
will be aborted, if the drive status read is incorrect
Possible Error Codes
No error, invalid command, seek in progress, drive not ready, write
fault, DMA error.
Action
178
LUN
LADD
Int/
Control
Num
(21)
BCNT
Options
0-1
0-1
0-1
0-1
L
0-1
L
B
0-1
L
B
R, S RDE, RDS, IDA
0-1
L
B
R, S 15,19,RDS,IDA
0-1
L
0-1
0-1
L
B
R, S RDE, RDS, IDA
0-1
L
B
R, S 15,19,RDS,IDA
1
S = 0 Set correction span to 5 bits
= 1 Set correction span to 11 bits
B = Block or sector count required
Possible
Error Codes
RDS
06, RDS
Last Oper.
R
RDE, RDS, IDA
S
IDA
RDS, IDA
20, 32
20, 32
20, 32

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Amiga a2000

Table of Contents