XBus.mesa
Copyright © 1985 by Xerox Corporation. All rights reserved.
by Jim Gasbarro April 8, 1985 9:49:48 am PST
Last Edited by: Gasbarro, April 18, 1986 11:45:16 am PST
DIRECTORY
XOps USING [aReadL, aReadM, aWriteL, aWriteM],
PrincOps USING [zMISC];
XBus: CEDAR DEFINITIONS =
BEGIN
pcMode: BOOL; --TRUE for Busmaster to IBM-PC bus. FALSE for Busmaster to Multibus.
IORead: PROC [add: LONG POINTER] RETURNS [data: WORD];
IOWrite: PROC [add: LONG POINTER, data: WORD];
MemRead: PROC [add: LONG POINTER] RETURNS [data: WORD];
MemWrite: PROC [add: LONG POINTER, data: WORD];
PCRefreshOn: PROC [];
These routines manipulate registers on the XBus interface card. You shouldn't need to use them.
ReadL: PROC [add: POINTER] RETURNS [WORD] = TRUSTED MACHINE CODE {PrincOps.zMISC, XOps.aReadL};
ReadM: PROC [add: POINTER] RETURNS [WORD] = TRUSTED MACHINE CODE {PrincOps.zMISC, XOps.aReadM};
WriteL: PROC [add: POINTER, data: WORD] = TRUSTED MACHINE CODE {PrincOps.zMISC, XOps.aWriteL};
WriteM: PROC [add: POINTER, data: WORD] = TRUSTED MACHINE CODE {PrincOps.zMISC, XOps.aWriteM};
END.