[Version]
Signature="$WINDOWS NT$"
Class=fdc
ClassGuid={4D36E969-E325-11CE-BFC1-08002BE10318}
Provider=%NEC%
;;LayoutFile=layout.inf

[SourceDisksNames]
1 = "NEC PC98-NX NT Floppy Driver",,,\

[SourceDisksFiles]
%DriverFileName_A% = 1
%DriverFileName_B% = 1
%DriverFileName_C% = 1
%DriverFileName_D% = 1
%DriverFileName_E% = 1
%DriverFileName_F% = 1
%DriverFileName_G% = 1
%DriverFileName_H% = 1
%DriverFileName_I% = 1
%DriverFileName_J% = 1
%DriverFileName_K% = 1
%DriverFileName_M% = 1
%DriverFileName_N% = 1
%DriverFileName_R% = 1

[ClassInstall32.NT]
AddReg=fdc_class_addreg

[fdc_class_addreg]
HKR,,,,%FdcClassName%
HKR,,NoInstallClass,,1
HKR,,Icon,,-9

[Manufacturer]
%NEC%=fdc_device

[DestinationDirs]
fdc_copyfile_A=12
fdc_copyfile_B=12
fdc_copyfile_C=12
fdc_copyfile_D=12
fdc_copyfile_E=12
fdc_copyfile_F=12
fdc_copyfile_G=12
fdc_copyfile_H=12
fdc_copyfile_I=12
fdc_copyfile_J=12
fdc_copyfile_K=12
fdc_copyfile_M=12
fdc_copyfile_N=12
fdc_copyfile_R=12

[fdc_device]
%fdc_devdesc_A%=fdc_install_A,*PNP0700
%fdc_devdesc_B%=fdc_install_B,*PNP0700
%fdc_devdesc_C%=fdc_install_C,*PNP0700
%fdc_devdesc_D%=fdc_install_D,*PNP0700
%fdc_devdesc_E%=fdc_install_E,*PNP0700
%fdc_devdesc_F%=fdc_install_F,*PNP0700
%fdc_devdesc_G%=fdc_install_G,*PNP0700
%fdc_devdesc_H%=fdc_install_H,*PNP0700
%fdc_devdesc_I%=fdc_install_I,*PNP0700
%fdc_devdesc_J%=fdc_install_J,*PNP0700
%fdc_devdesc_K%=fdc_install_K,*PNP0700
%fdc_devdesc_M%=fdc_install_M,*PNP0700
%fdc_devdesc_N%=fdc_install_N,*PNP0700
%fdc_devdesc_R%=fdc_install_R,*PNP0700

[fdc_install_A.NT]
CopyFiles=fdc_copyfile_A
AddReg=fdc_addreg_A
DriverVer=10/8/1999,5.00.2128.1

[fdc_install_B.NT]
CopyFiles=fdc_copyfile_B
DriverVer=10/8/1999,5.00.2128.1

[fdc_install_C.NT]
CopyFiles=fdc_copyfile_C
AddReg=fdc_addreg_C
DriverVer=10/8/1999,5.00.2128.1

[fdc_install_D.NT]
CopyFiles=fdc_copyfile_D
AddReg=fdc_addreg_D
DriverVer=10/8/1999,5.00.2128.1

[fdc_install_E.NT]
CopyFiles=fdc_copyfile_E
AddReg=fdc_addreg_E
DriverVer=10/8/1999,5.00.2128.1

[fdc_install_F.NT]
CopyFiles=fdc_copyfile_F
AddReg=fdc_addreg_F
DriverVer=10/8/1999,5.00.2128.1

[fdc_install_G.NT]
CopyFiles=fdc_copyfile_G
AddReg=fdc_addreg_G
DriverVer=10/8/1999,5.00.2128.1

[fdc_install_H.NT]
CopyFiles=fdc_copyfile_H
AddReg=fdc_addreg_H
DriverVer=10/8/1999,5.00.2128.1

[fdc_install_I.NT]
CopyFiles=fdc_copyfile_I
AddReg=fdc_addreg_I
DriverVer=10/8/1999,5.00.2128.1

[fdc_install_J.NT]
CopyFiles=fdc_copyfile_J
AddReg=fdc_addreg_J
DriverVer=10/8/1999,5.00.2128.1

[fdc_install_K.NT]
CopyFiles=fdc_copyfile_K
AddReg=fdc_addreg_K
DriverVer=10/8/1999,5.00.2128.1

[fdc_install_M.NT]
CopyFiles=fdc_copyfile_M
AddReg=fdc_addreg_M
DriverVer=10/8/1999,5.00.2128.1

[fdc_install_N.NT]
CopyFiles=fdc_copyfile_N
AddReg=fdc_addreg_N
DriverVer=10/8/1999,5.00.2128.1

[fdc_install_R.NT]
CopyFiles=fdc_copyfile_R
AddReg=fdc_addreg_R
DriverVer=10/8/1999,5.00.2128.1

[fdc_copyfile_A]
%DriverFileName_A%

[fdc_copyfile_B]
%DriverFileName_B%

[fdc_copyfile_C]
%DriverFileName_C%

[fdc_copyfile_D]
%DriverFileName_D%

[fdc_copyfile_E]
%DriverFileName_E%

[fdc_copyfile_F]
%DriverFileName_F%

[fdc_copyfile_G]
%DriverFileName_G%

[fdc_copyfile_H]
%DriverFileName_H%

[fdc_copyfile_I]
%DriverFileName_I%

[fdc_copyfile_J]
%DriverFileName_J%,%DriverFileName_H%

[fdc_copyfile_K]
%DriverFileName_K%

[fdc_copyfile_M]
%DriverFileName_M%,%DriverFileName_I%

[fdc_copyfile_N]
%DriverFileName_N%

[fdc_copyfile_R]
%DriverFileName_R%,%DriverFileName_K%

[fdc_addreg_A]
HKLM,%REG_KEY_PARAMETERS%,"ConfigurationBase",%REG_DWORD%,0x370

[fdc_addreg_C]
HKLM,%REG_KEY_PARAMETERS%,"ConfigurationBase",%REG_DWORD%,0x3f0

[fdc_addreg_D]
HKLM,%REG_KEY_PARAMETERS%,"ConfigurationBase",%REG_DWORD%,0x370

[fdc_addreg_E]
HKLM,%REG_KEY_PARAMETERS%,"ConfigurationBase",%REG_DWORD%,0x3f0

[fdc_addreg_F]
HKLM,%REG_KEY_PARAMETERS%,"ConfigurationBase",%REG_DWORD%,0x3f0

[fdc_addreg_G]
HKLM,%REG_KEY_PARAMETERS%,"ConfigurationBase",%REG_DWORD%,0x3f0

[fdc_addreg_H]
HKLM,%REG_KEY_PARAMETERS%,"ConfigurationBase",%REG_DWORD%,0x3f0

[fdc_addreg_I]
HKLM,%REG_KEY_PARAMETERS%,"ConfigurationBase",%REG_DWORD%,0x02e
HKLM,%REG_KEY_FDC%,"NumberOfBuffers",%REG_DWORD%,0

[fdc_addreg_J]
HKLM,%REG_KEY_PARAMETERS%,"ConfigurationBase",%REG_DWORD%,0x3f0

[fdc_addreg_K]
HKLM,%REG_KEY_PARAMETERS%,"ConfigurationBase",%REG_DWORD%,0x02e

[fdc_addreg_M]
HKLM,%REG_KEY_PARAMETERS%,"ConfigurationBase",%REG_DWORD%,0x04e
HKLM,%REG_KEY_FDC%,"NumberOfBuffers",%REG_DWORD%,0

[fdc_addreg_N]
HKLM,%REG_KEY_PARAMETERS%,"ConfigurationBase",%REG_DWORD%,0x02e

[fdc_addreg_R]
HKLM,%REG_KEY_PARAMETERS%,"ConfigurationBase",%REG_DWORD%,0x04e

[fdc_install_A.NT.Services]
AddService=fdc,2,fdc_ServiceInstallSection_A

[fdc_install_B.NT.Services]
AddService=fdc,2,fdc_ServiceInstallSection_B

[fdc_install_C.NT.Services]
AddService=fdc,2,fdc_ServiceInstallSection_C

[fdc_install_D.NT.Services]
AddService=fdc,2,fdc_ServiceInstallSection_D

[fdc_install_E.NT.Services]
AddService=fdc,2,fdc_ServiceInstallSection_E

[fdc_install_F.NT.Services]
AddService=fdc,2,fdc_ServiceInstallSection_F

[fdc_install_G.NT.Services]
AddService=fdc,2,fdc_ServiceInstallSection_G

[fdc_install_H.NT.Services]
AddService=fdc,2,fdc_ServiceInstallSection_H

[fdc_install_I.NT.Services]
AddService=fdc,2,fdc_ServiceInstallSection_I

[fdc_install_J.NT.Services]
AddService=fdc,2,fdc_ServiceInstallSection_J

[fdc_install_K.NT.Services]
AddService=fdc,2,fdc_ServiceInstallSection_K

[fdc_install_M.NT.Services]
AddService=fdc,2,fdc_ServiceInstallSection_M

[fdc_install_N.NT.Services]
AddService=fdc,2,fdc_ServiceInstallSection_N

[fdc_install_R.NT.Services]
AddService=fdc,2,fdc_ServiceInstallSection_R

[fdc_ServiceInstallSection_A]
DisplayName=%fdc_ServiceDesc_A%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_START_MANUAL%
ErrorControl=%SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\%DriverFileName_A%

[fdc_ServiceInstallSection_B]
DisplayName=%fdc_ServiceDesc_B%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_START_MANUAL%
ErrorControl=%SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\%DriverFileName_B%

[fdc_ServiceInstallSection_C]
DisplayName=%fdc_ServiceDesc_C%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_START_MANUAL%
ErrorControl=%SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\%DriverFileName_C%

[fdc_ServiceInstallSection_D]
DisplayName=%fdc_ServiceDesc_D%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_START_MANUAL%
ErrorControl=%SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\%DriverFileName_D%

[fdc_ServiceInstallSection_E]
DisplayName=%fdc_ServiceDesc_E%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_START_MANUAL%
ErrorControl=%SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\%DriverFileName_E%

[fdc_ServiceInstallSection_F]
DisplayName=%fdc_ServiceDesc_F%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_START_MANUAL%
ErrorControl=%SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\%DriverFileName_F%

[fdc_ServiceInstallSection_G]
DisplayName=%fdc_ServiceDesc_G%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_START_MANUAL%
ErrorControl=%SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\%DriverFileName_G%

[fdc_ServiceInstallSection_H]
DisplayName=%fdc_ServiceDesc_H%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_START_MANUAL%
ErrorControl=%SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\%DriverFileName_H%

[fdc_ServiceInstallSection_I]
DisplayName=%fdc_ServiceDesc_I%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_START_MANUAL%
ErrorControl=%SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\%DriverFileName_I%

[fdc_ServiceInstallSection_J]
DisplayName=%fdc_ServiceDesc_J%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_START_MANUAL%
ErrorControl=%SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\%DriverFileName_J%

[fdc_ServiceInstallSection_K]
DisplayName=%fdc_ServiceDesc_K%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_START_MANUAL%
ErrorControl=%SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\%DriverFileName_K%

[fdc_ServiceInstallSection_M]
DisplayName=%fdc_ServiceDesc_M%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_START_MANUAL%
ErrorControl=%SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\%DriverFileName_M%

[fdc_ServiceInstallSection_N]
DisplayName=%fdc_ServiceDesc_N%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_START_MANUAL%
ErrorControl=%SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\%DriverFileName_N%

[fdc_ServiceInstallSection_R]
DisplayName=%fdc_ServiceDesc_R%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_START_MANUAL%
ErrorControl=%SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\%DriverFileName_R%

[Strings]
NEC="NEC"
FdcClassName="Floppy disk controllers"
fdc_devdesc_A="NEC PC98-NX 3-mode floppy controller (Type A)"
fdc_devdesc_B="NEC PC98-NX 3-mode floppy controller (Type B)"
fdc_devdesc_C="NEC PC98-NX 3-mode floppy controller (Type C)"
fdc_devdesc_D="NEC PC98-NX 3-mode floppy controller (Type D)"
fdc_devdesc_E="NEC PC98-NX 3-mode floppy controller (Type E)"
fdc_devdesc_F="NEC PC98-NX 3-mode floppy controller (Type F)"
fdc_devdesc_G="NEC PC98-NX 3-mode floppy controller (Type G)"
fdc_devdesc_H="NEC PC98-NX 3-mode floppy controller (Type H)"
fdc_devdesc_I="NEC PC98-NX 3-mode floppy controller (Type I)"
fdc_devdesc_J="NEC PC98-NX 3-mode floppy controller (Type J)"
fdc_devdesc_K="NEC PC98-NX 3-mode floppy controller (Type K)"
fdc_devdesc_M="NEC PC98-NX 3-mode floppy controller (Type M)"
fdc_devdesc_N="NEC PC98-NX 3-mode floppy controller (Type N)"
fdc_devdesc_R="NEC PC98-NX 3-mode floppy controller (Type R)"
fdc_ServiceDesc_A="NEC PC98-NX 3-mode floppy controller driver (Type A)"
fdc_ServiceDesc_B="NEC PC98-NX 3-mode floppy controller driver (Type B)"
fdc_ServiceDesc_C="NEC PC98-NX 3-mode floppy controller driver (Type C)"
fdc_ServiceDesc_D="NEC PC98-NX 3-mode floppy controller driver (Type D)"
fdc_ServiceDesc_E="NEC PC98-NX 3-mode floppy controller driver (Type E)"
fdc_ServiceDesc_F="NEC PC98-NX 3-mode floppy controller driver (Type F)"
fdc_ServiceDesc_G="NEC PC98-NX 3-mode floppy controller driver (Type G)"
fdc_ServiceDesc_H="NEC PC98-NX 3-mode floppy controller driver (Type H)"
fdc_ServiceDesc_I="NEC PC98-NX 3-mode floppy controller driver (Type I)"
fdc_ServiceDesc_J="NEC PC98-NX 3-mode floppy controller driver (Type J)"
fdc_ServiceDesc_K="NEC PC98-NX 3-mode floppy controller driver (Type K)"
fdc_ServiceDesc_M="NEC PC98-NX 3-mode floppy controller driver (Type M)"
fdc_ServiceDesc_N="NEC PC98-NX 3-mode floppy controller driver (Type N)"
fdc_ServiceDesc_R="NEC PC98-NX 3-mode floppy controller driver (Type R)"
DriverFileName_A=NECFDCA.SYS
DriverFileName_B=NECFDCB.SYS
DriverFileName_C=NECFDCC.SYS
DriverFileName_D=NECFDCD.SYS
DriverFileName_E=NECFDCE.SYS
DriverFileName_F=NECFDCF.SYS
DriverFileName_G=NECFDCG.SYS
DriverFileName_H=NECFDCH.SYS
DriverFileName_I=NECFDCI.SYS
DriverFileName_J=NECFDCJ.SYS
DriverFileName_K=NECFDCK.SYS
DriverFileName_M=NECFDCM.SYS
DriverFileName_N=NECFDCN.SYS
DriverFileName_R=NECFDCR.SYS
REG_KEY_PARAMETERS="SYSTEM\CurrentControlSet\Services\Fdc\Parameters"
REG_KEY_FDC="SYSTEM\CurrentControlSet\Services\Fdc"
;*******************************************
;Handy macro substitutions (non-localizable)
SERVICE_KERNEL_DRIVER = 1
SERVICE_START_MANUAL = 3
SERVICE_ERROR_NORMAL = 1
REG_DWORD = 0x00010001
