Download ^2 PCOMM32PRO ^1 SOFTWARE REFERENCE MANUAL

Transcript
PCOMM32PRO
dwDevice
Device number.
bufnum
Which of the two rotary buffers (i.e. 0 or 1) to reference.
Return Values
None
PmacDPRRotBuf()
long
PmacDPRRotBuf(DWORD dwDevice,BOOL onoff);
Once initialized with PmacDPRRotBufChange(), the PmacDPRotBuf() function can be used to enable or
disable the rotary buffer (if onoff = 1 then enable if 0 then disable). The return value is a Boolean,
TRUE for enabled, FALSE for disabled.
Internally, this routine sets I57 to the appropriate value, and also issues an “Open Rot” for non-Turbo
PMACs or “Open Bin Rot” for Turbo PMACs.
Arguments
dwDevice
Device number.
onoff
Boolean value, Use 1 (ON) or 0 (OFF).
Return Values
1 = Active, 0 = Non-Active
Dual Ported RAM Binary Rotary Buffer Functions
85