beautypg.com

Figure5.1 scripts overview, Scripts overview – Avago Technologies LSI53C876E User Manual

Page 195

background image

High Level SCSI SCRIPTS Mode

5-5

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

LSI53C876

SCSI

Bus

Write DSP

Fetch

SCRIPTS

Data

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

S

y

s

t

e

m

B

u

s