home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.whtech.com
/
ftp.whtech.com.7z
/
ftp.whtech.com
/
datasheets and manuals
/
Hardware
/
WHT
/
scsi
/
dsr_sources_2_2001
/
alot
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS
UTF-8
Wrap
Text File
|
2006-10-19
|
371 b
|
24 lines
**
*
* I do this so much I decided to make it a subroutine. If
* I were a real stud, I'd use a macro and the RAG assembler.
*
**
* Input
* R7 = AU
* R6 = SCSI ID
*
* Output
* R7,R8 = SCSI Sector
* R1 = Sector buffer pointer
*
ALOT LDCR @B04,4
MOV R6,R3
SRL R3,8
SLA R3,1
MPY @SAUTBL(R3),R7
LDCR @ZERO,4
RT