DR11WFace.mesa
Copyright Ó 1989, 1991 by Xerox Corporation. All rights reserved.
Dave Rumph, April 17, 1989 1:34:51 am PST
PCedar1.2 Face for the Ikon DR11W interface, model 10089. Currently implemented on only on Suns.
DR11WFace: CEDAR DEFINITIONS
~ BEGIN
Initialize: PROC RETURNS [ok: BOOL];
Do whatever setup is required before the DR11W port can be accessed.
Finalize: PROC;
Do whatever shutdown is required after the DR11W port access is done.
Ready: PROC RETURNS [ready: BOOL];
Reset: PROC;
Reset the interface.
function1: WORD16 ~ 2;
function2: WORD16 ~ 4;
function3: WORD16 ~ 8;
AddToControl: PROC [flags: WORD16 ¬ 0];
Add some bits into the control register. See above for some useful ones.
AddToControlOnWrite: PROC [flags: WORD16 ¬ 0];
Add some bits into the control register. See above for some useful ones.
ClearFromControl: PROC [flags: WORD16 ¬ 0];
Add some bits into the control register. See above for some useful ones.
ClearFromControlOnWrite: PROC [flags: WORD16 ¬ 0];
Add some bits into the control register. See above for some useful ones.
SendOneWord: PROC [data: WORD16] RETURNS [ok: BOOL];
Sends one 16-bit word to the interface, and wait for completion.
BufferAddress: TYPE = LONG POINTER;
SendBuffer: PROC [addr: BufferAddress, bytes: CARD] RETURNS [ok: BOOL];
Send bytes-length data starting at addr. It waits 'til the transfer is finished before returning.
Abort: PROC;
Try to abort the transfer of data to the interface.
END.