home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 33 VDrivers / 33-VDrivers.zip / cirrusn1.zip / CL54XX.DSP < prev    next >
Text File  |  1996-02-15  |  11KB  |  238 lines

  1. * Cirrus 5426, 5428, 5430, 5434
  2. :TITLE
  3. CIRRUS 54XX DSP
  4.  
  5. :KEY
  6. CL54XBB
  7.  
  8. :FILES :MODE=PRIMARY
  9. DLLS          %BOOTDRIVE%:
  10. PMDRV         %BOOTDRIVE%:
  11.  
  12. :FILES :MODE=PRIMARY :MODE=WINDOWS
  13. WINDRVS       %WINPATH%\SYSTEM
  14. FONTS         %WINPATH%\SYSTEM
  15.  
  16. :CONFIG :MODE=PRIMARY
  17. DEVINFO=SCR,VGA,%BOOTDRIVE%:\OS2\VIOTBL.DCP
  18. SET VIDEO_DEVICES=VIO_SVGA
  19. SET VIO_SVGA=DEVICE(BVHVGA,BVHSVGA)
  20.  
  21. :CONFIG :MODE=PRIMARY :MODE=BIDI
  22. SET VIO_SVGA=DEVICE(BVHVGA,BVHSVGA,BDBVH)
  23.  
  24. :CONFIG :MODE=PRIMARY :MODE=DOS
  25. DEVICE=%BOOTDRIVE%:\OS2\MDOS\VSVGA.SYS
  26.  
  27. :CONFIG :MODE=DUAL :MODE=DOS
  28. DEVICE=%BOOTDRIVE%:\OS2\MDOS\VSVGA.SYS
  29.  
  30. :DEL_CONFIG_LINE :MODE=PRIMARY
  31.  
  32. *:DELETING XGA LINES FOR PROTECT MODE
  33. DEVICE=%BOOTDRIVE%:\OS2\XGARING0.SYS
  34. DEVICE=%BOOTDRIVE%:\OS2\XGA.SYS
  35. BASEDEV=XGA.SYS
  36. SET VIO_XGA=DEVICE(BVHVGA,BVHXGA)
  37.  
  38. *:DELETING BGA LINES FOR PROTECT MODE
  39. DEVINFO=SCR,BGA,%BOOTDRIVE%:\OS2\VIOTBL.DCP
  40. SET VIO_8514A=DEVICE(BVHVGA,BVH8514A)
  41.  
  42. *:DELETING CGA LINES FOR PROTECT MODE
  43. DEVINFO=SCR,EGA,%BOOTDRIVE%:\OS2\VIOTBL.DCP
  44. SET VIO_CGA=DEVICE(BVHCGA)
  45.  
  46. *:DELETING EGA LINES FOR PROTECT MODE
  47. DEVINFO=SCR,EGA,%BOOTDRIVE%:\OS2\VIOTBL.DCP
  48. SET VIO_EGA=DEVICE(BVHEGA)
  49.  
  50. *:DELETING VGA LINES FOR PROTECT MODE
  51. DEVICE=%BOOTDRIVE%:\OS2\MDOS\VVGA.SYS
  52. SET VIO_VGA=DEVICE(BVHVGA)
  53.  
  54. :DEL_CONFIG_LINE :MODE=PRIMARY :MODE=DOS
  55.  
  56. *:DELETING XGA LINES FOR REAL MODE
  57. DEVICE=%BOOTDRIVE%:\OS2\MDOS\VXGA.SYS
  58.  
  59. *:DELETING BGA LINES FOR REAL MODE
  60. DEVICE=%BOOTDRIVE%:\OS2\MDOS\V8514A.SYS
  61.  
  62. *:DELETING CGA LINES FOR REAL MODE
  63. DEVICE=%BOOTDRIVE%:\OS2\MDOS\VCGA.SYS
  64.  
  65. *:DELETING EGA LINES FOR REAL MODE
  66. DEVICE=%BOOTDRIVE%:\OS2\MDOS\VEGA.SYS
  67.  
  68. *:DELETING VGA LINES FOR REAL MODE
  69. DEVICE=%BOOTDRIVE%:\OS2\MDOS\VVGA.SYS
  70.  
  71. :OS2INI :MODE=PRIMARY
  72. %BOOTDRIVE%:\OS2\INSTALL\REINSTAL.INI
  73. InstallWindow VIOADAPTERSTR 7
  74.  
  75. :OS2INI :MODE=SECONDARY
  76. %BOOTDRIVE%:\OS2\INSTALL\REINSTAL.INI
  77. InstallWindow VIOADAPTER2STR 7
  78.  
  79. :OS2INI :MODE=PRIMARY
  80. OS2.INI
  81. PM_DISPLAYDRIVERS  CIRRUS         CIRRUS
  82. PM_DISPLAYDRIVERS  CURRENTDRIVER  CIRRUS
  83. PM_DISPLAYDRIVERS  DEFAULTDRIVER  CIRRUS
  84. PM_Fonts           COURIERI
  85. PM_Fonts           HELVI
  86. PM_Fonts           TIMESI
  87.  
  88. * note graphics engine makes update to system.ini and win.ini based on
  89. * the entries below for each resolution selected in the system folder
  90. * PM_DISPLAYDRIVERS RESOLUTION_CHANGED 1 triggers graphics engine to
  91. * makes its updates during reboot.
  92.  
  93. :OS2INI :MODE=PRIMARY :MODE=WINDOWS
  94. OS2.INI
  95. PM_DISPLAYDRIVERS RESOLUTION_CHANGED 1
  96. WIN_RES_640x480x256        WIN_RES_SET    WIN_RES_WD_0
  97. WIN_RES_800x600x256        WIN_RES_SET    WIN_RES_WD_1
  98. WIN_RES_1024x768x256       WIN_RES_SET    WIN_RES_WD_2
  99. WIN_RES_1280x1024x256      WIN_RES_SET    WIN_RES_WD_3
  100.  
  101. WIN_RES_640x480x65536      WIN_RES_SET    WIN_RES_WD_4
  102. WIN_RES_800x600x65536      WIN_RES_SET    WIN_RES_WD_5
  103. WIN_RES_1024x768x65536     WIN_RES_SET    WIN_RES_WD_6
  104. WIN_RES_1280x1024x65536    WIN_RES_SET    WIN_RES_WD_7
  105.  
  106. WIN_RES_640x480x16777216   WIN_RES_SET    WIN_RES_WD_8
  107. WIN_RES_800x600x16777216   WIN_RES_SET    WIN_RES_WD_9
  108. WIN_RES_1024x768x16777216  WIN_RES_SET    WIN_RES_WD_10
  109.  
  110. WIN_RES_WD_0   1  "system.ini boot display.drv 256_1280.drv"
  111. WIN_RES_WD_0   2  "system.ini boot sdisplay.drv 256s1280.drv"
  112. WIN_RES_WD_0   3  "system.ini boot.description display.drv \"Cirrus 54xx Accelerated 640x480x256 \""
  113. WIN_RES_WD_0   4  "system.ini boot.description sdisplay.drv \"Cirrus 54xx Accelerated 640x480x256 \""
  114. WIN_RES_WD_0   5  "system.ini 256s1280.drv WidthxHeight  640x480"
  115. WIN_RES_WD_0   6  "system.ini clvga videomode 0x5f"
  116. WIN_RES_WD_0   7  "system.ini clvga logo 0"
  117. WIN_RES_WD_0   8  "system.ini boot fonts.fon vgasys.fon"
  118.  
  119. WIN_RES_WD_1   1  "system.ini boot display.drv 256_1280.drv"
  120. WIN_RES_WD_1   2  "system.ini boot sdisplay.drv 256s1280.drv"
  121. WIN_RES_WD_1   3  "system.ini boot.description display.drv \"Cirrus 54xx Accelerated 800x600x256 \""
  122. WIN_RES_WD_1   4  "system.ini boot.description sdisplay.drv \"Cirrus 54xx Accelerated 800x600x256 \""
  123. WIN_RES_WD_1   5  "system.ini 256s1280.drv  WidthxHeight  800x600"
  124. WIN_RES_WD_1   6  "system.ini clvga videomode 0x5c"
  125. WIN_RES_WD_1   7  "system.ini clvga logo 0"
  126. WIN_RES_WD_1   8  "system.ini boot fonts.fon vgasys.fon"
  127.  
  128. WIN_RES_WD_2   1  "system.ini boot display.drv 256_1280.drv"
  129. WIN_RES_WD_2   2  "system.ini boot sdisplay.drv 256s1280.drv"
  130. WIN_RES_WD_2   3  "system.ini boot.description display.drv \"Cirrus 54xx Accelerated 1024x768x256 \""
  131. WIN_RES_WD_2   4  "system.ini boot.description sdisplay.drv \"Cirrus 54xx Accelerated 1024x768x256 \""
  132. WIN_RES_WD_2   5  "system.ini 256s1280.drv WidthxHeight  1024x768"
  133. WIN_RES_WD_2   6  "system.ini clvga videomode 0x60"
  134. WIN_RES_WD_2   7  "system.ini clvga logo 0"
  135. WIN_RES_WD_2   8  "system.ini boot fonts.fon xgasys.fon"
  136.  
  137. WIN_RES_WD_3   1  "system.ini boot display.drv 256_1280.drv"
  138. WIN_RES_WD_3   2  "system.ini boot sdisplay.drv 256s1280.drv"
  139. WIN_RES_WD_3   3  "system.ini boot.description display.drv \"Cirrus 54xx Accelerated 1280x1024x256 \""
  140. WIN_RES_WD_3   4  "system.ini boot.description sdisplay.drv \"Cirrus 54xx Accelerated 1280x1024x256 \""
  141. WIN_RES_WD_3   5  "system.ini 256s1280.drv WidthxHeight  1280x1024"
  142. WIN_RES_WD_3   6  "system.ini clvga videomode 0x6d"
  143. WIN_RES_WD_3   7  "system.ini clvga logo 0"
  144. WIN_RES_WD_3   8  "system.ini boot fonts.fon xgasys.fon"
  145.  
  146. WIN_RES_WD_4   1  "system.ini boot display.drv 64k_1024.drv"
  147. WIN_RES_WD_4   2  "system.ini boot sdisplay.drv 64ks1024.drv"
  148. WIN_RES_WD_4   3  "system.ini boot.description display.drv \"Cirrus 54xx Accelerated 640x480x65536 \""
  149. WIN_RES_WD_4   4  "system.ini boot.description sdisplay.drv \"Cirrus 54xx Accelerated 640x480x65536 \""
  150. WIN_RES_WD_4   5  "system.ini 64ks1024.drv  WidthxHeight  640x480"
  151. WIN_RES_WD_4   6  "system.ini clvga videomode 0x64"
  152. WIN_RES_WD_4   7  "system.ini clvga logo 0"
  153. WIN_RES_WD_4   8  "system.ini boot fonts.fon vgasys.fon"
  154.  
  155. WIN_RES_WD_5   1  "system.ini boot display.drv 64k_1024.drv"
  156. WIN_RES_WD_5   2  "system.ini boot sdisplay.drv 64ks1024.drv"
  157. WIN_RES_WD_5   3  "system.ini boot.description display.drv \"Cirrus 54xx Accelerated 800x600x65536 \""
  158. WIN_RES_WD_5   4  "system.ini boot.description sdisplay.drv \"Cirrus 54xx Accelerated 800x600x65536 \""
  159. WIN_RES_WD_5   5  "system.ini 64ks1024.drv  WidthxHeight  800x600"
  160. WIN_RES_WD_5   6  "system.ini clvga videomode 0x65"
  161. WIN_RES_WD_5   7  "system.ini clvga logo 0"
  162. WIN_RES_WD_5   8  "system.ini boot fonts.fon vgasys.fon"
  163.  
  164. WIN_RES_WD_6   1  "system.ini boot display.drv 64k_1024.drv"
  165. WIN_RES_WD_6   2  "system.ini boot sdisplay.drv 64ks1024.drv"
  166. WIN_RES_WD_6   3  "system.ini boot.description display.drv \"Cirrus 54xx Accelerated 1024x768x65536 \""
  167. WIN_RES_WD_6   4  "system.ini boot.description sdisplay.drv \"Cirrus 54xx Accelerated 1024x768x65536 \""
  168. WIN_RES_WD_6   5  "system.ini 64ks1024.drv  WidthxHeight  1024x768"
  169. WIN_RES_WD_6   6  "system.ini clvga videomode 0x74"
  170. WIN_RES_WD_6   7  "system.ini clvga logo 0"
  171. WIN_RES_WD_6   8  "system.ini boot fonts.fon xgasys.fon"
  172.  
  173. WIN_RES_WD_7   1  "system.ini boot display.drv 64k_1024.drv"
  174. WIN_RES_WD_7   2  "system.ini boot sdisplay.drv 64ks1024.drv"
  175. WIN_RES_WD_7   3  "system.ini boot.description display.drv \"Cirrus 54xx Accelerated 1280x1024x65536 \""
  176. WIN_RES_WD_7   4  "system.ini boot.description sdisplay.drv \"Cirrus 54xx Accelerated 1280x1024x65536 \""
  177. WIN_RES_WD_7   5  "system.ini 64ks1024.drv  WidthxHeight  1280x1024"
  178. WIN_RES_WD_7   6  "system.ini clvga videomode 0x75"
  179. WIN_RES_WD_7   7  "system.ini clvga logo 0"
  180. WIN_RES_WD_7   8  "system.ini boot fonts.fon xgasys.fon"
  181.  
  182. WIN_RES_WD_8   1  "system.ini boot display.drv 16m_640.drv"
  183. WIN_RES_WD_8   2  "system.ini boot sdisplay.drv 16ms640.drv"
  184. WIN_RES_WD_8   3  "system.ini boot.description display.drv \"Cirrus 54xx Accelerated 640x480x16777216 \""
  185. WIN_RES_WD_8   4  "system.ini boot.description sdisplay.drv \"Cirrus 54xx Accelerated 640x480x16777216 \""
  186. WIN_RES_WD_8   5  "system.ini 16ms640.drv  WidthxHeight  640x480"
  187. WIN_RES_WD_8   6  "system.ini clvga videomode 0x71"
  188. WIN_RES_WD_8   7  "system.ini clvga logo 0"
  189. WIN_RES_WD_8   8  "system.ini boot fonts.fon vgasys.fon"
  190.  
  191. WIN_RES_WD_9   1  "system.ini boot display.drv 16m_640.drv"
  192. WIN_RES_WD_9   2  "system.ini boot sdisplay.drv 16ms640.drv"
  193. WIN_RES_WD_9   3  "system.ini boot.description display.drv \"Cirrus 54xx Accelerated 800x600x16777216 \""
  194. WIN_RES_WD_9   4  "system.ini boot.description sdisplay.drv \"Cirrus 54xx Accelerated 800x600x16777216 \""
  195. WIN_RES_WD_9   5  "system.ini 16ms640.drv  WidthxHeight  800x600"
  196. WIN_RES_WD_9   6  "system.ini clvga videomode 0x72"
  197. WIN_RES_WD_9   7  "system.ini clvga logo 0"
  198. WIN_RES_WD_9   8  "system.ini boot fonts.fon vgasys.fon"
  199.  
  200. WIN_RES_WD_10  1  "system.ini boot display.drv 16m_640.drv"
  201. WIN_RES_WD_10  2  "system.ini boot sdisplay.drv 16ms640.drv"
  202. WIN_RES_WD_10  3  "system.ini boot.description display.drv \"Cirrus 54xx Accelerated 1024x768x16777216 \""
  203. WIN_RES_WD_10  4  "system.ini boot.description sdisplay.drv \"Cirrus 54xx Accelerated 1024x768x16777216 \""
  204. WIN_RES_WD_10  5  "system.ini 16ms640.drv  WidthxHeight  1024x768"
  205. WIN_RES_WD_10  6  "system.ini clvga videomode 0x73"
  206. WIN_RES_WD_10  7  "system.ini clvga logo 0"
  207. WIN_RES_WD_10  8  "system.ini boot fonts.fon xgasys.fon"
  208.  
  209. * customize icon spacing below
  210. :WININI :MODE=PRIMARY :MODE=WINDOWS
  211. WIN.INI
  212. Desktop IconSpacing 100
  213.  
  214. * system.ini entries below are written during the display installation.
  215. * graphics engines then updates the system.ini based on the resolution
  216. * selected from above entries.  Therefore, put common system.ini entries below
  217.  
  218. :WININI :MODE=PRIMARY :MODE=WINDOWS
  219. SYSTEM.INI
  220. boot  useos2shield 1
  221. boot  os2shield winsheld.exe
  222. boot fonts.fon vgasys.fon
  223. boot display.drv 256_1280.drv
  224. boot sdisplay.drv 256s1280.drv
  225. boot.description display.drv \"Cirrus 54xx Accelerated 640x480x256 \"
  226. boot.description sdisplay.drv \"Cirrus 54xx Accelerated 640x480x256 \"
  227. 256s1280.drv  fontsize  96
  228. 256s1280.drv  dacdepth   6
  229. 256s1280.drv  Enable216  0
  230. 256s1280.drv WidthxHeight  640x480
  231. clvga videomode 0x5f
  232. clvga logo 0
  233.  
  234. * echo command to logfile in case cmd doesn't exist (error msg said bad path)
  235. :RUN :MODE=PRIMARY :MODE=WINDOWS
  236. CMD.EXE /C ECHO %BOOTDRIVE%:\OS2\INSTALL\TST4WOW.CMD %BOOTDRIVE%: %BOOTDRIVE%:\OS2\INSTALL\CL54XXFU.DSA %BOOTDRIVE%:\OS2\INSTALL\CL54XXWO.DSA 2>> %BOOTDRIVE%:\OS2\INSTALL\DSPINSTL.LOG 1>&2
  237. CMD.EXE /C      %BOOTDRIVE%:\OS2\INSTALL\TST4WOW.CMD %BOOTDRIVE%: %BOOTDRIVE%:\OS2\INSTALL\CL54XXFU.DSA %BOOTDRIVE%:\OS2\INSTALL\CL54XXWO.DSA 2>> %BOOTDRIVE%:\OS2\INSTALL\DSPINSTL.LOG
  238.