home *** CD-ROM | disk | FTP | other *** search
/ Borland Programmer's Resource / Borland_Programmers_Resource_CD_1995.iso / utils / miro100 / oemsetup.inf < prev    next >
Encoding:
INI File  |  1995-05-19  |  24.2 KB  |  441 lines

  1. ;****************************************************************************
  2. ; Name          : OEMSETUP.INF
  3. ; Project       : miro.plus high-speed drivers
  4. ; Function      : driver installation script file
  5. ; (C) 1994 by   : miro Computer Products AG
  6. ;               : Carl-Miele-Str. 4, D-38112 Braunschweig
  7. ;****************************************************************************/
  8.  
  9. [Identification]
  10.     OptionType = VIDEO
  11.  
  12. [LanguagesSupported]
  13.     ENG
  14.  
  15. [Identify]
  16.     read-syms Identification
  17.     set Status     = STATUS_SUCCESSFUL
  18.     set Identifier = $(OptionType)
  19.     set Media      = #("Source Media Descriptions", 1, 1)
  20.     Return $(Status) $(Identifier) $(Media)
  21.  
  22. [ReturnOptions]
  23.     set Status        = STATUS_FAILED
  24.     set OptionList     = {}
  25.     set OptionTextList = {}
  26.     set LanguageList = ^(LanguagesSupported, 1)
  27.     Ifcontains(i) $($0) in $(LanguageList)
  28.         goto returnoptions
  29.     else
  30.         set Status = STATUS_NOLANGUAGE
  31.         goto finish_ReturnOptions
  32.     endif
  33. returnoptions = +
  34.     set OptionList     = ^(Options, 0)
  35.     set OptionTextList = ^(OptionsText$($0), 1)
  36.     set Status         = STATUS_SUCCESSFUL
  37. finish_ReturnOptions = +
  38.     Return $(Status) $(OptionList) $(OptionTextList)
  39.  
  40. [ServicesEntry]
  41.     CurrentEntry = "" ? $(!LIBHANDLE) GetDevicemapValue Video \Device\Video0
  42.  
  43. [InstallOption]
  44.     set Status       = STATUS_FAILED
  45.     set DrivesToFree = {}
  46.     Debug-Output "We are entering Install Option here."
  47.     set Option   = $($1)
  48.     set SrcDir   = $($2)
  49.     set AddCopy  = $($3)
  50.     set DoCopy   = $($4)
  51.     set DoConfig = $($5)
  52.     set LanguageList = ^(LanguagesSupported, 1)
  53.     Ifcontains(i) $($0) in $(LanguageList)
  54.     else
  55.         set Status = STATUS_NOLANGUAGE
  56.         goto finish_InstallOption
  57.     endif
  58.     read-syms Strings$($0)
  59.     set OptionList = ^(Options, 0)
  60.     ifcontains $(Option) in $(OptionList)
  61.     else
  62.         goto finish_InstallOption
  63.     endif
  64.     set OptionList = ""
  65.     set MiniportDriver    = #(Options, $(Option), 1)
  66.     set BitsPerPel        = #(Options, $(Option), 2)
  67.     set XResolution       = #(Options, $(Option), 3)
  68.     set YResolution       = #(Options, $(Option), 4)
  69.     set VRefresh          = #(Options, $(Option), 5)
  70.     set Interlaced        = #(Options, $(Option), 6)
  71.     set Type              = $(#(MiniportDrivers, $(MiniportDriver), 1))
  72.     set Group             =   #(MiniportDrivers, $(MiniportDriver), 2)
  73.     set ErrorControl      = $(#(MiniportDrivers, $(MiniportDriver), 3))
  74.     set Tag               =   #(MiniportDrivers, $(MiniportDriver), 4)
  75.     set InstalledDisplays =   #(MiniportDrivers, $(MiniportDriver), 5)
  76.     set VgaCompatible     =   #(MiniportDrivers, $(MiniportDriver), 6)
  77.     set EventMessageFile  =   #(MiniportDrivers, $(MiniportDriver), 7)
  78.     set TypesSupported    =   #(MiniportDrivers, $(MiniportDriver), 8)
  79.     read-syms ServicesEntry
  80.     detect    ServicesEntry
  81. installtheoption = +
  82.     ifstr(i) $(AddCopy) == "YES"
  83.         set DoActualCopy = NO
  84.         set FileToCheck = #(Files-DisplayMiniportDrivers, $(MiniportDriver), 2)
  85.         LibraryProcedure STATUS,$(!LIBHANDLE),CheckFileExistance $(!STF_WINDOWSSYSPATH)"\drivers\"$(FileToCheck)
  86.         ifstr(i) $(STATUS) == NO
  87.             set DoActualCopy = YES
  88.             goto addfiles
  89.         endif
  90.         ForListDo $(InstalledDisplays)
  91.             set FileToCheck = #(Files-DisplayDLLs, $($), 2)
  92.             LibraryProcedure STATUS,$(!LIBHANDLE),CheckFileExistance $(!STF_WINDOWSSYSPATH)"\"$(FileToCheck)
  93.             ifstr(i) $(STATUS) == NO
  94.                 set DoActualCopy = YES
  95.             endif
  96.         EndForListDo
  97. addfiles = +
  98.         ifstr(i) $(DoActualCopy) == NO
  99.             shell "subroutn.inf" DriversExist $($0) $(String1)
  100.             ifint $($ShellCode) != $(!SHELL_CODE_OK)
  101.                 Debug-Output "OEMSETUP.INF: shelling DriversExist failed"
  102.                 goto finish_InstallOption
  103.             endif
  104.             ifstr(i) $($R0) == STATUS_CURRENT
  105.             else-ifstr(i) $($R0) == STATUS_NEW
  106.                 set DoActualCopy = YES
  107.             else-ifstr(i) $($R0) == STATUS_USERCANCEL
  108.                 Debug-Output "OEMSETUP.INF: User cancelled video installation"
  109.                 goto finish_InstallOption
  110.             else
  111.                 Debug-Output "OEMSETUP.INF: Error reported in DriversExist routine in SUBROUTN.INF"
  112.                 goto finish_InstallOption
  113.             endif
  114.         endif
  115.         ifstr(i) $(DoActualCopy) == YES
  116.             shell "subroutn.inf" DoAskSourceEx $(SrcDir) $(String2)
  117.             ifint $($ShellCode) != $(!SHELL_CODE_OK)
  118.                 Debug-Output "OEMSETUP.INF: shelling DoAskSourceEx failed"
  119.                 goto finish_InstallOption
  120.             endif
  121.             ifstr(i) $($R0) == STATUS_SUCCESSFUL
  122.                 set SrcDir = $($R1)
  123.                 ifstr(i) $($R2) != ""
  124.                     set DrivesToFree = >($(DrivesToFree), $($R2))
  125.                 endif
  126.             else
  127.                 Debug-Output "OEMSETUP.INF: User cancelled asking source."
  128.                 goto finish_InstallOption
  129.             endif
  130.             install Install-AddCopyOption
  131.             ifstr(i) $(STF_INSTALL_OUTCOME) != "STF_SUCCESS"
  132.                 Debug-Output "OEMSETUP.INF: Adding video files to copy list failed"
  133.                 goto finish_InstallOption
  134.             endif
  135.         else
  136.             set DoCopy = NO
  137.         endif
  138.     endif
  139.     ifstr(i) $(DoCopy) == "YES"
  140.         read-syms ProgressCopy$($0)
  141.         install Install-DoCopyOption
  142.         ifstr(i) $(STF_INSTALL_OUTCOME) == "STF_FAILURE"
  143.             Debug-Output "Copying files failed"
  144.             goto finish_InstallOption
  145.         else-ifstr(i) $(STF_INSTALL_OUTCOME) == "STF_USERQUIT"
  146.             set Status = STATUS_USERCANCEL
  147.             goto finish_InstallOption
  148.         endif
  149.     endif
  150.     ifstr(i) $(DoConfig) == "YES"
  151.         shell "registry.inf" CheckSetupModify
  152.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  153.             goto finish_InstallOption
  154.         endif
  155.         ifstr(i) $($R0) != STATUS_SUCCESSFUL
  156.             goto finish_InstallOption
  157.         endif
  158.         set ServiceNode   = $(MiniportDriver)
  159.         set ServiceBinary = %SystemRoot%\System32\drivers\#(Files-DisplayMiniportDrivers, $(MiniportDriver), 2)
  160.         set ServicesValues   = { +
  161.                 {Type,           0, $(!REG_VT_DWORD),     $(Type)                  }, +
  162.                 {Start,          0, $(!REG_VT_DWORD),     $(!SERVICE_SYSTEM_START) }, +
  163.                 {Group,          0, $(!REG_VT_SZ),        $(Group)                 }, +
  164.                 {ErrorControl,   0, $(!REG_VT_DWORD),     $(ErrorControl)          }, +
  165.                 {Tag,            0, $(!REG_VT_DWORD),     $(Tag)                   }, +
  166.                 {BinaryPathName, 0, $(!REG_VT_EXPAND_SZ), $(ServiceBinary)         }  +
  167.                 }
  168.         set ParametersValues = { +
  169.                 {InstalledDisplayDrivers,     0, $(!REG_VT_MULTI_SZ), $(InstalledDisplays) }, +
  170.                 {VgaCompatible,               0, $(!REG_VT_DWORD),    $(VgaCompatible)     }, +
  171.                 {DefaultSettings.BitsPerPel,  0, $(!REG_VT_DWORD),    $(BitsPerPel)        }, +
  172.                 {DefaultSettings.VRefresh,    0, $(!REG_VT_DWORD),    $(VRefresh)          }, +
  173.                 {DefaultSettings.Interlaced,  0, $(!REG_VT_DWORD),    $(Interlaced)        }, +
  174.                 {DefaultSettings.XResolution, 0, $(!REG_VT_DWORD),    $(XResolution)       }, +
  175.                 {DefaultSettings.YResolution, 0, $(!REG_VT_DWORD),    $(YResolution)       }  +
  176.                 }
  177.         ifstr(i) $(VRefresh) != ""
  178.             set VRefreshValue = {DefaultSettings.VRefresh, 0, $(!REG_VT_DWORD), $(VRefresh)}
  179.             set ParametersValue = >($(ParametersValue), $(VRefreshValue))
  180.         endif
  181.         ifstr(i) $(Interlaced) != ""
  182.             set InterlacedValue = {DefaultSettings.Interlaced, 0, $(!REG_VT_DWORD), $(Interlaced)}
  183.             set ParametersValue = >($(ParametersValue), $(InterlacedValue))
  184.         endif
  185.         set DeviceValues     = {}
  186.         set EventLogValues   = { +
  187.                 {EventMessageFile, 0, $(!REG_VT_EXPAND_SZ), $(EventMessageFile) }, +
  188.                 {TypesSupported,   0, $(!REG_VT_DWORD),     $(TypesSupported)   }  +
  189.                 }
  190.         shell "registry.inf"  MakeServicesEntry $(ServiceNode)      +
  191.                                                 $(ServicesValues)   +
  192.                                                 $(ParametersValues) +
  193.                                                 $(DeviceValues)     +
  194.                                                 $(EventLogValues)   +
  195.                                                 Device0
  196.         ifint $($ShellCode) != $(!SHELL_CODE_OK)
  197.             Debug-Output "Couldn't execute MakeServicesEntry in registry.inf"
  198.             goto finish_InstallOption
  199.         endif
  200.         ifstr(i) $($R0) != STATUS_SUCCESSFUL
  201.             Debug-Output "MakeServicesEntry failed for video"
  202.             goto finish_InstallOption
  203.         endif
  204.         ifstr(i) $(CurrentEntry) != $(MiniportDriver)
  205.             ifstr(i) $(CurrentEntry) != VGA
  206.                 ifstr(i) $(CurrentEntry) != ""
  207.                     shell "registry.inf" ModifyServicesEntry $(CurrentEntry) $(!SERVICE_DISABLED)
  208.                     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  209.                         Debug-Output "Couldn't find DisableServicesEntry in registry.inf"
  210.                         goto errorconfig
  211.                     endif
  212.                     ifstr(i) $($R0) != STATUS_SUCCESSFUL
  213.                         Debug-Output "DisableServices entry failed"
  214.                     endif
  215.                 endif
  216.             endif
  217.         endif
  218.         goto configdone
  219. errorconfig = +
  220.         ifstr(i) $(CurrentEntry) != $(MiniportDriver)
  221.             shell "registry.inf" ModifyServicesEntry $(MiniportDriver) $(!SERVICE_DISABLED)
  222.             ifstr(i) $(CurrentEntry) != ""
  223.                 shell "registry.inf" ModifyServicesEntry $(CurrentEntry) $(!SERVICE_SYSTEM_START)
  224.             endif
  225.         endif
  226.         goto finish_InstallOption
  227. configdone = +
  228.     endif
  229.     set Status = STATUS_SUCCESSFUL
  230. finish_InstallOption = +
  231.     ForListDo $(DrivesToFree)
  232.         LibraryProcedure STATUS,$(!LIBHANDLE), DeleteNetConnection $($) "TRUE"
  233.     EndForListDo
  234.     Return $(Status)
  235.  
  236. [Install-AddCopyOption]
  237.     set STF_VITAL = ""
  238.     AddSectionKeyFileToCopyList   Files-DisplayMiniportDrivers   +
  239.                                   $(MiniportDriver)              +
  240.                                   $(SrcDir)                      +
  241.                                   $(!STF_WINDOWSSYSPATH)\drivers
  242.     ForListDo $(InstalledDisplays)
  243.         AddSectionKeyFileToCopyList   Files-DisplayDLLs          +
  244.                                       $($)                       +
  245.                                       $(SrcDir)                  +
  246.                                       $(!STF_WINDOWSSYSPATH)
  247.     EndForListDo
  248.     exit
  249.  
  250. [Install-DoCopyOption]
  251.     CopyFilesInCopyList
  252.     exit
  253.  
  254. [ProgressCopyENG]
  255.     ProCaption   = "Windows NT Setup"
  256.     ProCancel    = "Cancel"
  257.     ProCancelMsg = "Windows NT is not correcly installed.  Are you sure you want "+
  258.                    "to cancel copying files?"
  259.     ProCancelCap = "Setup Message"
  260.     ProText1     = "Copying:"
  261.     ProText2     = "To:"
  262.  
  263. [StringsENG]
  264.     String1 = "Display"
  265.     String2 = "Please enter the full path to the miro.plus "+
  266.               "high-speed drivers files. Then choose Continue."
  267.  
  268. [Source Media Descriptions]
  269. 1 = "miro.plus high-speed drivers setup disk #1.00", TAGFILE = miro100
  270.  
  271. [OptionsTextENG]
  272. "miroCRYSTAL 40SV 640x480x8x60"    = "miroCRYSTAL 40SV #1.00  640 x  480, 256 col., 60Hz"
  273. "miroCRYSTAL 40SV 640x480x8x75"    = "miroCRYSTAL 40SV #1.00  640 x  480, 256 col., 75Hz"
  274. "miroCRYSTAL 40SV 800x600x8x60"    = "miroCRYSTAL 40SV #1.00  800 x  600, 256 col., 60Hz"
  275. "miroCRYSTAL 40SV 800x600x8x75"    = "miroCRYSTAL 40SV #1.00  800 x  600, 256 col., 75Hz"
  276. "miroCRYSTAL 40SV 1024x768x8x60"   = "miroCRYSTAL 40SV #1.00 1024 x  768, 256 col., 60Hz"
  277. "miroCRYSTAL 40SV 1024x768x8x75"   = "miroCRYSTAL 40SV #1.00 1024 x  768, 256 col., 75Hz"
  278. "miroCRYSTAL 40SV 1280x1024x8x60"  = "miroCRYSTAL 40SV #1.00 1280 x 1024, 256 col., 60Hz"
  279. "miroCRYSTAL 40SV 1280x1024x8x75"  = "miroCRYSTAL 40SV #1.00 1280 x 1024, 256 col., 75Hz"
  280. "miroCRYSTAL 40SV 1408x1024x8x60"  = "miroCRYSTAL 40SV #1.00 1408 x 1024, 256 col., 60Hz"
  281. "miroCRYSTAL 40SV 1408x1024x8x75"  = "miroCRYSTAL 40SV #1.00 1408 x 1024, 256 col., 75Hz"
  282. "miroCRYSTAL 40SV 640x480x16x60"   = "miroCRYSTAL 40SV #1.00  640 x  480, 65k col., 60Hz"
  283. "miroCRYSTAL 40SV 640x480x16x75"   = "miroCRYSTAL 40SV #1.00  640 x  480, 65k col., 75Hz"
  284. "miroCRYSTAL 40SV 800x600x16x60"   = "miroCRYSTAL 40SV #1.00  800 x  600, 65k col., 60Hz"
  285. "miroCRYSTAL 40SV 800x600x16x75"   = "miroCRYSTAL 40SV #1.00  800 x  600, 65k col., 75Hz"
  286. "miroCRYSTAL 40SV 1024x768x16x60"  = "miroCRYSTAL 40SV #1.00 1024 x  768, 65k col., 60Hz"
  287. "miroCRYSTAL 40SV 1024x768x16x75"  = "miroCRYSTAL 40SV #1.00 1024 x  768, 65k col., 75Hz"
  288. "miroCRYSTAL 40SV 1280x1024x16x60" = "miroCRYSTAL 40SV #1.00 1280 x 1024, 65k col., 60Hz"
  289. "miroCRYSTAL 40SV 1280x1024x16x75" = "miroCRYSTAL 40SV #1.00 1280 x 1024, 65k col., 75Hz"
  290. "miroCRYSTAL 40SV 1408x1024x16x60" = "miroCRYSTAL 40SV #1.00 1408 x 1024, 65k col., 60Hz"
  291. "miroCRYSTAL 40SV 1408x1024x16x70" = "miroCRYSTAL 40SV #1.00 1408 x 1024, 65k col., 70Hz"
  292. "miroCRYSTAL 40SV 640x480x32x60"   = "miroCRYSTAL 40SV #1.00  640 x  480, 16M col., 60Hz"
  293. "miroCRYSTAL 40SV 640x480x32x75"   = "miroCRYSTAL 40SV #1.00  640 x  480, 16M col., 75Hz"
  294. "miroCRYSTAL 40SV 800x600x32x60"   = "miroCRYSTAL 40SV #1.00  800 x  600, 16M col., 60Hz"
  295. "miroCRYSTAL 40SV 800x600x32x75"   = "miroCRYSTAL 40SV #1.00  800 x  600, 16M col., 75Hz"
  296. "miroCRYSTAL 40SV 1024x768x32x60"  = "miroCRYSTAL 40SV #1.00 1024 x  768, 16M col., 60Hz"
  297. "miroCRYSTAL 40SV 1024x768x32x75"  = "miroCRYSTAL 40SV #1.00 1024 x  768, 16M col., 75Hz"
  298.  
  299. "miroCRYSTAL 20SV 640x480x8x60"    = "miroCRYSTAL 20SV #1.00  640 x  480, 256 col., 60Hz"
  300. "miroCRYSTAL 20SV 640x480x8x75"    = "miroCRYSTAL 20SV #1.00  640 x  480, 256 col., 75Hz"
  301. "miroCRYSTAL 20SV 800x600x8x60"    = "miroCRYSTAL 20SV #1.00  800 x  600, 256 col., 60Hz"
  302. "miroCRYSTAL 20SV 800x600x8x75"    = "miroCRYSTAL 20SV #1.00  800 x  600, 256 col., 75Hz"
  303. "miroCRYSTAL 20SV 1024x768x8x60"   = "miroCRYSTAL 20SV #1.00 1024 x  768, 256 col., 60Hz"
  304. "miroCRYSTAL 20SV 1024x768x8x75"   = "miroCRYSTAL 20SV #1.00 1024 x  768, 256 col., 75Hz"
  305. "miroCRYSTAL 20SV 1280x1024x8x60"  = "miroCRYSTAL 20SV #1.00 1280 x 1024, 256 col., 60Hz"
  306. "miroCRYSTAL 20SV 1280x1024x8x75"  = "miroCRYSTAL 20SV #1.00 1280 x 1024, 256 col., 75Hz"
  307. "miroCRYSTAL 20SV 1408x1024x8x60"  = "miroCRYSTAL 20SV #1.00 1408 x 1024, 256 col., 60Hz"
  308. "miroCRYSTAL 20SV 1408x1024x8x75"  = "miroCRYSTAL 20SV #1.00 1408 x 1024, 256 col., 75Hz"
  309. "miroCRYSTAL 20SV 640x480x16x60"   = "miroCRYSTAL 20SV #1.00  640 x  480, 65k col., 60Hz"
  310. "miroCRYSTAL 20SV 640x480x16x75"   = "miroCRYSTAL 20SV #1.00  640 x  480, 65k col., 75Hz"
  311. "miroCRYSTAL 20SV 800x600x16x60"   = "miroCRYSTAL 20SV #1.00  800 x  600, 65k col., 60Hz"
  312. "miroCRYSTAL 20SV 800x600x16x75"   = "miroCRYSTAL 20SV #1.00  800 x  600, 65k col., 75Hz"
  313. "miroCRYSTAL 20SV 1024x768x16x60"  = "miroCRYSTAL 20SV #1.00 1024 x  768, 65k col., 60Hz"
  314. "miroCRYSTAL 20SV 1024x768x16x75"  = "miroCRYSTAL 20SV #1.00 1024 x  768, 65k col., 75Hz"
  315. "miroCRYSTAL 20SV 640x480x32x60"   = "miroCRYSTAL 20SV #1.00  640 x  480, 16M col., 60Hz"
  316. "miroCRYSTAL 20SV 640x480x32x75"   = "miroCRYSTAL 20SV #1.00  640 x  480, 16M col., 75Hz"
  317. "miroCRYSTAL 20SV 800x600x32x60"   = "miroCRYSTAL 20SV #1.00  800 x  600, 16M col., 60Hz"
  318. "miroCRYSTAL 20SV 800x600x32x75"   = "miroCRYSTAL 20SV #1.00  800 x  600, 16M col., 75Hz"
  319.  
  320. "miroCRYSTAL 20SD 640x480x8x60"    = "miroCRYSTAL 20SD #1.00  640 x  480, 256 col., 60Hz"
  321. "miroCRYSTAL 20SD 640x480x8x75"    = "miroCRYSTAL 20SD #1.00  640 x  480, 256 col., 75Hz"
  322. "miroCRYSTAL 20SD 800x600x8x60"    = "miroCRYSTAL 20SD #1.00  800 x  600, 256 col., 60Hz"
  323. "miroCRYSTAL 20SD 800x600x8x75"    = "miroCRYSTAL 20SD #1.00  800 x  600, 256 col., 75Hz"
  324. "miroCRYSTAL 20SD 1024x768x8x60"   = "miroCRYSTAL 20SD #1.00 1024 x  768, 256 col., 60Hz"
  325. "miroCRYSTAL 20SD 1024x768x8x75"   = "miroCRYSTAL 20SD #1.00 1024 x  768, 256 col., 75Hz"
  326. "miroCRYSTAL 20SD 1280x1024x8x60"  = "miroCRYSTAL 20SD #1.00 1280 x 1024, 256 col., 60Hz"
  327. "miroCRYSTAL 20SD 1280x1024x8x75"  = "miroCRYSTAL 20SD #1.00 1280 x 1024, 256 col., 75Hz"
  328. "miroCRYSTAL 20SD 640x480x16x60"   = "miroCRYSTAL 20SD #1.00  640 x  480, 65k col., 60Hz"
  329. "miroCRYSTAL 20SD 640x480x16x75"   = "miroCRYSTAL 20SD #1.00  640 x  480, 65k col., 75Hz"
  330. "miroCRYSTAL 20SD 800x600x16x60"   = "miroCRYSTAL 20SD #1.00  800 x  600, 65k col., 60Hz"
  331. "miroCRYSTAL 20SD 800x600x16x75"   = "miroCRYSTAL 20SD #1.00  800 x  600, 65k col., 75Hz"
  332. "miroCRYSTAL 20SD 1024x768x16x60"  = "miroCRYSTAL 20SD #1.00 1024 x  768, 65k col., 60Hz"
  333. "miroCRYSTAL 20SD 1024x768x16x75"  = "miroCRYSTAL 20SD #1.00 1024 x  768, 65k col., 75Hz"
  334. "miroCRYSTAL 20SD 640x480x32x60"   = "miroCRYSTAL 20SD #1.00  640 x  480, 16M col., 60Hz"
  335. "miroCRYSTAL 20SD 640x480x32x75"   = "miroCRYSTAL 20SD #1.00  640 x  480, 16M col., 75Hz"
  336. "miroCRYSTAL 20SD 800x600x32x60"   = "miroCRYSTAL 20SD #1.00  800 x  600, 16M col., 60Hz"
  337. "miroCRYSTAL 20SD 800x600x32x75"   = "miroCRYSTAL 20SD #1.00  800 x  600, 16M col., 75Hz"
  338.  
  339. "miroCRYSTAL 10SD 640x480x8x60"    = "miroCRYSTAL 10SD #1.00  640 x  480, 256 col., 60Hz"
  340. "miroCRYSTAL 10SD 640x480x8x72"    = "miroCRYSTAL 10SD #1.00  640 x  480, 256 col., 72Hz"
  341. "miroCRYSTAL 10SD 800x600x8x60"    = "miroCRYSTAL 10SD #1.00  800 x  600, 256 col., 60Hz"
  342. "miroCRYSTAL 10SD 800x600x8x72"    = "miroCRYSTAL 10SD #1.00  800 x  600, 256 col., 72Hz"
  343. "miroCRYSTAL 10SD 1024x768x8x60"   = "miroCRYSTAL 10SD #1.00 1024 x  768, 256 col., 60Hz"
  344. "miroCRYSTAL 10SD 1024x768x8x70"   = "miroCRYSTAL 10SD #1.00 1024 x  768, 256 col., 70Hz"
  345. "miroCRYSTAL 10SD 1024x768x8x87"   = "miroCRYSTAL 10SD #1.00 1024 x  768, 256 col., 87Hz(i)"
  346. "miroCRYSTAL 10SD 1280x1024x8x60"  = "miroCRYSTAL 10SD #1.00 1280 x 1024, 256 col., 60Hz"
  347. "miroCRYSTAL 10SD 1280x1024x8x87"  = "miroCRYSTAL 10SD #1.00 1280 x 1024, 256 col., 87Hz(i)"
  348.  
  349. [Options]
  350. "miroCRYSTAL 40SV 640x480x8x60"    = miro8BPP,       8,  640,  480, 60 , 0
  351. "miroCRYSTAL 40SV 640x480x8x75"    = miro8BPP,       8,  640,  480, 75 , 0
  352. "miroCRYSTAL 40SV 800x600x8x60"    = miro8BPP,       8,  800,  600, 60 , 0
  353. "miroCRYSTAL 40SV 800x600x8x75"    = miro8BPP,       8,  800,  600, 75 , 0
  354. "miroCRYSTAL 40SV 1024x768x8x60"   = miro8BPP,       8, 1024,  768, 60 , 0
  355. "miroCRYSTAL 40SV 1024x768x8x75"   = miro8BPP,       8, 1024,  768, 75 , 0
  356. "miroCRYSTAL 40SV 1280x1024x8x60"  = miro8BPP,       8, 1280, 1024, 60 , 0
  357. "miroCRYSTAL 40SV 1280x1024x8x75"  = miro8BPP,       8, 1280, 1024, 75 , 0
  358. "miroCRYSTAL 40SV 1408x1024x8x60"  = miro8BPP,       8, 1408, 1024, 60 , 0
  359. "miroCRYSTAL 40SV 1408x1024x8x70"  = miro8BPP,       8, 1408, 1024, 70 , 0
  360. "miroCRYSTAL 40SV 640x480x16x60"   = miroFlatModel, 16,  640,  480, 60 , 0
  361. "miroCRYSTAL 40SV 640x480x16x75"   = miroFlatModel, 16,  640,  480, 75 , 0
  362. "miroCRYSTAL 40SV 800x600x16x60"   = miroFlatModel, 16,  800,  600, 60 , 0
  363. "miroCRYSTAL 40SV 800x600x16x75"   = miroFlatModel, 16,  800,  600, 75 , 0
  364. "miroCRYSTAL 40SV 1024x768x16x60"  = miroFlatModel, 16, 1024,  768, 60 , 0
  365. "miroCRYSTAL 40SV 1024x768x16x75"  = miroFlatModel, 16, 1024,  768, 75 , 0
  366. "miroCRYSTAL 40SV 1280x1024x16x60" = miroFlatModel, 16, 1280, 1024, 60 , 0
  367. "miroCRYSTAL 40SV 1280x1024x16x75" = miroFlatModel, 16, 1280, 1024, 75 , 0
  368. "miroCRYSTAL 40SV 1408x1024x16x60" = miroFlatModel, 16, 1408, 1024, 60 , 0
  369. "miroCRYSTAL 40SV 1408x1024x16x70" = miroFlatModel, 16, 1408, 1024, 70 , 0
  370. "miroCRYSTAL 40SV 640x480x32x60"   = miroFlatModel, 32,  640,  480, 60 , 0
  371. "miroCRYSTAL 40SV 640x480x32x75"   = miroFlatModel, 32,  640,  480, 75 , 0
  372. "miroCRYSTAL 40SV 800x600x32x60"   = miroFlatModel, 32,  800,  600, 60 , 0
  373. "miroCRYSTAL 40SV 800x600x32x75"   = miroFlatModel, 32,  800,  600, 75 , 0
  374. "miroCRYSTAL 40SV 1024x768x32x60"  = miroFlatModel, 32, 1024,  768, 60 , 0
  375. "miroCRYSTAL 40SV 1024x768x32x75"  = miroFlatModel, 32, 1024,  768, 75 , 0
  376.  
  377. "miroCRYSTAL 20SV 640x480x8x60"    = miro8BPP,       8,  640,  480, 60 , 0
  378. "miroCRYSTAL 20SV 640x480x8x75"    = miro8BPP,       8,  640,  480, 75 , 0
  379. "miroCRYSTAL 20SV 800x600x8x60"    = miro8BPP,       8,  800,  600, 60 , 0
  380. "miroCRYSTAL 20SV 800x600x8x75"    = miro8BPP,       8,  800,  600, 75 , 0
  381. "miroCRYSTAL 20SV 1024x768x8x60"   = miro8BPP,       8, 1024,  768, 60 , 0
  382. "miroCRYSTAL 20SV 1024x768x8x75"   = miro8BPP,       8, 1024,  768, 75 , 0
  383. "miroCRYSTAL 20SV 1280x1024x8x60"  = miro8BPP,       8, 1280, 1024, 60 , 0
  384. "miroCRYSTAL 20SV 1280x1024x8x75"  = miro8BPP,       8, 1280, 1024, 75 , 0
  385. "miroCRYSTAL 20SV 1408x1024x8x60"  = miro8BPP,       8, 1408, 1024, 60 , 0
  386. "miroCRYSTAL 20SV 1408x1024x8x75"  = miro8BPP,       8, 1408, 1024, 75 , 0
  387. "miroCRYSTAL 20SV 640x480x16x60"   = miroFlatModel, 16,  640,  480, 60 , 0
  388. "miroCRYSTAL 20SV 640x480x16x75"   = miroFlatModel, 16,  640,  480, 75 , 0
  389. "miroCRYSTAL 20SV 800x600x16x60"   = miroFlatModel, 16,  800,  600, 60 , 0
  390. "miroCRYSTAL 20SV 800x600x16x75"   = miroFlatModel, 16,  800,  600, 75 , 0
  391. "miroCRYSTAL 20SV 1024x768x16x60"  = miroFlatModel, 16, 1024,  768, 60 , 0
  392. "miroCRYSTAL 20SV 1024x768x16x75"  = miroFlatModel, 16, 1024,  768, 75 , 0
  393. "miroCRYSTAL 20SV 640x480x32x60"   = miroFlatModel, 32,  640,  480, 60 , 0
  394. "miroCRYSTAL 20SV 640x480x32x75"   = miroFlatModel, 32,  640,  480, 75 , 0
  395. "miroCRYSTAL 20SV 800x600x32x60"   = miroFlatModel, 32,  800,  600, 60 , 0
  396. "miroCRYSTAL 20SV 800x600x32x75"   = miroFlatModel, 32,  800,  600, 75 , 0
  397.  
  398. "miroCRYSTAL 20SD 640x480x8x60"    = miro8BPP,       8,  640,  480, 60 , 0
  399. "miroCRYSTAL 20SD 640x480x8x75"    = miro8BPP,       8,  640,  480, 75 , 0
  400. "miroCRYSTAL 20SD 800x600x8x60"    = miro8BPP,       8,  800,  600, 60 , 0
  401. "miroCRYSTAL 20SD 800x600x8x75"    = miro8BPP,       8,  800,  600, 75 , 0
  402. "miroCRYSTAL 20SD 1024x768x8x60"   = miro8BPP,       8, 1024,  768, 60 , 0
  403. "miroCRYSTAL 20SD 1024x768x8x75"   = miro8BPP,       8, 1024,  768, 75 , 0
  404. "miroCRYSTAL 20SD 1280x1024x8x60"  = miro8BPP,       8, 1280, 1024, 60 , 0
  405. "miroCRYSTAL 20SD 1280x1024x8x75"  = miro8BPP,       8, 1280, 1024, 75 , 0
  406. "miroCRYSTAL 20SD 640x480x16x60"   = miroFlatModel, 16,  640,  480, 60 , 0
  407. "miroCRYSTAL 20SD 640x480x16x75"   = miroFlatModel, 16,  640,  480, 75 , 0
  408. "miroCRYSTAL 20SD 800x600x16x60"   = miroFlatModel, 16,  800,  600, 60 , 0
  409. "miroCRYSTAL 20SD 800x600x16x75"   = miroFlatModel, 16,  800,  600, 75 , 0
  410. "miroCRYSTAL 20SD 1024x768x16x60"  = miroFlatModel, 16, 1024,  768, 60 , 0
  411. "miroCRYSTAL 20SD 1024x768x16x75"  = miroFlatModel, 16, 1024,  768, 75 , 0
  412. "miroCRYSTAL 20SD 640x480x32x60"   = miroFlatModel, 32,  640,  480, 60 , 0
  413. "miroCRYSTAL 20SD 640x480x32x75"   = miroFlatModel, 32,  640,  480, 75 , 0
  414. "miroCRYSTAL 20SD 800x600x32x60"   = miroFlatModel, 32,  800,  600, 60 , 0
  415. "miroCRYSTAL 20SD 800x600x32x75"   = miroFlatModel, 32,  800,  600, 75 , 0
  416.  
  417. "miroCRYSTAL 10SD 640x480x8x60"   = s3, 8,  640,  480, 2, 0
  418. "miroCRYSTAL 10SD 640x480x8x72"   = s3, 8,  640,  480, 3, 0
  419. "miroCRYSTAL 10SD 800x600x8x60"   = s3, 8,  800,  600, 2, 0
  420. "miroCRYSTAL 10SD 800x600x8x72"   = s3, 8,  800,  600, 3, 0
  421. "miroCRYSTAL 10SD 1024x768x8x60"  = s3, 8, 1024,  768, 2, 0
  422. "miroCRYSTAL 10SD 1024x768x8x70"  = s3, 8, 1024,  768, 3, 0
  423. "miroCRYSTAL 10SD 1024x768x8x87"  = s3, 8, 1024,  768, 1, 0
  424. "miroCRYSTAL 10SD 1280x1024x8x60" = s3, 8, 1280, 1024, 2, 0
  425. "miroCRYSTAL 10SD 1280x1024x8x87" = s3, 8, 1280, 1024, 1, 0
  426.  
  427. [MiniportDrivers]
  428. miro8BPP      = !SERVICE_KERNEL_DRIVER, Video, !SERVICE_ERROR_IGNORE, 11, {crystal},  0, "%SystemRoot%\System32\IoLogMsg.dll;%SystemRoot%\System32\Drivers\crystal.sys",  7
  429. miroFlatModel = !SERVICE_KERNEL_DRIVER, Video, !SERVICE_ERROR_IGNORE, 13, {fcrystal}, 0, "%SystemRoot%\System32\IoLogMsg.dll;%SystemRoot%\System32\Drivers\fcrystal.sys", 7
  430. s3            = !SERVICE_KERNEL_DRIVER, Video, !SERVICE_ERROR_IGNORE, 12, {s3},       0, "%SystemRoot%\System32\IoLogMsg.dll;%SystemRoot%\System32\Drivers\s3.sys",       7
  431.  
  432. [Files-DisplayDLLs]
  433. crystal       = 1, CRYSTAL.DLL  , SIZE=120000
  434. fcrystal      = 1, FCRYSTAL.DLL , SIZE=60000
  435. s3            = 1, S3.DLL       , SIZE=120000
  436.  
  437. [Files-DisplayMiniportDrivers]
  438. miro8BPP      = 1, CRYSTAL.SYS  , SIZE=40000
  439. miroFlatModel = 1, FCRYSTAL.SYS , SIZE=45000
  440. s3            = 1, S3.SYS       , SIZE=40000
  441.