:TITLE

S3 DSP
:KEY
S3
:FILES :MODE=PRIMARY
S3VIDEO %BOOTDRIVE%:
*DISPLAY.DL_ %BOOTDRIVE%:
*PMVIOP.DL_ %BOOTDRIVE%:

*:FILES :MODE=PRIMARY :MODE=DOS

:FILES :MODE=PRIMARY :MODE=WINDOWS
S3WIN    %WINPATH%\SYSTEM

:CONFIG :MODE=PRIMARY
DEVINFO=SCR,VGA,%BOOTDRIVE%:\OS2\VIOTBL.DCP
SET VIDEO_DEVICES=VIO_SVGA
SET VIO_SVGA=DEVICE(BVHVGA,BVHSVGA)

:CONFIG :MODE=PRIMARY :MODE=BIDI
SET VIO_VGA=DEVICE(BVHVGA,BDBVH)

:CONFIG :MODE=PRIMARY :MODE=DOS
DEVICE=%BOOTDRIVE%:\OS2\MDOS\VSVGA.SYS

:DEL_CONFIG_LINE :MODE=PRIMARY

*:DELETING XGA LINES FOR PROTECT MODE
DEVICE=%BOOTDRIVE%:\OS2\XGARING0.SYS
DEVICE=%BOOTDRIVE%:\OS2\XGA.SYS
BASEDEV=XGA.SYS
SET VIO_XGA=DEVICE(BVHVGA,BVHXGA)

*:DELETING BGA LINES FOR PROTECT MODE
DEVINFO=SCR,BGA,%BOOTDRIVE%:\OS2\VIOTBL.DCP
SET VIO_8514A=DEVICE(BVHVGA,BVH8514A)

*:DELETING CGA LINES FOR PROTECT MODE
DEVINFO=SCR,EGA,%BOOTDRIVE%:\OS2\VIOTBL.DCP
SET VIO_CGA=DEVICE(BVHCGA)

*:DELETING EGA LINES FOR PROTECT MODE
DEVINFO=SCR,EGA,%BOOTDRIVE%:\OS2\VIOTBL.DCP
SET VIO_EGA=DEVICE(BVHEGA)

*:DELETING VGA LINES FOR PROTECT MODE
DEVICE=%BOOTDRIVE%:\OS2\MDOS\VVGA.SYS
SET VIO_VGA=DEVICE(BVHVGA)

:DEL_CONFIG_LINE :MODE=PRIMARY :MODE=DOS

*:DELETING S3 CORPS. DRIVERS STATEMENT FOR REAL MODE
DEVICE=%BOOTDRIVE%:\OS2\MDOS\VENH.SYS

*:DELETING XGA LINES FOR REAL MODE
DEVICE=%BOOTDRIVE%:\OS2\MDOS\VXGA.SYS

*:DELETING BGA LINES FOR REAL MODE
DEVICE=%BOOTDRIVE%:\OS2\MDOS\V8514A.SYS

*:DELETING CGA LINES FOR REAL MODE
DEVICE=%BOOTDRIVE%:\OS2\MDOS\VCGA.SYS

*:DELETING EGA LINES FOR REAL MODE
DEVICE=%BOOTDRIVE%:\OS2\MDOS\VEGA.SYS

*:DELETING VGA LINES FOR REAL MODE
DEVICE=%BOOTDRIVE%:\OS2\MDOS\VVGA.SYS

:OS2INI :MODE=PRIMARY
%BOOTDRIVE%:\OS2\INSTALL\REINSTAL.INI
InstallWindow VIOADAPTERSTR 7

:OS2INI :MODE=SECONDARY
%BOOTDRIVE%:\OS2\INSTALL\REINSTAL.INI
InstallWindow VIOADAPTER2STR 7

:OS2INI :MODE=PRIMARY
OS2.INI
PM_DISPLAYDRIVERS  IBMS332        IBMS332
PM_DISPLAYDRIVERS  CURRENTDRIVER  IBMS332
PM_DISPLAYDRIVERS  DEFAULTDRIVER  IBMS332
PM_Fonts           COURIERI
PM_Fonts           HELVI
PM_Fonts           TIMESI

* Note: win.ini font statements are missing. Should be included if
* font support for 1024x768 and 1280x768 is the same as XGA's.
:OS2INI :MODE=PRIMARY :MODE=WINDOWS
OS2.INI
PM_DISPLAYDRIVERS RESOLUTION_CHANGED 1
WIN_RES_640x480x16     WIN_RES_SET    WIN_RES_S3_0
WIN_RES_640x480x256    WIN_RES_SET    WIN_RES_S3_1
WIN_RES_800x600x256    WIN_RES_SET    WIN_RES_S3_3
WIN_RES_1024x768x256   WIN_RES_SET    WIN_RES_S3_5
WIN_RES_1280x1024x256  WIN_RES_SET    WIN_RES_S3_7
WIN_RES_S3_0   1  "system.ini boot sdisplay.drv swinvga.drv"
WIN_RES_S3_0   2  "system.ini boot display.drv vga.drv"
WIN_RES_S3_0   3  "system.ini boot fonts.fon vgasys.fon"
WIN_RES_S3_0   4  "system.ini boot fixedfon.fon vgafix.fon"
WIN_RES_S3_0   5  "system.ini boot oemfonts.fon vgaoem.fon"
WIN_RES_S3_0   6  "win.ini fonts \"Symbol %ANYSTRING%\"
WIN_RES_S3_0   7  "win.ini fonts \"Helv %ANYSTRING%\"
WIN_RES_S3_0   8  "win.ini fonts \"Tms Rmn %ANYSTRING%\"
WIN_RES_S3_0   9  "win.ini fonts \"Courier %ANYSTRING%\"
WIN_RES_S3_0  10  "win.ini fonts \"MS Sans Serif %ANYSTRING%\"
WIN_RES_S3_0  11  "win.ini fonts \"MS Serif %ANYSTRING%\"
WIN_RES_S3_0  12  "win.ini fonts \"Small Fonts %ANYSTRING%\"
WIN_RES_S3_0  13  "win.ini fonts \"MS Sans Serif 8,10,12,14,18,24 (VGA res)\"  sserife.fon"
WIN_RES_S3_0  14  "win.ini fonts \"Courier 10,12,15 (VGA res)\"                coure.fon"
WIN_RES_S3_0  15  "win.ini fonts \"MS Serif 8,10,12,14,18,24 (VGA res)\"       serife.fon"
WIN_RES_S3_0  16  "win.ini fonts \"Symbol 8,10,12,14,18,24 (VGA res)\"         symbole.fon"
WIN_RES_S3_0  17  "win.ini fonts \"Small Fonts (VGA res)\"                     smalle.fon"
WIN_RES_S3_1   1  "system.ini boot sdisplay.drv ss3640.drv"
WIN_RES_S3_1   2  "system.ini boot display.drv s3w640.drv"
WIN_RES_S3_1   3  "system.ini boot fonts.fon vgasys.fon"
WIN_RES_S3_1   4  "system.ini boot fixedfon.fon vgafix.fon"
WIN_RES_S3_1   5  "system.ini boot oemfonts.fon vgaoem.fon"
WIN_RES_S3_1   6  "system.ini boot.description display.drv 640x480"
WIN_RES_S3_1   7  "system.ini boot.description sdisplay.drv 640x480"
WIN_RES_S3_1   8  "win.ini fonts \"Symbol %ANYSTRING%\"
WIN_RES_S3_1   9  "win.ini fonts \"Helv %ANYSTRING%\"
WIN_RES_S3_1  10  "win.ini fonts \"Tms Rmn %ANYSTRING%\"
WIN_RES_S3_1  11  "win.ini fonts \"Courier %ANYSTRING%\"
WIN_RES_S3_1  12  "win.ini fonts \"MS Sans Serif %ANYSTRING%\"
WIN_RES_S3_1  13  "win.ini fonts \"MS Serif %ANYSTRING%\"
WIN_RES_S3_1  14  "win.ini fonts \"Small Fonts %ANYSTRING%\"
WIN_RES_S3_1  15  "win.ini fonts \"MS Sans Serif 8,10,12,14,18,24 (VGA res)\"  sserife.fon"
WIN_RES_S3_1  16  "win.ini fonts \"Courier 10,12,15 (VGA res)\"                coure.fon"
WIN_RES_S3_1  17  "win.ini fonts \"MS Serif 8,10,12,14,18,24 (VGA res)\"       serife.fon"
WIN_RES_S3_1  18  "win.ini fonts \"Symbol 8,10,12,14,18,24 (VGA res)\"         symbole.fon"
WIN_RES_S3_1  19  "win.ini fonts \"Small Fonts (VGA res)\"                     smalle.fon"
WIN_RES_S3_3   1  "system.ini boot sdisplay.drv ss3800.drv"
WIN_RES_S3_3   2  "system.ini boot display.drv s3w800.drv"
WIN_RES_S3_3   3  "system.ini boot fonts.fon vgasys.fon"
WIN_RES_S3_3   4  "system.ini boot fixedfon.fon vgafix.fon"
WIN_RES_S3_3   5  "system.ini boot oemfonts.fon vgaoem.fon"
WIN_RES_S3_3   6  "system.ini boot.description display.drv 800x600"
WIN_RES_S3_3   7  "system.ini boot.description sdisplay.drv 800x600"
WIN_RES_S3_3   8  "win.ini fonts \"Symbol %ANYSTRING%\"
WIN_RES_S3_3   9  "win.ini fonts \"Helv %ANYSTRING%\"
WIN_RES_S3_3  10  "win.ini fonts \"Tms Rmn %ANYSTRING%\"
WIN_RES_S3_3  11  "win.ini fonts \"Courier %ANYSTRING%\"
WIN_RES_S3_3  12  "win.ini fonts \"MS Sans Serif %ANYSTRING%\"
WIN_RES_S3_3  13  "win.ini fonts \"MS Serif %ANYSTRING%\"
WIN_RES_S3_3  14  "win.ini fonts \"Small Fonts %ANYSTRING%\"
WIN_RES_S3_3  15  "win.ini fonts \"MS Sans Serif 8,10,12,14,18,24 (VGA res)\"  sserife.fon"
WIN_RES_S3_3  16  "win.ini fonts \"Courier 10,12,15 (VGA res)\"                coure.fon"
WIN_RES_S3_3  17  "win.ini fonts \"MS Serif 8,10,12,14,18,24 (VGA res)\"       serife.fon"
WIN_RES_S3_3  18  "win.ini fonts \"Symbol 8,10,12,14,18,24 (VGA res)\"         symbole.fon"
WIN_RES_S3_3  19  "win.ini fonts \"Small Fonts (VGA res)\"                     smalle.fon"
WIN_RES_S3_5   1  "system.ini boot sdisplay.drv ss31k.drv"
WIN_RES_S3_5   2  "system.ini boot display.drv s3w1k.drv"
WIN_RES_S3_5   3  "system.ini boot fonts.fon xgasys.fon"
WIN_RES_S3_5   4  "system.ini boot fixedfon.fon xgafix.fon"
WIN_RES_S3_5   5  "system.ini boot oemfonts.fon xgaoem.fon"
WIN_RES_S3_5   6  "system.ini boot.description display.drv 1024x768"
WIN_RES_S3_5   7  "system.ini boot.description sdisplay.drv 1024x768"
WIN_RES_S3_5   8  "win.ini fonts \"Symbol %ANYSTRING%\"
WIN_RES_S3_5   9  "win.ini fonts \"Helv %ANYSTRING%\"
WIN_RES_S3_5  10  "win.ini fonts \"Tms Rmn %ANYSTRING%\"
WIN_RES_S3_5  11  "win.ini fonts \"Courier %ANYSTRING%\"
WIN_RES_S3_5  12  "win.ini fonts \"MS Sans Serif %ANYSTRING%\"
WIN_RES_S3_5  13  "win.ini fonts \"MS Serif %ANYSTRING%\"
WIN_RES_S3_5  14  "win.ini fonts \"Small Fonts %ANYSTRING%\"
WIN_RES_S3_5  15  "win.ini fonts \"MS Sans Serif 8,10,12,14,18,24 (XGA res)\"  sserifg.fon"
WIN_RES_S3_5  16  "win.ini fonts \"Courier 10,12,15 (XGA res)\"                courg.fon"
WIN_RES_S3_5  17  "win.ini fonts \"MS Serif 8,10,12,14,18,24 (XGA res)\"       serifg.fon"
WIN_RES_S3_5  18  "win.ini fonts \"Symbol 8,10,12,14,18,24 (XGA res)\"         symbolg.fon"
WIN_RES_S3_5  19  "win.ini fonts \"Small Fonts (XGA res)\"                     smallg.fon"
WIN_RES_S3_7   1  "system.ini boot sdisplay.drv ss31288.drv"
WIN_RES_S3_7   2  "system.ini boot display.drv s3w1280.drv"
WIN_RES_S3_7   3  "system.ini boot fonts.fon xgasys.fon"
WIN_RES_S3_7   4  "system.ini boot fixedfon.fon xgafix.fon"
WIN_RES_S3_7   5  "system.ini boot oemfonts.fon xgaoem.fon"
WIN_RES_S3_7   6  "system.ini boot.description display.drv 1280x1024"
WIN_RES_S3_7   7  "system.ini boot.description sdisplay.drv 1280x1024"
WIN_RES_S3_7   8  "win.ini fonts \"Symbol %ANYSTRING%\"
WIN_RES_S3_7   9  "win.ini fonts \"Helv %ANYSTRING%\"
WIN_RES_S3_7  10  "win.ini fonts \"Tms Rmn %ANYSTRING%\"
WIN_RES_S3_7  11  "win.ini fonts \"Courier %ANYSTRING%\"
WIN_RES_S3_7  12  "win.ini fonts \"MS Sans Serif %ANYSTRING%\"
WIN_RES_S3_7  13  "win.ini fonts \"MS Serif %ANYSTRING%\"
WIN_RES_S3_7  14  "win.ini fonts \"Small Fonts %ANYSTRING%\"
WIN_RES_S3_7  15  "win.ini fonts \"MS Sans Serif 8,10,12,14,18,24 (XGA res)\"  sserifg.fon"
WIN_RES_S3_7  16  "win.ini fonts \"Courier 10,12,15 (XGA res)\"                courg.fon"
WIN_RES_S3_7  17  "win.ini fonts \"MS Serif 8,10,12,14,18,24 (XGA res)\"       serifg.fon"
WIN_RES_S3_7  18  "win.ini fonts \"Symbol 8,10,12,14,18,24 (XGA res)\"         symbolg.fon"
WIN_RES_S3_7  19  "win.ini fonts \"Small Fonts (XGA res)\"                     smallg.fon"

* customize icon spacing for s3 below
:WININI :MODE=PRIMARY :MODE=WINDOWS
WIN.INI
Desktop IconSpacing 100

* system.ini entries below will be overwritten by graphics engine after reboot.
* if graphic engine fails to update system.ini for some reason
* the entries below are the default.

:WININI :MODE=PRIMARY :MODE=WINDOWS
SYSTEM.INI
boot sdisplay.drv ss31k.drv
boot display.drv s3w1k.drv
boot fonts.fon xgasys.fon
boot fixedfon.fon xgafix.fon
boot oemfonts.fon xgaoem.fon
boot.description display.drv 1024x768
boot.description sdisplay.drv 1024x768
