/* 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