/* SparcSoftcard.h created by Sherman of March 30, 1988 11:10:48 pm PST */

/* from SparcSoftcard.mob */

#include "standard.h"

/* extern CARD32 SparcSoftcard←cedarMemoryStartByteAddress; */
#define cedarMemoryStartByteAddress 0

/* extern CARD32 SparcSoftcard←cedarMemoryByteSize; */
#define cedarMemoryByteSize 2097152

/* extern CARD32 SparcSoftcard←cedarMemoryExtensionBaseByte; */
#define cedarMemoryExtensionBaseByte 1572864

/* extern CARD32 SparcSoftcard←cedarMemoryExtensionBaseWord16; */
#define cedarMemoryExtensionBaseWord16 786432

/* extern CARD32 SparcSoftcard←cedarIOBaseByte; */
#define cedarIOBaseByte 3670016

/* extern CARD32 SparcSoftcard←cedarIOBaseWord16; */
#define cedarIOBaseWord16 1835008

/* extern CARD32 SparcSoftcard←cedarBackDoorBaseByte; */
#define cedarBackDoorBaseByte 3932160

/* extern CARD32 SparcSoftcard←cedarBackDoorBaseWord16; */
#define cedarBackDoorBaseWord16 1966080

/* extern CARD32 SparcSoftcard←cedarMemoryEndByte; */
#define cedarMemoryEndByte 4194304

/* extern CARD32 SparcSoftcard←cedarMemoryEndWord16; */
#define cedarMemoryEndWord16 2097152

/* extern CARD32 SparcSoftcard←cedarMemoryExtensionSizeWord16; */
#define cedarMemoryExtensionSizeWord16 1048576

/* extern CARD32 SparcSoftcard←cedarBackDoorSizeWord16; */
#define cedarBackDoorSizeWord16 131072

/* extern CARD16 SparcSoftcard←sparcIOASI; */
#define sparcIOASI 128

/* extern CARD32 SparcSoftcard←sparcIOBaseByte; */
#define sparcIOBaseByte 3670016

/* extern CARD32 SparcSoftcard←sparcMapBaseByte; */
#define sparcMapBaseByte 0

/* extern CARD16 SparcSoftcard←softcardPageSizeByte; */
#define softcardPageSizeByte 8192

/* extern CARD16 SparcSoftcard←softcardPageSizeWord16; */
#define softcardPageSizeWord16 4096

/* extern CARD32 SparcSoftcard←mapBaseByteOffset; */
#define mapBaseByteOffset 0

/* extern CARD32 SparcSoftcard←mapBaseByte; */
#define mapBaseByte 0

/* extern CARD32 SparcSoftcard←mapWindowIndexRegisterByteOffset; */
#define mapWindowIndexRegisterByteOffset 17414

/* extern CARD32 SparcSoftcard←mapWindowIndexRegisterWord16; */
#define mapWindowIndexRegisterWord16 1843715

/* extern CARD32 SparcSoftcard←mapWindowBaseByteOffset; */
#define mapWindowBaseByteOffset 32768

/* extern CARD32 SparcSoftcard←mapWindowBaseWord16; */
#define mapWindowBaseWord16 1851392

/* extern NAT SparcSoftcard←mapEntryHighByteOffset; */
#define mapEntryHighByteOffset 6

/* extern NAT SparcSoftcard←mapEntryHighWord16Offset; */
#define mapEntryHighWord16Offset 3

/* extern NAT SparcSoftcard←mapEntryLowByteOffset; */
#define mapEntryLowByteOffset 14

/* extern NAT SparcSoftcard←mapEntryLowWord16Offset; */
#define mapEntryLowWord16Offset 7

/* extern NAT SparcSoftcard←mapEntryBytes; */
#define mapEntryBytes 32

/* extern NAT SparcSoftcard←mapEntryWord16; */
#define mapEntryWord16 32

typedef CARD16 (SparcSoftcard←MapEntry[8]);

/* extern BYTE SparcSoftcard←iOPMapWindowIndex; */
#define iOPMapWindowIndex 20

/* extern BYTE SparcSoftcard←cPMapWindowIndex; */
#define cPMapWindowIndex 21

/* extern CARD32 SparcSoftcard←iopMap; */
#define iopMap 1851392

/* extern CARD32 SparcSoftcard←cpMap; */
#define cpMap 1851392

/* extern CARD32 SparcSoftcard←iopMapHigh; */
#define iopMapHigh 1851395

/* extern CARD32 SparcSoftcard←iopMapLow; */
#define iopMapLow 1851399

/* extern CARD32 SparcSoftcard←cpMapHigh; */
#define cpMapHigh 1851395

/* extern CARD32 SparcSoftcard←cpMapLow; */
#define cpMapLow 1851399

/* extern NAT SparcSoftcard←mapEntryHighPattern; */
#define mapEntryHighPattern 0

/* extern NAT SparcSoftcard←mapEntryLowPattern; */
#define mapEntryLowPattern 0

/* extern CARD32 SparcSoftcard←tRegisterByteOffset; */
#define tRegisterByteOffset 19462

/* extern CARD32 SparcSoftcard←tRegisterWord16; */
#define tRegisterWord16 1844739

/* extern CARD32 SparcSoftcard←tRegisterAlternateWord16; */
#define tRegisterAlternateWord16 1877507

/* extern BYTE SparcSoftcard←magic; */
#define magic 90

/* extern BYTE SparcSoftcard←magicNot; */
#define magicNot 165

/* extern CARD32 SparcSoftcard←alternatePathByteOffset; */
#define alternatePathByteOffset 65536

/* extern CARD16 SparcSoftcard←commandBitMask; */
#define commandBitMask 1

typedef enum {
	Polarity←ActiveLow=0,
	Polarity←ActiveHigh=1
	} SparcSoftcard←Polarity;

/* extern SparcSoftcard←Polarity SparcSoftcard←sparcResetPolarity; */
#define sparcResetPolarity Polarity←ActiveLow

/* extern CARD32 SparcSoftcard←sparcResetRegisterByteOffset; */
#define sparcResetRegisterByteOffset 17974

/* extern CARD32 SparcSoftcard←sparcResetRegisterWord16; */
#define sparcResetRegisterWord16 1843995

/* extern SparcSoftcard←Polarity SparcSoftcard←sparcCacheEnablePolarity; */
#define sparcCacheEnablePolarity Polarity←ActiveLow

/* extern CARD32 SparcSoftcard←sparcCacheEnableRegisterByteOffset; */
#define sparcCacheEnableRegisterByteOffset 18958

/* extern CARD32 SparcSoftcard←sparcCacheEnableRegisterByte; */
#define sparcCacheEnableRegisterByte 3688974

/* extern CARD32 SparcSoftcard←sparcCacheEnableRegisterWord16; */
#define sparcCacheEnableRegisterWord16 1844487

/* extern SparcSoftcard←Polarity SparcSoftcard←dMAActivePolarity; */
#define dMAActivePolarity Polarity←ActiveHigh

/* extern CARD32 SparcSoftcard←dMAActiveRegisterByteOffset; */
#define dMAActiveRegisterByteOffset 18470

/* extern CARD32 SparcSoftcard←dMAActiveRegisterByte; */
#define dMAActiveRegisterByte 3688486

/* extern CARD32 SparcSoftcard←dMAActiveRegisterWord16; */
#define dMAActiveRegisterWord16 1844243

/* extern SparcSoftcard←Polarity SparcSoftcard←dMAMode0Polarity; */
#define dMAMode0Polarity Polarity←ActiveHigh

/* extern CARD32 SparcSoftcard←dMAMode0RegisterByteOffset; */
#define dMAMode0RegisterByteOffset 18478

/* extern CARD32 SparcSoftcard←dMAMode0RegisterByte; */
#define dMAMode0RegisterByte 3688494

/* extern CARD32 SparcSoftcard←dMAMode0RegisterWord16; */
#define dMAMode0RegisterWord16 1844247

/* extern SparcSoftcard←Polarity SparcSoftcard←dMAMode1Polarity; */
#define dMAMode1Polarity Polarity←ActiveHigh

/* extern CARD32 SparcSoftcard←dMAMode1RegisterByteOffset; */
#define dMAMode1RegisterByteOffset 18486

/* extern CARD32 SparcSoftcard←dMAMode1RegisterByte; */
#define dMAMode1RegisterByte 3688502

/* extern CARD32 SparcSoftcard←dMAMode1RegisterWord16; */
#define dMAMode1RegisterWord16 1844251

/* extern CARD32 SparcSoftcard←dMAAddressRegisterHighByteOffset; */
#define dMAAddressRegisterHighByteOffset 16390

/* extern CARD32 SparcSoftcard←dMAAddressRegisterHighByte; */
#define dMAAddressRegisterHighByte 3686406

/* extern CARD32 SparcSoftcard←dMAAddressRegisterHighWord16; */
#define dMAAddressRegisterHighWord16 1843203

/* extern CARD32 SparcSoftcard←dMAAddressRegisterLowByteOffset; */
#define dMAAddressRegisterLowByteOffset 16902

/* extern CARD32 SparcSoftcard←dMAAddressRegisterLowByte; */
#define dMAAddressRegisterLowByte 3686918

/* extern CARD32 SparcSoftcard←dMAAddressRegisterLowWord16; */
#define dMAAddressRegisterLowWord16 1843459

/* extern CARD32 SparcSoftcard←bitMapLineLengthByte; */
#define bitMapLineLengthByte 152

/* extern CARD32 SparcSoftcard←bitMapLineNumber; */
#define bitMapLineNumber 925

/* extern CARD32 SparcSoftcard←leftBorderLengthByte; */
#define leftBorderLengthByte 4

/* extern CARD32 SparcSoftcard←activeLineLengthByte; */
#define activeLineLengthByte 144

/* extern CARD32 SparcSoftcard←rightBorderLengthByte; */
#define rightBorderLengthByte 4

/* extern CARD32 SparcSoftcard←topBorderLineNumber; */
#define topBorderLineNumber 32

/* extern CARD32 SparcSoftcard←activeLineNumber; */
#define activeLineNumber 861

/* extern CARD32 SparcSoftcard←bottomBorderLineNumber; */
#define bottomBorderLineNumber 32

/* extern CARD32 SparcSoftcard←softcardMemoryBackDoorByteOffset; */
#define softcardMemoryBackDoorByteOffset 262144

/* extern CARD32 SparcSoftcard←softcardMemoryBackDoorByteAddress; */
#define softcardMemoryBackDoorByteAddress 3932160

/* extern CARD32 SparcSoftcard←softcardMemoryBackDoorWord16Address; */
#define softcardMemoryBackDoorWord16Address 1966080

/* extern NAT SparcSoftcard←softcardMemoryBackDoorStartingPage; */
#define softcardMemoryBackDoorStartingPage 480