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%BOOTDRIVE%:\ULTRAPM1\ATI0.SYS
DEVICE=%BOOTDRIVE%:\ULTRAPM1\VVGA.SYS

DEVICE=\OS2\MDOS\VSVGA.SYS
DEVICE=\OS2\MDOS\VVGA.SYS
DEVICE=\OS2\MDOS\POWER_9K\VP9000.SYS
DEVICE=\OS2\MDOS\POWER_9K\VP9VGA.SYS
DEVICE=\OS2\MDOS\POWER_9K\VVGA.SYS
DEVICE=\OS2\MDOS\POWER_9K\VVIPER.SYS
DEVICE=\OS2\MDOS\POWER_9K\VVPRVGA.SYS
DEVICE=\OS2\POWER_9K\P9000.SYS
DEVICE=\OS2\POWER_9K\VP9000.SYS
DEVICE=\OS2\POWER_9K\VP9VGA.SYS
DEVICE=\OS2\POWER_9K\VVIPER.SYS
DEVICE=\OS2\POWER_9K\VVPRVGA.SYS

DEVINFO=SCR,BGA,%BOOTDRIVE%:\OS2\VIOTBL.DCP
DEVINFO=SCR,EGA,%BOOTDRIVE%:\OS2\VIOTBL.DCP
DEVINFO=SCR,VGA,%BOOTDRIVE%:\OS2\VIOTBL.DCP
DEVINFO=SCR,BGA,%BOOTDRIVE%:\OS2\BOOT\VIOTBL.DCP
DEVINFO=SCR,EGA,%BOOTDRIVE%:\OS2\BOOT\VIOTBL.DCP
DEVINFO=SCR,VGA,%BOOTDRIVE%:\OS2\BOOT\VIOTBL.DCP

RUN=%BOOTDRIVE%:\OS2\CHKRES.EXE
RUN=%BOOTDRIVE%:\OS2\FNTPROC.SYS
RUN=%BOOTDRIVE%:\OS2\BOOT\FNTPROC.SYS

SET C1=864GRADD
SET C1=CHPGRADD
SET C1=GENGRADD
SET C1=GENGRADD,SBFILTER
SET C1=GENGRADD,SBFILTER,VGAGRADD
SET C1=M64GRADD
SET C1=MGAGRADD
SET C1=NMGRADD
SET C1=S3DGRADD
SET C1=S3GRADD
SET C1=SDDGRADD
SET C1=TRIGRADD
SET C1=VGAGRADD
SET ELSAGRADD1=P2
SET ELSAGRADD2=P2ENDIVE
SET GRADD_CHAINS=C1
SET GREEXT=SDDGREXT
SET HARDWAREBITBLT=ON
SET MGA=%BOOTDRIVE%:\MGA\OS2
SET MGARES=1024x768
SET MGARES=1152x882
SET MGARES=1280x1024
SET MGARES=1600x1200
SET MGARES=640x480
SET MGARES=768x576
SET MGARES=800x600
SET PROTECTHS=ON
SET SPRITEENABLE=ON

SET VIDEO_DEVICES=VIO_MGA
SET VIDEO_DEVICES=VIO_P9000
SET VIDEO_DEVICES=VIO_P9100
SET VIDEO_DEVICES=VIO_P9X00
SET VIDEO_DEVICES=VIO_VGA
SET VIDEO_DEVICES=VIO_VGA,VIO_IBMIAA

SET VIO_%PRI% = DEVICE(BVH%PRI%,BDBVH)
SET VIO_8514A=DEVICE(BVHVGA,BVH8514A)
SET VIO_8514A=DEVICE(BVHVGA,BVH8514A,BDBVH)
SET VIO_CGA=DEVICE(BVHCGA)
SET VIO_CGA=DEVICE(BVHCGA,BDBVH)
SET VIO_DSP2=DEVICE(BVHVGA,BVHDSP2)
SET VIO_EGA=DEVICE(BVHEGA)
SET VIO_EGA=DEVICE(BVHEGA,BDBVH)
SET VIO_IBMIAA=DEVICE(BVHVGA,BVHIAA)
SET VIO_MGA=DEVICE(BVHVGA,BMGAX64)
SET VIO_MGA=DEVICE(BVHVGA,BVHMGA)
SET VIO_MGA=DEVICE(BVHVGA,BVHMGA,BVHVGA2)
SET VIO_P9000=DEVICE(BVHVGA,BVHP9000)
SET VIO_P9100=DEVICE(BVHVGA,BVHP9100)
SET VIO_P9X00=DEVICE(BVHVGA,BVHP9100)
SET VIO_P9X00=DEVICE(BVHVGA,BVHP9100,BDBVH)
SET VIO_SVGA=DEVICE(BVHSVGA)
SET VIO_SVGA=DEVICE(BVHVGA,BVHEHN)
SET VIO_SVGA=DEVICE(BVHVGA,BVHP9100,BDBVH)
SET VIO_SVGA=DEVICE(BVHVGA,BVHSVGA)
SET VIO_SVGA=DEVICE(BVHVGA,BVHSVGA,BDBVH)
SET VIO_VGA=DEVICE(BVHVGA)
SET VIO_VGA=DEVICE(BVHVGA,BVHVGA2)
SET VIO_VGA=DEVICE(BVHVGA,BDBVH)
SET VIO_VGA=DEVICE(BVHVGA,BVHSVGA,BDBVH)
SET VIO_XGA=DEVICE(BVHVGA,BVHVGA2,BVHXGA)
SET VIO_XGA=DEVICE(BVHVGA,BVHXGA)
SET VIO_XGA=DEVICE(BVHVGA,BVHXGA,BDBVH)

:OS2INI :MODE=PRIMARY
OS2.INI
WIN_RES_00
WIN_RES_01
WIN_RES_02
WIN_RES_03
WIN_RES_04
WIN_RES_05
WIN_RES_06
WIN_RES_07
WIN_RES_08
WIN_RES_09
WIN_RES_10
WIN_RES_1024x768x16
WIN_RES_1024x768x16777216
WIN_RES_1024x768x24
WIN_RES_1024x768x256
WIN_RES_1024x768x32
WIN_RES_1024x768x65536
WIN_RES_1024x768x8
WIN_RES_11
WIN_RES_1152x864x16777216
WIN_RES_1152x864x256
WIN_RES_1152x864x65536
WIN_RES_1152x864x8
WIN_RES_12
WIN_RES_1280x1024x16
WIN_RES_1280x1024x16777216
WIN_RES_1280x1024x24
WIN_RES_1280x1024x256
WIN_RES_1280x1024x32
WIN_RES_1280x1024x65536
WIN_RES_1280x1024x8
WIN_RES_1280x960x16
WIN_RES_13
WIN_RES_1360x1024x16
WIN_RES_14
WIN_RES_15
WIN_RES_16
WIN_RES_1600x1200x16
WIN_RES_1600x1200x16777216
WIN_RES_1600x1200x256
WIN_RES_1600x1200x65536
WIN_RES_1600x1200x8
WIN_RES_1600x1280x16777216
WIN_RES_1600x1280x256
WIN_RES_1600x1280x65536
WIN_RES_17
WIN_RES_18
WIN_RES_1800x1440x256
WIN_RES_1800x1440x65536
WIN_RES_19
WIN_RES_20
WIN_RES_21
WIN_RES_22
WIN_RES_23
WIN_RES_24
WIN_RES_25
WIN_RES_26
WIN_RES_27
WIN_RES_28
WIN_RES_640x400x256
WIN_RES_640x400x65536
WIN_RES_640x480x16
WIN_RES_640x480x16777216
WIN_RES_640x480x24
WIN_RES_640x480x256
WIN_RES_640x480x32
WIN_RES_640x480x4
WIN_RES_640x480x65536
WIN_RES_640x480x8
WIN_RES_800x600x16
WIN_RES_800x600x16777216
WIN_RES_800x600x24
WIN_RES_800x600x256
WIN_RES_800x600x32
WIN_RES_800x600x65536
WIN_RES_800x600x8
WIN_RES_M321
WIN_RES_M322
WIN_RES_M323
WIN_RES_M324
WIN_RES_M325
WIN_RES_M326
WIN_RES_M327
WIN_RES_M328
WIN_RES_M329
WIN_RES_M6401
WIN_RES_M6402
WIN_RES_M6403
WIN_RES_M6404
WIN_RES_M6405
WIN_RES_M6406
WIN_RES_M6407
WIN_RES_M6408
WIN_RES_M6409
WIN_RES_M6410
WIN_RES_M6411
WIN_RES_M6412
WIN_RES_M6413
WIN_RES_M6414
WIN_RES_MGAX64_LARGE
WIN_RES_MGAX64_SMALL
WIN_RES_P9_0
WIN_RES_P9_1
WIN_RES_P9_2
WIN_RES_P9_3
WIN_RES_P9_4
WIN_RES_P9_5
WIN_RES_P9_6
WIN_RES_P9_7
WIN_RES_P9_8
WIN_RES_P9_9
WIN_RES_P9_10
WIN_RES_P9_11
WIN_RES_P9_12
WIN_RES_P9_13
WIN_RES_P9_14
WIN_RES_P9_15
WIN_RES_P9_16
WIN_RES_S3_0
WIN_RES_S3_1
WIN_RES_S3_2
WIN_RES_S3_3
WIN_RES_S3_4
WIN_RES_S3_5
WIN_RES_S3_6
WIN_RES_S3_7
WIN_RES_S3_8
WIN_RES_S3_9
WIN_RES_S3_10
WIN_RES_S3_11
WIN_RES_S3_12
WIN_RES_S3_13
WIN_RES_S3_14
WIN_RES_S3_15
WIN_RES_SET
WIN_RES_UNKNOWN
WIN_RES_W32_1
WIN_RES_W32_2
WIN_RES_W32_3
WIN_RES_W32_4
WIN_RES_W32_5
WIN_RES_W32_6
WIN_RES_W32_7
WIN_RES_W32_8
WIN_RES_W32_9
WIN_RES_WD_0
WIN_RES_WD_1
WIN_RES_WD_2
WIN_RES_WD_3
WIN_RES_WD_4
WIN_RES_WD_5
WIN_RES_WD_6
WIN_RES_WD_7
WIN_RES_WD_8
WIN_RES_WD_9
WIN_RES_WD_10
WIN_RES_XGA1
WIN_RES_XGA2
WIN_RES_XGA3
WIN_RES_XGA4
WIN_RES_XGA5
WIN_RES_XGA6
WIN_RES_XGA7
WIN_RES_XGA8

* Make sure Selective Install Panel auto detects
:OS2INI :MODE=PRIMARY
%BOOTDRIVE%:\OS2\INSTALL\REINSTAL.INI
InstallWindow VIOADAPTERSTR
InstallWindow SVGA_RESOLUTION

:OS2INI :MODE=SECONDARY
%BOOTDRIVE%:\OS2\INSTALL\REINSTAL.INI
InstallWindow VIOADAPTER2STR

:WININI :MODE=PRIMARY :MODE=WINDOWS
%WINPATH%\SYSTEM.INI
boot   useos2shield 1
boot   os2shield    winsheld.exe
boot   WOS2VDMApps
boot   SAVDMApps
boot   MAVDMApps

:WININI :MODE=PRIMARY :MODE=WINDOWS_H
%WINHPATH%\SYSTEM.INI
boot   useos2shield 1
boot   os2shield    winsheld.exe
boot   WOS2VDMApps
boot   SAVDMApps
boot   MAVDMApps

:WININI :MODE=PRIMARY :MODE=WINDOWS_J
%WINJPATH%\SYSTEM.INI
boot   useos2shield 1
boot   os2shield    winsheld.exe
boot   WOS2VDMApps
boot   SAVDMApps
boot   MAVDMApps

:WININI :MODE=PRIMARY :MODE=WINDOWS_T
%WINTPATH%\SYSTEM.INI
boot   useos2shield 1
boot   os2shield    winsheld.exe
boot   WOS2VDMApps
boot   SAVDMApps
boot   MAVDMApps

* Prevent timestamp comparison (resolution change timestamps file):
:RUN :MODE=PRIMARY :MODE=WINDOWS_H
%BOOTDRIVE%:\OS2\CMD.EXE /C=DEL %WINHPATH%\SYSTEM\OEM_OS2.INF 2>NUL

:RUN :MODE=PRIMARY :MODE=WINDOWS_J :MODE=JP
%BOOTDRIVE%:\OS2\CMD.EXE /C=DEL %WINJPATH%\SYSTEM\OEM_OS2.INF 2>NUL

:RUN :MODE=PRIMARY
%BOOTDRIVE%:\OS2\CMD.EXE /C=DEL %BOOTDRIVE%:\OS2\PRIVATE.DIF 2>NUL

:RUN :MODE=PRIMARY
%BOOTDRIVE%:\OS2\CMD.EXE /C=DEL %BOOTDRIVE%:\OS2\SDDPMI.CFG 2>NUL

