home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 2.0 Beta / Quicktime 2.0 Beta.iso / Programming Stuff / Interfaces / Universal Interfaces / ROMDefs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-01-30  |  3.8 KB  |  94 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        ROMDefs.h
  3.  
  4.     Copyright:    © 1984-1993 by Apple Computer, Inc., all rights reserved.
  5.  
  6.     WARNING
  7.     This file was auto generated by the interfacer tool. Modifications
  8.     must be made to the master file.
  9.  
  10. */
  11.  
  12. #ifndef __ROMDEFS__
  13. #define __ROMDEFS__
  14.  
  15. enum  {
  16.     appleFormat                    = 1,                            /*Format of Declaration Data (IEEE will assign real value)*/
  17.     romRevision                    = 1,                            /*Revision of Declaration Data Format*/
  18.     testPattern                    = 1519594439,                    /*FHeader long word test pattern*/
  19.     sCodeRev                    = 2,                            /*Revision of code (For sExec)*/
  20.     sCPU68000                    = 1,                            /*CPU type = 68000*/
  21.     sCPU68020                    = 2,                            /*CPU type = 68020*/
  22.     sCPU68030                    = 3,                            /*CPU type = 68030*/
  23.     sCPU68040                    = 4,                            /*CPU type = 68040*/
  24.     sMacOS68000                    = 1,                            /*Mac OS, CPU type = 68000*/
  25.     sMacOS68020                    = 2,                            /*Mac OS, CPU type = 68020*/
  26.     sMacOS68030                    = 3,                            /*Mac OS, CPU type = 68030*/
  27.     sMacOS68040                    = 4,                            /*Mac OS, CPU type = 68040*/
  28.     board                        = 0,                            /*Board sResource - Required on all boards*/
  29.     displayVideoAppleTFB        = 16843009,                        /*Video with Apple parameters for TFB card.*/
  30.     displayVideoAppleGM            = 16843010,                        /*Video with Apple parameters for GM card.*/
  31.     networkEtherNetApple3Com    = 33620225,                        /*Ethernet with apple parameters for 3-Comm card.*/
  32.     testSimpleAppleAny            = -2147417856,                    /*A simple test sResource.*/
  33.     endOfList                    = 255,                            /*End of list*/
  34.     defaultTO                    = 100,                            /*100 retries.*/
  35.     sRsrcType                    = 1                                /*Type of sResource*/
  36. };
  37.  
  38. enum  {
  39.     sRsrcName                    = 2,                            /*Name of sResource*/
  40.     sRsrcIcon                    = 3,                            /*Icon*/
  41.     sRsrcDrvrDir                = 4,                            /*Driver directory*/
  42.     sRsrcLoadDir                = 5,                            /*Load directory*/
  43.     sRsrcBootRec                = 6,                            /*sBoot record*/
  44.     sRsrcFlags                    = 7,                            /*sResource Flags*/
  45.     sRsrcHWDevId                = 8,                            /*Hardware Device Id*/
  46.     minorBaseOS                    = 10,                            /*Offset to base of sResource in minor space.*/
  47.     minorLength                    = 11,                            /*Length of sResource’s address space in standard slot space.*/
  48.     majorBaseOS                    = 12,                            /*Offset to base of sResource in Major space.*/
  49.     majorLength                    = 13,                            /*Length of sResource in super slot space.*/
  50.     sRsrccicn                    = 15,                            /*Color icon*/
  51.     sRsrcicl8                    = 16,                            /*8-bit (indexed) icon*/
  52.     sRsrcicl4                    = 17,                            /*4-bit (indexed) icon*/
  53.     sGammaDir                    = 64,                            /*sGamma directory*/
  54.     sDRVRDir                    = 16,                            /*sDriver directory*/
  55.     drSwApple                    = 1,                            /*To ask for or define an Apple-compatible SW device.*/
  56.     drHwTFB                        = 1,                            /*HW ID for the TFB (original Mac II) video card.*/
  57.     drHw3Com                    = 1,                            /*HW ID for the Apple EtherTalk card.*/
  58.     drHwBSC                        = 3
  59. };
  60.  
  61. enum  {
  62.     catBoard                    = 1,                            /*Category for board types.*/
  63.     catTest                        = 2,                            /*Category for test types -- not used much.*/
  64.     catDisplay                    = 3,                            /*Category for display (video) cards.*/
  65.     catNetwork                    = 4,                            /*Category for Networking cards.*/
  66.     boardId                        = 32,                            /*Board Id*/
  67.     pRAMInitData                = 33,                            /*sPRAM init data*/
  68.     primaryInit                    = 34,                            /*Primary init record*/
  69.     timeOutConst                = 35,                            /*Time out constant*/
  70.     vendorInfo                    = 36,                            /*Vendor information List. See Vendor List, below*/
  71.     boardFlags                    = 37,                            /*Board Flags*/
  72.     secondaryInit                = 38,                            /*Secondary init record/code*/
  73.     sRsrcVidNames                = 65,                            /*Video mode name directory*/
  74.     vendorId                    = 1,                            /*Vendor Id*/
  75.     serialNum                    = 2,                            /*Serial number*/
  76.     revLevel                    = 3,                            /*Revision level*/
  77.     partNum                        = 4,                            /*Part number*/
  78.     date                        = 5,                            /*Last revision date of the card*/
  79.     typeBoard                    = 0,                            /*Type for board types.*/
  80.     typeApple                    = 1,
  81.     typeVideo                    = 1                                /*Type for video types.*/
  82. };
  83.  
  84. enum  {
  85.     typeEtherNet                = 1,                            /*Type for ethernet types.*/
  86.     testByte                    = 32,                            /*Test byte.*/
  87.     testWord                    = 33,                            /*0021*/
  88.     testLong                    = 34,                            /*Test Long.*/
  89.     testString                    = 35                            /*Test String.*/
  90. };
  91.  
  92. #endif
  93.  
  94.