Mac OS 9
ROMDefs.h File Reference

NuBus card ROM Definitions. More...

Go to the source code of this file.

Enumerations

enum  {
  appleFormat = 1 , romRevision = 1 , romRevRange = 9 , testPattern = 1519594439L ,
  sCodeRev = 2 , sExec2 = 2 , sCPU68000 = 1 , sCPU68020 = 2 ,
  sCPU68030 = 3 , sCPU68040 = 4 , sMacOS68000 = 1 , sMacOS68020 = 2 ,
  sMacOS68030 = 3 , sMacOS68040 = 4 , board = 0 , displayVideoAppleTFB ,
  displayVideoAppleGM = 16843010L , networkEtherNetApple3Com , testSimpleAppleAny = -2147417856L , endOfList = 255 ,
  defaultTO = 100
}
 
enum  { fOpenAtStart = 1 , f32BitMode = 2 }
 
enum  {
  sRsrcType = 1 , sRsrcName = 2 , sRsrcIcon = 3 , sRsrcDrvrDir = 4 ,
  sRsrcLoadDir = 5 , sRsrcBootRec = 6 , sRsrcFlags = 7 , sRsrcHWDevId = 8 ,
  minorBaseOS = 10 , minorLength , majorBaseOS = 12 , majorLength = 13 ,
  sRsrcTest = 14 , sRsrccicn = 15 , sRsrcicl8 = 16 , sRsrcicl4 = 17 ,
  sDRVRDir = 16 , sGammaDir = 64 , sRsrcVidNames = 65 , sRsrcDock = 80 ,
  sDiagRec = 85 , sVidAuxParams , sDebugger = 124 , sVidAttributes = 125 ,
  fLCDScreen = 0 , fBuiltInDisplay , fDefaultColor , fActiveBlack = 3 ,
  fDimMinAt1 , fBuiltInDetach , sVidParmDir = 126 , sBkltParmDir = 140 ,
  stdBkltTblSize = 36 , sSuperDir = 254
}
 
enum  {
  catBoard = 0x0001 , catTest = 0x0002 , catDisplay = 0x0003 , catNetwork = 0x0004 ,
  catScanner = 0x0008 , catCPU = 0x000A , catIntBus = 0x000C , catProto = 0x0011 ,
  catDock = 0x0020 , typeBoard = 0x0000 , typeApple = 0x0001 , typeVideo = 0x0001 ,
  typeEtherNet = 0x0001 , typeStation = 0x0001 , typeDesk = 0x0002 , typeTravel = 0x0003 ,
  typeDSP = 0x0004 , typeXPT = 0x000B , typeSIM = 0x000C , typeDebugger = 0x0100 ,
  type68000 = 0x0002 , type68020 = 0x0003 , type68030 = 0x0004 , type68040 = 0x0005 ,
  type601 = 0x0025 , type603 = 0x002E , typeAppleII = 0x0015 , drSwMacCPU = 0 ,
  drSwAppleIIe = 0x0001 , drSwApple = 1 , drSwMacsBug = 0x0104 , drSwDepewEngineering = 0x0101 ,
  drHwTFB = 1 , drHw3Com = 1 , drHwBSC = 3 , drHwGemini = 1 ,
  drHwDeskBar = 1 , drHwHooperDock , drHwATT3210 = 0x0001 , drHwBootBug = 0x0100 ,
  drHwMicroDock = 0x0100 , drHwSTB3 = 0x0002 , drHwSTB , drHwRBV = 0x0018 ,
  drHwJMFB = 0x0019 , drHwElsie = 0x001A , drHwTim = 0x001B , drHwDAFB = 0x001C ,
  drHwDolphin = 0x001D , drHwGSC = 0x001E , drHwDAFBPDS = 0x001F , drHWVSC = 0x0020 ,
  drHwApollo = 0x0021 , drHwSonora = 0x0022 , drHwReserved2 = 0x0023 , drHwColumbia = 0x0024 ,
  drHwCivic = 0x0025 , drHwBrazil = 0x0026 , drHWPBLCD = 0x0027 , drHWCSC = 0x0028 ,
  drHwJET = 0x0029 , drHWMEMCjr = 0x002A , drHwBoogie = 0x002B , drHwHPV = 0x002C ,
  drHwPlanaria = 0x002D , drHwValkyrie = 0x002E , drHwKeystone = 0x002F , drHWATI = 0x0055 ,
  drHwGammaFormula = 0x0056 , drHwSonic = 0x0110 , drHwMace = 0x0114 , drHwDblExp = 0x0001 ,
  MIIBoardId = 0x0010 , ciVidBoardID = 0x001F , CX16VidBoardID = 0x0020 , MIIxBoardId = 0x0021 ,
  SE30BoardID = 0x0022 , MIIcxBoardId = 0x0023 , MIIfxBoardId = 0x0024 , EricksonBoardID = 0x0028 ,
  ElsieBoardID = 0x0029 , TIMBoardID = 0x002A , EclipseBoardID = 0x002B , SpikeBoardID = 0x0033 ,
  DBLiteBoardID = 0x0035 , ZydecoBrdID = 0x0036 , ApolloBoardID = 0x0038 , PDMBrdID = 0x0039 ,
  VailBoardID = 0x003A , WombatBrdID = 0x003B , ColumbiaBrdID = 0x003C , CycloneBrdID = 0x003D ,
  CompanionBrdID = 0x003E , DartanianBoardID = 0x0040 , DartExtVidBoardID = 0x0046 , HookBoardID = 0x0047 ,
  EscherBoardID = 0x004A , POBoardID = 0x004D , TempestBrdID = 0x0050 , BlackBirdBdID = 0x0058 ,
  BBExtVidBdID = 0x0059 , YeagerBoardID = 0x005A , BBEtherNetBdID = 0x005E , TELLBoardID = 0x0065 ,
  MalcolmBoardID = 0x065E , AJBoardID = 0x065F , M2BoardID = 0x0660 , OmegaBoardID = 0x0661 ,
  TNTBoardID = 0x0670 , HooperBoardID = 0x06CD , BoardIDDblExp = 0x002F , DAFBPDSBoardID = 0x0037 ,
  MonetBoardID = 0x0048 , SacSONIC16BoardID = 0x004E , SacSONIC32BoardID , drHWMacII = 0x0001 ,
  drHwMacIIx = 0x0002 , drHWSE30 = 0x0003 , drHwMacIIcx = 0x0004 , drHWMacIIfx = 0x0005 ,
  drHWF19 = 0x0005 , sBlockTransferInfo = 20 , sMaxLockedTransferCount = 21 , boardId = 32 ,
  pRAMInitData = 33 , primaryInit = 34 , timeOutConst = 35 , vendorInfo = 36 ,
  boardFlags = 37 , secondaryInit = 38 , MajRAMSp = 129 , MinROMSp = 130 ,
  vendorId = 1 , serialNum = 2 , revLevel = 3 , partNum = 4 ,
  date = 5
}
 
enum  { testByte = 32 , testWord = 33 , testLong = 34 , testString = 35 }
 
enum  { mBlockTransferInfo = 5 , mMaxLockedTransferCount = 6 }
 

Detailed Description

NuBus card ROM Definitions.

Introduced In: System 7.5
Avaliable From: Universal Interfaces 3.4.1
Copyright: © 1986-2001 by Apple Computer, Inc., all rights reserved

For bug reports, consult the following page on the World Wide Web:

http://developer.apple.com/bugreporter/

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
romRevision 

Format of Declaration Data (IEEE will assign real value)

romRevRange 

Revision of Declaration Data Format

testPattern 

Revision of Declaration Data Format [1..9]

sCodeRev 

FHeader long word test pattern

sExec2 

Revision of code (For sExec)

sCPU68020 

CPU type = 68000

sCPU68030 

CPU type = 68020

sCPU68040 

CPU type = 68030

sMacOS68000 

CPU type = 68040

sMacOS68020 

Mac OS, CPU type = 68000

sMacOS68030 

Mac OS, CPU type = 68020

sMacOS68040 

Mac OS, CPU type = 68030

board 

Mac OS, CPU type = 68040

displayVideoAppleTFB 

Board sResource - Required on all boards

displayVideoAppleGM 

Video with Apple parameters for TFB card.

networkEtherNetApple3Com 

Video with Apple parameters for GM card.

testSimpleAppleAny 

Ethernet with apple parameters for 3-Comm card.

endOfList 

A simple test sResource.

defaultTO 

End of list

◆ anonymous enum

anonymous enum
Enumerator
fOpenAtStart 

sResource flags for sRsrc_Flags

f32BitMode 

set => open the driver at start time, else do not

◆ anonymous enum

anonymous enum
Enumerator
sRsrcName 

Type of sResource

sRsrcIcon 

Name of sResource

sRsrcDrvrDir 

Icon

sRsrcLoadDir 

Driver directory

sRsrcBootRec 

Load directory

sRsrcFlags 

sBoot record

sRsrcHWDevId 

sResource Flags

minorBaseOS 

Hardware Device Id

minorLength 

Offset to base of sResource in minor space.

majorBaseOS 

Length of sResource©s address space in standard slot space.

majorLength 

Offset to base of sResource in Major space.

sRsrcTest 

Length of sResource in super slot space.

sRsrccicn 

sBlock diagnostic code

sRsrcicl8 

Color icon

sRsrcicl4 

8-bit (indexed) icon

sDRVRDir 

4-bit (indexed) icon

sGammaDir 

sDriver directory

sRsrcVidNames 

sGamma directory

sRsrcDock 

Video mode name directory

sDiagRec 

spID for Docking Handlers

sVidAuxParams 

spID for board diagnostics

sDebugger 

more video info for Display Manager – timing information

sVidAttributes 

DatLstEntry for debuggers indicating video anamolies

fLCDScreen 

video attributes data field (optional,word)

fBuiltInDisplay 

bit 0 - when set is LCD, else is CRT

fDefaultColor 

1 - when set is built-in (in the box) display, else not

fActiveBlack 

2 - when set display prefers multi-bit color, else gray

fDimMinAt1 

3 - when set black on display must be written, else display is naturally black

fBuiltInDetach 

4 - when set should dim backlight to level 1 instead of 0

sVidParmDir 

4 - when set is built-in (in the box), but detaches

stdBkltTblSize 

directory of backlight tables

sSuperDir 

size of ©standard© 0..31-entry backlight table

◆ anonymous enum

anonymous enum

=======================================================================
sResource types
=======================================================================

Enumerator
catTest 

Category for board types.

catDisplay 

Category for test types – not used much.

catNetwork 

Category for display (video) cards.

catScanner 

Category for Networking cards.

catCPU 

scanners bring in data somehow

catDock 

Type>

drSwMacCPU 

Driver Interface : <id.SW>

drSwMacsBug 

To ask for or define an Apple-compatible SW device.

drHwTFB 

Driver Interface : <id.SW><id.HW>

drHw3Com 

HW ID for the TFB (original Mac II) video card.

drHwBSC 

HW ID for the Apple EtherTalk card.

drHwATT3210 

Hooper©s CatDock,TypeDesk,DrSwApple ID; registered with DTS.

drHwSTB3 

video hardware id's - <catDisplay><typVideo>

drHwSTB 

Assigned by Kevin Mellander for STB-3 hardware.

drHwRBV 

(Both STB-3 and STB-4 share the same video hardware.)

drHwJMFB 

IIci Aurora25/16 hw ID

drHwElsie 

4©8/8©24 NuBus card

drHwGSC 

8©24GC NuBus card

drHwDAFBPDS 

(Renamed from GSC drHWDBLite)

drHwHPV 

8©24AC nuBus video card (built by Radius)

drHwPlanaria 

High performance Video (HPV) PDS card for original PowerMacs

drHwValkyrie 

PowerMac 6100/7100/8100 PDS AV video

drHwSonic 

Use for gType of display mgr gamma tables other drHW id's for built-in functions

MIIBoardId 

CPU board IDs - <catBoard> <typBoard> <0000> <0000>

ciVidBoardID 

Mac II Board ID

CX16VidBoardID 

Aurora25 board ID

MIIxBoardId 

Aurora16 board ID

SE30BoardID 

Mac IIx Board ID

MIIcxBoardId 

Mac SE/30 Board ID

MIIfxBoardId 

Mac IIcx Board ID

EricksonBoardID 

F19 board ID

EscherBoardID 

Hook internal video board ID

POBoardID 

Board ID for Escher (CSC)

TempestBrdID 

Board ID for Primus/Optimus/Aladdin

BlackBirdBdID 

Non-official Board ID for Tempest

BBExtVidBdID 

Board ID for BlackBird

YeagerBoardID 

Board ID for BlackBird built-in external video

BBEtherNetBdID 

Board ID for Yeager

TELLBoardID 

Board ID for BlackBird Ethernet board

MalcolmBoardID 

Board ID for TELL (Valkyrie)

AJBoardID 

Board ID for Malcolm

M2BoardID 

Board ID for AJ

OmegaBoardID 

Board ID for M2

TNTBoardID 

Board ID for Omega

HooperBoardID 

Board ID for TNT/Alchemy/Hipclipper CPUs (did Nano just make this up?)

BoardIDDblExp 

Board ID for Hooper other board IDs

drHWMacII 

CPU board types - <CatCPU> <Typ680x0> <DrSwMacCPU>

drHwMacIIx 

Mac II hw ID

drHWSE30 

Mac IIx hw ID

drHwMacIIcx 

Mac SE/30 hw ID

drHWMacIIfx 

Mac IIcx hw ID

drHWF19 

Mac IIfx hw ID

sBlockTransferInfo 

F19 hw ID

sMaxLockedTransferCount 

general slot block xfer info

boardId 

slot max. locked xfer count

pRAMInitData 

Board Id

primaryInit 

sPRAM init data

timeOutConst 

Primary init record

vendorInfo 

Time out constant

boardFlags 

Vendor information List. See Vendor List, below

secondaryInit 

Board Flags

MajRAMSp 

Secondary init record/code The following Id's are associated with all CPU sResources.

MinROMSp 

ID of Major RAM space.

vendorId 

ID of Minor ROM space.

serialNum 

Vendor Id

revLevel 

Serial number

partNum 

Revision level

date 

Part number

◆ anonymous enum

anonymous enum
Enumerator
testWord 

Test byte.

testLong 

0021

testString 

Test Long.

◆ anonymous enum

anonymous enum

sResource List. Category: Display Type: Video The following Id's are common to all Mode sResources in Display_Video functional sResources.

Enumerator
mMaxLockedTransferCount 

slot block xfer info PER MODE