Specifications
Operating System Routines
IOC$ALOTCMAP_DMA, IOC$ALOTCMAP_DMAN
IOC$ALOTCMAP_DMA, IOC$ALOTCMAP_DMAN
Allocate a set of TURBOchannel DMA map registers.
Module
[DRIVER]TCDMA_PTA
Input
Inputs for both routines follow:
Location Contents
CRB$L_INTD+
VEC$L_ADP
Address of ADP
ADP$W_MRNREGARY
ADP$W_MRFREGARY
ADP$L_MRACTMDRS
Map register descriptor arrays
For IOC$ALOTCMAP_DMA only
R5 Address of UCB
UCB$W_CRB Address of CRB
UCB$W_BCNT Transfer byte count
UCB$W_BOFF Byte offset to start of transfer in first page
For IOC$ALOTCMAP_DMAN only
R1 Address of the map register descriptor (TC_MD)
R2 Address of ADP
R3 Number of map registers to be allocated
Output
Outputs for both routines follow:
Location Contents
R0 SS$_NORMAL or SS$_INSFMAPREG
R2 Address of ADP
ADP$W_MRNREGARY
ADP$W_MRFREGARY
ADP$L_MRACTMDRS
Updated
For IOC$ALOTCMAP_DMA only
R1 Destroyed
CRB$L_INTD+
VEC$B_NUMREG
Number of map registers allocated
CRB$L_INTD+
VEC$W_MAPREG
Starting map register number
For IOC$ALOTCMAP_DMAN only
R1 Address of the map register descriptor (TC_MD)
3–73