beautypg.com

Figure5.1 scripts overview, Scripts overview, Figure 5.1 – Avago Technologies LSI53C1010R User Manual

Page 252

background image

5-4

SCSI SCRIPTS Instruction Set

Version 2.2

Copyright © 2000–2003 by LSI Logic Corporation. All rights reserved.

Figure 5.1

SCRIPTS Overview

System Processor

System Memory

(or Internal RAM)

SCSI Initiator Write Example

select ATN0, alt_addr

move 1, identify_msg_buf, when MSG_OUT
move 6, cmd_buf, when CMD
move 512, data_buf, when DATA_OUT
move 1, stat_in_buf, when STATUS
move 1, msg_in_buf, when MSG_IN
move SCNTL2 & 7F to SCNTL2

clear ACK
wait disconnect alt2
int 10

Data Structure

Message Buffer
Command Buffer
Data Buffer
Status Buffer

LSI53C1010R

SCSI

Bus

Write DSP

Fetch

SCRIPTS

Data

(Data is not fetched across system bus if
internal RAM is enabled.)

System

Bus