SoftcardUtil.mesa
Copyright Ó 1987 by Xerox Corporation. All rights reserved.
written by Ch. Le Cocq, October 10, 1988
Christian Le Cocq November 1, 1988 2:09:41 pm PST
Low level communication between CP (6085 mesa processor) and Sparc, assuming Big [Big Endian] byte order (hh, hl, lh, ll) which is not the PrincOps CARD32 byte order (lh, ll, hh, hl).
DIRECTORY
SoftcardBDVM;
SoftcardUtil: DEFINITIONS
~ BEGIN
Address is the physical address (hopefully within the softcard backdoor range, but nobody checks).
Address: TYPE ~ SoftcardBDVM.Address;
Error: ERROR;
FillZones: PROC [base: Address, len: CARD32, w: UNSPECIFIED ← 0];
GetCard32: PROC [base: Address] RETURNS [val: CARD32];
PutCard32: PROC [base: Address, val: CARD32];
CopyTo: PROC [from: REF TEXT, start, len: CARD32, base: Address];
CopyFrom: PROC [to: REF TEXT, start, len: CARD32, base: Address];
END.