Ciprico Rimfire 3880 User Manual

Page 11

Advertising
background image

User’s Guide

21020285 D

Table of Contents

Page vii

Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4 - 2

What the Adapter must accomplish . . . . . . . . . . . . . . . . . . . . . .

4 - 3

The Base Parameter Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4 - 4

Parameter Block Format . . . . . . . . . . . . . . . . . . . . . . . . . . .

4 - 4

Command Identifier . . . . . . . . . . . . . . . . . . . . . . . . . . .

4 - 4

Command Options, Addresses, and Transfer Count . . .

4 - 5

Command Descriptor Block . . . . . . . . . . . . . . . . . . . . .

4 - 5

The Base Status Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4 - 6

Status Block Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4 - 6

Flags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4 - 6

Multiple Status Blocks. . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4 - 8

Setting up Unit Options. . . . . . . . . . . . . . . . . . . . . . . . .

4 - 8

Single Command Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4 - 9

Format of Single Command Structure . . . . . . . . . . . . . . . . .

4 - 9

Parameter Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4 - 9

Reserved Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4 - 9

Interrupt. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4 - 10

Using a Single Command Structure . . . . . . . . . . . . . . . . . . . . . .

4 - 11

Set-up the Structure in memory . . . . . . . . . . . . . . . . . . . . . .

4 - 11

Prepare the Hardware Ports . . . . . . . . . . . . . . . . . . . . . . . . .

4 - 11

Execute the Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4 - 11

Determine Command Completion . . . . . . . . . . . . . . . . . . . .

4 - 11

Some Example Single Commands . . . . . . . . . . . . . . . . . . . . . . .

4 - 12

Example 1: Start Command List Board-control command .

4 - 12

Command Identifier = 822F4H . . . . . . . . . . . . . . . . . . .

4 - 12

Address Modifier = 3DH . . . . . . . . . . . . . . . . . . . . . . .

4 - 12

ID = FFH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4 - 12

Command List Memory Address = 99450H . . . . . . . . .

4 - 13

Interrupt = 0300H . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4 - 13

Command = 01H . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4 - 13

Example 2:Inquiry Pass-through Command . . . . . . . . . . . .

4 - 15

Command List Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4 - 18

Format of Command List Structure . . . . . . . . . . . . . . . . . . .

4 - 18

Description of the Fields . . . . . . . . . . . . . . . . . . . . . . . . . . .

4 - 18

Parameter Block IN Index. . . . . . . . . . . . . . . . . . . . . . .

4 - 18

Parameter Block OUT Index. . . . . . . . . . . . . . . . . . . . .

4 - 18

Status Block IN Index . . . . . . . . . . . . . . . . . . . . . . . . . .

4 - 18

Status Block OUT Index . . . . . . . . . . . . . . . . . . . . . . . .

4 - 19

Number of Parameter Blocks . . . . . . . . . . . . . . . . . . . .

4 - 19

Number of Status Blocks . . . . . . . . . . . . . . . . . . . . . . .

4 - 19

Parameter Block Space . . . . . . . . . . . . . . . . . . . . . . . . .

4 - 19

Status Block Space . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4 - 19

Creating the Command List Structure . . . . . . . . . . . . . . . . . . . .

4 - 20

Using a Command List Structure . . . . . . . . . . . . . . . . . . . . . . . .

4 - 21

Advertising