:TITLE
MGAX64

:KEY
MGAX64

*****************
* PRIMARY SETUP *
*****************

:FILES :MODE=PRIMARY
MGAX64.OS2       %BOOTDRIVE%:
README.OS2       %BOOTDRIVE%:\MGA\OS2
FIXAUTO.CMD      %BOOTDRIVE%:\MGA\OS2
*UNINSTAL.CMD     %BOOTDRIVE%:\MGA\OS2
*VVGA.SYS         %BOOTDRIVE%:\MGA\OS2
*VVGA.SYS         %BOOTDRIVE%:\OS2\MDOS
*SCREEN01.SYS     %BOOTDRIVE%:\MGA\OS2
*SCREEN01.SYS     %BOOTDRIVE%:\OS2

:FILES :MODE=PRIMARY :MODE=WINDOWS
MGAX64W.OS2      %WINPATH%\SYSTEM

:DEL_CONFIG_LINE :MODE=PRIMARY
DEVICE=%BOOTDRIVE%:\OS2\XGARING0.SYS
DEVICE=%BOOTDRIVE%:\OS2\XGA.SYS
BASEDEV=XGA.SYS
SET VIO_XGA=DEVICE(BVHVGA,BVHXGA)
DEVINFO=SCR,EGA,%BOOTDRIVE%:\OS2\VIOTBL.DCP
SET VIO_CGA=DEVICE(BVHCGA)
DEVINFO=SCR,EGA,%BOOTDRIVE%:\OS2\VIOTBL.DCP
SET VIO_EGA=DEVICE(BVHEGA)
SET VIO_SVGA=DEVICE(BVHVGA,BVHSVGA)
SET VIO_MGA=DEVICE(BVHVGA,BVHMGA)

:DEL_CONFIG_LINE :MODE=PRIMARY :MODE=DOS
DEVICE=%BOOTDRIVE%:\OS2\MDOS\VXGA.SYS
DEVICE=%BOOTDRIVE%:\OS2\MDOS\VXGA.SYS /DUAL
DEVICE=%BOOTDRIVE%:\OS2\MDOS\VCGA.SYS
DEVICE=%BOOTDRIVE%:\OS2\MDOS\VCGA.SYS /DUAL
DEVICE=%BOOTDRIVE%:\OS2\MDOS\VEGA.SYS
DEVICE=%BOOTDRIVE%:\OS2\MDOS\VEGA.SYS /DUAL
DEVICE=%BOOTDRIVE%:\OS2\MDOS\VVGA.SYS
DEVICE=%BOOTDRIVE%:\OS2\MDOS\VVGA.SYS /DUAL
DEVICE=%BOOTDRIVE%:\OS2\MDOS\VSVGA.SYS /DUAL
DEVICE=%BOOTDRIVE%:\OS2\MDOS\V8514A.SYS
DEVICE=%BOOTDRIVE%:\OS2\MDOS\V8514A.SYS /DUAL
DEVICE=%BOOTDRIVE%:\OS2\MDOS\VMGA.SYS
DEVICE=%BOOTDRIVE%:\OS2\MDOS\VMGA.SYS /DUAL
DEVICE=%BOOTDRIVE%:\OS2\MDOS\VMGAX64.SYS /DUAL
DEVICE=%BOOTDRIVE%:\MGA\OS2\RAMBIOS.SYS

:CONFIG :MODE=PRIMARY
DEVICE=%BOOTDRIVE%:\MGA\OS2\KMGAX64.SYS
SET MGA=%BOOTDRIVE%:\MGA\OS2
SET VIO_MGA=DEVICE(BVHVGA,BMGAX64)
SET VIDEO_DEVICES=VIO_MGA

:CONFIG :MODE=PRIMARY :MODE=DOS
DEVICE=%BOOTDRIVE%:\OS2\MDOS\VVGA.SYS
DEVICE=%BOOTDRIVE%:\OS2\MDOS\VMGAX64.SYS

:OS2INI :MODE=PRIMARY
OS2.INI
PM_DISPLAYDRIVERS PMGAX64 PMGAX64
PM_DISPLAYDRIVERS CURRENTDRIVER PMGAX64
PM_DISPLAYDRIVERS DEFAULTDRIVER PMGAX64
MGA32 1152x0882_Res
MGA32 1152x0882_Sys
MGA32 1152x0882_Vio
MGA32 PosFrameX
MGA32 PosFrameY
MGA32 FrameWidth
MGA32 FrameHeight
MGA32 ResolutAltered
PM_Fonts COURIERI "\\OS2\\DLL\\COURIERI.FON"
PM_Fonts HELVI    "\\OS2\\DLL\\HELVI.FON"
PM_Fonts TIMESI   "\\OS2\\DLL\\TIMESI.FON"

:OS2INI :MODE=PRIMARY :MODE=WINDOWS
OS2.INI
PM_DISPLAYDRIVERS RESOLUTION_CHANGED 1
WIN_RES_640x480x256         WIN_RES_SET    WIN_RES_MGAX64_SMALL
WIN_RES_768x576x256         WIN_RES_SET
WIN_RES_800x600x256         WIN_RES_SET    WIN_RES_MGAX64_SMALL
WIN_RES_1024x768x256        WIN_RES_SET    WIN_RES_MGAX64_LARGE
WIN_RES_1152x864x256        WIN_RES_SET    WIN_RES_MGAX64_LARGE
WIN_RES_1152x882x256        WIN_RES_SET
WIN_RES_1280x1024x256       WIN_RES_SET    WIN_RES_MGAX64_LARGE
WIN_RES_1600x1200x256       WIN_RES_SET    WIN_RES_MGAX64_LARGE
WIN_RES_1600x1280x256       WIN_RES_SET    WIN_RES_MGAX64_LARGE
WIN_RES_1800x1440x256       WIN_RES_SET    WIN_RES_MGAX64_LARGE

WIN_RES_640x480x65536       WIN_RES_SET    WIN_RES_MGAX64_SMALL
WIN_RES_768x576x65536       WIN_RES_SET
WIN_RES_800x600x65536       WIN_RES_SET    WIN_RES_MGAX64_SMALL
WIN_RES_1024x768x65536      WIN_RES_SET    WIN_RES_MGAX64_LARGE
WIN_RES_1152x864x65536      WIN_RES_SET    WIN_RES_MGAX64_LARGE
WIN_RES_1152x882x65536      WIN_RES_SET
WIN_RES_1280x1024x65536     WIN_RES_SET    WIN_RES_MGAX64_LARGE
WIN_RES_1600x1200x65536     WIN_RES_SET    WIN_RES_MGAX64_LARGE
WIN_RES_1600x1280x65536     WIN_RES_SET    WIN_RES_MGAX64_LARGE
WIN_RES_1800x1440x65536     WIN_RES_SET    WIN_RES_MGAX64_LARGE

WIN_RES_640x480x16777216    WIN_RES_SET    WIN_RES_MGAX64_SMALL
WIN_RES_768x576x16777216    WIN_RES_SET
WIN_RES_800x600x16777216    WIN_RES_SET    WIN_RES_MGAX64_SMALL
WIN_RES_1024x768x16777216   WIN_RES_SET    WIN_RES_MGAX64_LARGE
WIN_RES_1152x864x16777216   WIN_RES_SET    WIN_RES_MGAX64_LARGE
WIN_RES_1152x882x16777216   WIN_RES_SET
WIN_RES_1280x1024x16777216  WIN_RES_SET    WIN_RES_MGAX64_LARGE
WIN_RES_1600x1200x16777216  WIN_RES_SET    WIN_RES_MGAX64_LARGE
WIN_RES_1600x1280x16777216  WIN_RES_SET    WIN_RES_MGAX64_LARGE

WIN_RES_MGAX64_SMALL  01 "system.ini boot sdisplay.drv smgax64.drv"
WIN_RES_MGAX64_SMALL  02 "system.ini boot display.drv smgax64.drv"
WIN_RES_MGAX64_SMALL  03 "system.ini boot fixedfon.fon vgafix.fon"
WIN_RES_MGAX64_SMALL  04 "system.ini boot oemfonts.fon vgaoem.fon"
WIN_RES_MGAX64_SMALL  05 "system.ini boot fonts.fon vgasys.fon"
WIN_RES_MGAX64_SMALL  06 "system.ini boot.description  display.drv \"Matrox SMGAX64 Matrox G400, MGA Millennium/Mystique/MGA-G100/MGA-G200\""
WIN_RES_MGAX64_SMALL  07 "system.ini MGA.DRV BPP 0"
WIN_RES_MGAX64_SMALL  08 "system.ini MGA.DRV dpi 96"
WIN_RES_MGAX64_SMALL  09 "system.ini boot.description  sdisplay.drv \"Matrox SMGAX64 Matrox G400, MGA Millennium/Mystique/MGA-G100/MGA-G200\""

WIN_RES_MGAX64_LARGE  01 "system.ini boot sdisplay.drv smgax64.drv"
WIN_RES_MGAX64_LARGE  02 "system.ini boot display.drv smgax64.drv"
WIN_RES_MGAX64_LARGE  03 "system.ini boot fixedfon.fon 8514fix.fon"
WIN_RES_MGAX64_LARGE  04 "system.ini boot oemfonts.fon 8514oem.fon"
WIN_RES_MGAX64_LARGE  05 "system.ini boot fonts.fon 8514sys.fon"
WIN_RES_MGAX64_LARGE  06 "system.ini boot.description  display.drv \"Matrox SMGAX64 Matrox G400, MGA Millennium/Mystique/MGA-G100/MGA-G200\""
WIN_RES_MGAX64_LARGE  07 "system.ini MGA.DRV BPP 0"
WIN_RES_MGAX64_LARGE  08 "system.ini MGA.DRV dpi 120"
WIN_RES_MGAX64_LARGE  09 "system.ini boot.description  sdisplay.drv \"Matrox SMGAX64 Matrox G400, MGA Millennium/Mystique/MGA-G100/MGA-G200\""

WIN_RES_MGAX6408      01
WIN_RES_MGAX6408      02
WIN_RES_MGAX6408      03
WIN_RES_MGAX6408      04
WIN_RES_MGAX6416      01
WIN_RES_MGAX6416      02
WIN_RES_MGAX6416      03
WIN_RES_MGAX6416      04
WIN_RES_MGAX6424      01
WIN_RES_MGAX6424      02
WIN_RES_MGAX6424      03
WIN_RES_MGAX6424      04

WIN_RES_UNKNOWN 01 "system.ini boot sdisplay.drv smgax64.drv"
WIN_RES_UNKNOWN 02 "system.ini boot display.drv smgax64.drv"
WIN_RES_UNKNOWN 03 "system.ini boot fixedfon.fon vgafix.fon"
WIN_RES_UNKNOWN 04 "system.ini boot oemfonts.fon vgaoem.fon"
WIN_RES_UNKNOWN 05 "system.ini boot fonts.fon vgasys.fon"
WIN_RES_UNKNOWN 06 "system.ini boot.description  display.drv \"Matrox SMGAX64 Matrox G400, MGA Millennium/Mystique/MGA-G100/MGA-G200\""
WIN_RES_UNKNOWN 07 "system.ini MGA.DRV BPP 0"
WIN_RES_UNKNOWN 08 "system.ini MGA.DRV dpi 96"
WIN_RES_UNKNOWN 09 "system.ini boot.description  sdisplay.drv \"Matrox SMGAX64 Matrox G400, MGA Millennium/Mystique/MGA-G100/MGA-G200\""

:WININI :MODE=PRIMARY :MODE=WINDOWS
SYSTEM.INI
MGA.DRV PixelTOUCH OFF
MGA.DRV Interlace OFF
MGA.DRV 3D OFF
MGA.DRV PCIChipset 1

:OS2INI :MODE=PRIMARY
%BOOTDRIVE%:\OS2\INSTALL\REINSTAL.INI
InstallWindow VIOADAPTERSTR 8

*******************
* SECONDARY SETUP *
*******************

:FILES :MODE=SECONDARY
MGAOS2           %BOOTDRIVE%:
MGA.INF          %BOOTDRIVE%:\MGA\OS2
README.OS2       %BOOTDRIVE%:\MGA\OS2
FIXAUTO.CMD      %BOOTDRIVE%:\MGA\OS2
UNINSTAL.CMD     %BOOTDRIVE%:\MGA\OS2

:FILES :MODE=SECONDARY :MODE=WINDOWS
MGAOS2W          %WINPATH%\SYSTEM

:DEL_CONFIG_LINE :MODE=SECONDARY :MODE=DOS
DEVICE=%BOOTDRIVE%:\MGA\OS2\RAMBIOS.SYS
DEVICE=%BOOTDRIVE%:\OS2\MDOS\VMGAX64.SYS

:CONFIG :MODE=SECONDARY
DEVICE=%BOOTDRIVE%:\MGA\OS2\KMGAX64.SYS
SET MGA=%BOOTDRIVE%:\MGA\OS2

:OS2INI :MODE=SECONDARY
OS2.INI
PM_DISPLAYDRIVERS PMGAX64 PMGAX64
PM_DISPLAYDRIVERS CURRENTDRIVER PMGAX64
PM_DISPLAYDRIVERS DEFAULTDRIVER PMGAX64

:WININI :MODE=SECONDARY :MODE=WINDOWS
SYSTEM.INI
MGA.DRV PixelTOUCH OFF
MGA.DRV Interlace OFF
MGA.DRV 3D OFF
MGA.DRV PCIChipset 1

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

:CONFIG :MODE=DUAL :MODE=DOS
DEVICE=%BOOTDRIVE%:\OS2\MDOS\VVGA.SYS /DUAL
DEVICE=%BOOTDRIVE%:\OS2\MDOS\VMGAX64.SYS /DUAL
