1 sample target operation scripts program, Figure11.1 scripts source code–comments, Sample target operation scripts program – Avago Technologies LSI53C1010 User Manual
Page 254: Scripts source code–comments
11-4
Using the SCRIPTS Processor in Target Applications
11.3.1 Sample Target Operation SCRIPTS Program
This section illustrates programming for target operation with a sample
SCRIPTS program. This program is used for testing and development of
LSI Logic SCSI products. The full text of the SCRIPTS source file and
accompanying code for target operation can be downloaded from the
LSI Logic website under OEM Development at this link:
http://www.lsilogic.com/products/techsupp/index.html
Figures
through
are sections of the code. Each figure has
supporting text.
Figure 11.1 SCRIPTS Source Code–Comments
ABSOLUTE declarations, as shown in
, are interrupts
generated by the target. The SCRIPTS processor issues interrupts to
notify the host of completed actions or to find out what action to take
next.
8xxtarg.ss
Revision 2.2 2/12/96
;
; This software was written by LSI Logic Inc. to
; develop and test new products. LSI Logic assumes
; no liability for its use. This software is released
; to the public domain to illustrate certain
; programming techniques for the LSI53C8xx chips in
; target mode.
;