home *** CD-ROM | disk | FTP | other *** search
/ IBM InfoROM for OS/2 Beta 1994 November / INfoROMbeta.ISO / beta / graphics / cirrus / cl54xx.dsp < prev    next >
Encoding:
Text File  |  1994-10-25  |  10.4 KB  |  241 lines

  1. :TITLE
  2. CIRRUS 54XX DSP
  3.  
  4. :KEY
  5. CL54XBB
  6.  
  7. :FILES :MODE=PRIMARY
  8. DSPRES.DL_   %BOOTDRIVE%:\OS2\DLL
  9. BASEVID      %BOOTDRIVE%:
  10. VSVGA.SY_    %BOOTDRIVE%:\OS2\MDOS
  11. CIRRUS.DL_   %BOOTDRIVE%:
  12.  
  13. :FILES :MODE=PRIMARY :MODE=WINDOWS
  14. CLWINDRV       %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. * added next res per S. Yee
  105. WIN_RES_1280x1024x65536    WIN_RES_SET    WIN_RES_WD_7
  106.  
  107. WIN_RES_640x480x16777216   WIN_RES_SET    WIN_RES_WD_8
  108. WIN_RES_800x600x16777216   WIN_RES_SET    WIN_RES_WD_9
  109. * added next res per S. Yee
  110. WIN_RES_1024x768x16777216  WIN_RES_SET    WIN_RES_WD_10
  111.  
  112. WIN_RES_WD_0   1  "system.ini boot display.drv 256_1280.drv"
  113. WIN_RES_WD_0   2  "system.ini boot sdisplay.drv 256s1280.drv"
  114. WIN_RES_WD_0   3  "system.ini boot.description display.drv \"Cirrus 54xx Accelerated 640x480x256 \""
  115. WIN_RES_WD_0   4  "system.ini boot.description sdisplay.drv \"Cirrus 54xx Accelerated 640x480x256 \""
  116. WIN_RES_WD_0   5  "system.ini 256s1280.drv WidthxHeight  640x480"
  117. WIN_RES_WD_0   6  "system.ini clvga videomode 0x5f"
  118. WIN_RES_WD_0   7  "system.ini clvga logo 0"
  119. WIN_RES_WD_0   8  "system.ini boot fonts.fon vgasys.fon"
  120.  
  121. WIN_RES_WD_1   1  "system.ini boot display.drv 256_1280.drv"
  122. WIN_RES_WD_1   2  "system.ini boot sdisplay.drv 256s1280.drv"
  123. WIN_RES_WD_1   3  "system.ini boot.description display.drv \"Cirrus 54xx Accelerated 800x600x256 \""
  124. WIN_RES_WD_1   4  "system.ini boot.description sdisplay.drv \"Cirrus 54xx Accelerated 800x600x256 \""
  125. WIN_RES_WD_1   5  "system.ini 256s1280.drv  WidthxHeight  800x600"
  126. WIN_RES_WD_1   6  "system.ini clvga videomode 0x5c"
  127. WIN_RES_WD_1   7  "system.ini clvga logo 0"
  128. WIN_RES_WD_1   8  "system.ini boot fonts.fon vgasys.fon"
  129.  
  130. WIN_RES_WD_2   1  "system.ini boot display.drv 256_1280.drv"
  131. WIN_RES_WD_2   2  "system.ini boot sdisplay.drv 256s1280.drv"
  132. WIN_RES_WD_2   3  "system.ini boot.description display.drv \"Cirrus 54xx Accelerated 1024x768x256 \""
  133. WIN_RES_WD_2   4  "system.ini boot.description sdisplay.drv \"Cirrus 54xx Accelerated 1024x768x256 \""
  134. WIN_RES_WD_2   5  "system.ini 256s1280.drv WidthxHeight  1024x768"
  135. WIN_RES_WD_2   6  "system.ini clvga videomode 0x60"
  136. WIN_RES_WD_2   7  "system.ini clvga logo 0"
  137. WIN_RES_WD_2   8  "system.ini boot fonts.fon xgasys.fon"
  138.  
  139. WIN_RES_WD_3   1  "system.ini boot display.drv 256_1280.drv"
  140. WIN_RES_WD_3   2  "system.ini boot sdisplay.drv 256s1280.drv"
  141. WIN_RES_WD_3   3  "system.ini boot.description display.drv \"Cirrus 54xx Accelerated 1280x1024x256 \""
  142. WIN_RES_WD_3   4  "system.ini boot.description sdisplay.drv \"Cirrus 54xx Accelerated 1280x1024x256 \""
  143. WIN_RES_WD_3   5  "system.ini 256s1280.drv WidthxHeight  1280x1024"
  144. WIN_RES_WD_3   6  "system.ini clvga videomode 0x6d"
  145. WIN_RES_WD_3   7  "system.ini clvga logo 0"
  146. WIN_RES_WD_3   8  "system.ini boot fonts.fon xgasys.fon"
  147.  
  148. WIN_RES_WD_4   1  "system.ini boot display.drv 64k_1024.drv"
  149. WIN_RES_WD_4   2  "system.ini boot sdisplay.drv 64ks1024.drv"
  150. WIN_RES_WD_4   3  "system.ini boot.description display.drv \"Cirrus 54xx Accelerated 640x480x65536 \""
  151. WIN_RES_WD_4   4  "system.ini boot.description sdisplay.drv \"Cirrus 54xx Accelerated 640x480x65536 \""
  152. WIN_RES_WD_4   5  "system.ini 64ks1024.drv  WidthxHeight  640x480"
  153. WIN_RES_WD_4   6  "system.ini clvga videomode 0x64"
  154. WIN_RES_WD_4   7  "system.ini clvga logo 0"
  155. WIN_RES_WD_4   8  "system.ini boot fonts.fon vgasys.fon"
  156.  
  157. WIN_RES_WD_5   1  "system.ini boot display.drv 64k_1024.drv"
  158. WIN_RES_WD_5   2  "system.ini boot sdisplay.drv 64ks1024.drv"
  159. WIN_RES_WD_5   3  "system.ini boot.description display.drv \"Cirrus 54xx Accelerated 800x600x65536 \""
  160. WIN_RES_WD_5   4  "system.ini boot.description sdisplay.drv \"Cirrus 54xx Accelerated 800x600x65536 \""
  161. WIN_RES_WD_5   5  "system.ini 64ks1024.drv  WidthxHeight  800x600"
  162. WIN_RES_WD_5   6  "system.ini clvga videomode 0x65"
  163. WIN_RES_WD_5   7  "system.ini clvga logo 0"
  164. WIN_RES_WD_5   8  "system.ini boot fonts.fon vgasys.fon"
  165.  
  166. WIN_RES_WD_6   1  "system.ini boot display.drv 64k_1024.drv"
  167. WIN_RES_WD_6   2  "system.ini boot sdisplay.drv 64ks1024.drv"
  168. WIN_RES_WD_6   3  "system.ini boot.description display.drv \"Cirrus 54xx Accelerated 1024x768x65536 \""
  169. WIN_RES_WD_6   4  "system.ini boot.description sdisplay.drv \"Cirrus 54xx Accelerated 1024x768x65536 \""
  170. WIN_RES_WD_6   5  "system.ini 64ks1024.drv  WidthxHeight  1024x768"
  171. WIN_RES_WD_6   6  "system.ini clvga videomode 0x74"
  172. WIN_RES_WD_6   7  "system.ini clvga logo 0"
  173. WIN_RES_WD_6   8  "system.ini boot fonts.fon xgasys.fon"
  174.  
  175. WIN_RES_WD_7   1  "system.ini boot display.drv 64k_1024.drv"
  176. WIN_RES_WD_7   2  "system.ini boot sdisplay.drv 64ks1024.drv"
  177. WIN_RES_WD_7   3  "system.ini boot.description display.drv \"Cirrus 54xx Accelerated 1280x1024x65536 \""
  178. WIN_RES_WD_7   4  "system.ini boot.description sdisplay.drv \"Cirrus 54xx Accelerated 1280x1024x65536 \""
  179. WIN_RES_WD_7   5  "system.ini 64ks1024.drv  WidthxHeight  1280x1024"
  180. WIN_RES_WD_7   6  "system.ini clvga videomode 0x75"
  181. WIN_RES_WD_7   7  "system.ini clvga logo 0"
  182. WIN_RES_WD_7   8  "system.ini boot fonts.fon xgasys.fon"
  183.  
  184. WIN_RES_WD_8   1  "system.ini boot display.drv 16m_640.drv"
  185. WIN_RES_WD_8   2  "system.ini boot sdisplay.drv 16ms640.drv"
  186. WIN_RES_WD_8   3  "system.ini boot.description display.drv \"Cirrus 54xx Accelerated 640x480x16777216 \""
  187. WIN_RES_WD_8   4  "system.ini boot.description sdisplay.drv \"Cirrus 54xx Accelerated 640x480x16777216 \""
  188. WIN_RES_WD_8   5  "system.ini 16ms640.drv  WidthxHeight  640x480"
  189. WIN_RES_WD_8   6  "system.ini clvga videomode 0x71"
  190. WIN_RES_WD_8   7  "system.ini clvga logo 0"
  191. WIN_RES_WD_8   8  "system.ini boot fonts.fon vgasys.fon"
  192.  
  193. WIN_RES_WD_9   1  "system.ini boot display.drv 16m_640.drv"
  194. WIN_RES_WD_9   2  "system.ini boot sdisplay.drv 16ms640.drv"
  195. WIN_RES_WD_9   3  "system.ini boot.description display.drv \"Cirrus 54xx Accelerated 800x600x16777216 \""
  196. WIN_RES_WD_9   4  "system.ini boot.description sdisplay.drv \"Cirrus 54xx Accelerated 800x600x16777216 \""
  197. WIN_RES_WD_9   5  "system.ini 16ms640.drv  WidthxHeight  800x600"
  198. WIN_RES_WD_9   6  "system.ini clvga videomode 0x72"
  199. WIN_RES_WD_9   7  "system.ini clvga logo 0"
  200. WIN_RES_WD_9   8  "system.ini boot fonts.fon vgasys.fon"
  201.  
  202. WIN_RES_WD_10  1  "system.ini boot display.drv 16m_640.drv"
  203. WIN_RES_WD_10  2  "system.ini boot sdisplay.drv 16ms640.drv"
  204. WIN_RES_WD_10  3  "system.ini boot.description display.drv \"Cirrus 54xx Accelerated 1024x768x16777216 \""
  205. WIN_RES_WD_10  4  "system.ini boot.description sdisplay.drv \"Cirrus 54xx Accelerated 1024x768x16777216 \""
  206. WIN_RES_WD_10  5  "system.ini 16ms640.drv  WidthxHeight  1024x768"
  207. WIN_RES_WD_10  6  "system.ini clvga videomode 0x73"
  208. WIN_RES_WD_10  7  "system.ini clvga logo 0"
  209. WIN_RES_WD_10  8  "system.ini boot fonts.fon xgasys.fon"
  210.  
  211. * customize icon spacing below
  212. :WININI :MODE=PRIMARY :MODE=WINDOWS
  213. WIN.INI
  214. Desktop IconSpacing 100
  215.  
  216. * system.ini entries below are written during the display installation.
  217. * graphics engines then updates the system.ini based on the resolution
  218. * selected from above entries.  Therefore, put common system.ini entries below
  219.  
  220. :WININI :MODE=PRIMARY :MODE=WINDOWS
  221. SYSTEM.INI
  222. boot  useos2shield 1
  223. boot  os2shield winsheld.exe
  224. boot fonts.fon vgasys.fon
  225. boot display.drv 256_1280.drv
  226. boot sdisplay.drv 256s1280.drv
  227. boot.description display.drv \"Cirrus 54xx Accelerated 640x480x256 \"
  228. boot.description sdisplay.drv \"Cirrus 54xx Accelerated 640x480x256 \"
  229. 256s1280.drv  fontsize  96
  230. 256s1280.drv  dacdepth   6
  231. 256s1280.drv  Enable216  0
  232. 256s1280.drv WidthxHeight  640x480
  233. clvga videomode 0x5f
  234. clvga logo 0
  235.  
  236. * echo command to logfile in case cmd doesn't exist (error msg said bad path)
  237. :RUN :MODE=PRIMARY :MODE=WINDOWS
  238. 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
  239. 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
  240.  
  241.