Add DDR p3io drivers for x64 platform

This commit is contained in:
icex2 2022-08-04 20:09:35 +02:00
parent 64746c5682
commit 868a04ec15
10 changed files with 260 additions and 2 deletions

View File

@ -2,7 +2,8 @@
Currently, this package provides drivers for the following platforms:
* Windows XP x86
* [Windows XP x86](x86)
* [Windows 7 x64](x64)
Note that the driver, at least the build version, seems to be different to the P3IO driver used on
Note that the drivers for a "DDR P3IO" are different to the drivers of a "regular P3IO" used on
[GF&DM](../../gfdm/p3io/README.md).

View File

@ -0,0 +1 @@
Drivers taken from a DDR PCB with (DDR) P3IO running on an ADE6291, i.e. 64-bit

Binary file not shown.

View File

@ -0,0 +1,81 @@
;
; Windows USB CDC Driver Setup File for DDR (Windows7)
;
; (C)2016 Konami Amusement Co., Ltd.
;
;
[Version]
Signature = "$Windows NT$"
Class=Ports
ClassGUID={4d36e978-e325-11ce-bfc1-08002be10318}
Provider=%ProviderName%
DriverVer= 12/29/2016,1.1.0.0
CatalogFile=ddrmem_win7.cat
[DestinationDirs]
DefaultDestDir = 12
[MANUFACTURER]
%ProviderName%=DeviceList, NTx86, NTamd64
[DeviceList.NTx86]
%ddrmemDesc%=DriverInstall,USB\VID_1CCF&PID_8004
[DeviceList.NTamd64]
%ddrmemDesc%=DriverInstall,USB\VID_1CCF&PID_8004
;--------------------------------------------------------------------------
; Device driver
;--------------------------------------------------------------------------
[DriverInstall]
include = mdmcpq.inf
CopyFiles = FakeModemCopyFileSection
AddReg = LowerFilterAddReg,SerialPropPageAddReg
[DriverInstall.Services]
include = mdmcpq.inf
AddService = usbser, 0x00000002, ddrmem_Service_Inst
[SerialPropPageAddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbser.sys
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
;--------------------------------------------------------------------------
; Services
;--------------------------------------------------------------------------
[ddrmem_Service_Inst]
DisplayName = %SERVICE%
ServiceType = %SERVICE_KERNEL_DRIVER%
StartType = %SERVICE_DEMAND_START%
ErrorControl = %SERVICE_ERROR_IGNORE%
ServiceBinary = %12%\usbser.sys
;--------------------------------------------------------------------------
; Strings
;--------------------------------------------------------------------------
[Strings]
ProviderName = "Konami Amusement"
ddrmemDesc= "DDR USB Virtual COM Port"
SERVICE = "DDR USB memory Driver"
SERVICE_BOOT_START = 0x0
SERVICE_SYSTEM_START = 0x1
SERVICE_AUTO_START = 0x2
SERVICE_DEMAND_START = 0x3
SERVICE_DISABLED = 0x4
SERVICE_KERNEL_DRIVER = 0x1
SERVICE_ERROR_IGNORE = 0x0
SERVICE_ERROR_NORMAL = 0x1
SERVICE_ERROR_SEVERE = 0x2
SERVICE_ERROR_CRITICAL = 0x3
REG_EXPAND_SZ = 0x00020000
REG_DWORD = 0x00010001

Binary file not shown.

View File

@ -0,0 +1,91 @@
;
; Created by GenINF.
;
;
[Version]
Signature = "$Windows NT$"
Class=USB
ClassGUID={36fc9e60-c465-11cf-8056-444553540000}
Provider=%KDE-J%
DriverVer= 10/27/2016
CatalogFile=p3io.cat
[DestinationDirs]
DefaultDestDir = 12
[SourceDisksNames]
1=%Desc_x860%,,,\x86
2=%Desc_x860%,,,\amd64
[SourceDisksFiles.x86]
p3io.sys = 1
[SourceDisksFiles.amd64]
p3io.sys = 2
[SourceDisksFiles.ia64]
[Manufacturer]
%KDE-J%=KDE-J,NTx86,NTamd64
; For WindowsXP 32bit
[KDE-J.NTx86]
%p3ioDesc%=p3io_Inst,USB\VID_0000&PID_5731
%p3ioDesc%=p3io_Inst,USB\VID_1CCF&PID_8008
; For Windows7 64bit
[KDE-J.NTamd64]
%p3ioDesc%=p3io_Inst,USB\VID_0000&PID_5731
%p3ioDesc%=p3io_Inst,USB\VID_1CCF&PID_8008
[p3io_Inst]
CopyFiles = p3io.Files.Ext
[p3io_Inst.Services]
AddService = p3io,0x00000002,p3io_Service_Inst
[p3io_Service_Inst]
ServiceType = %SERVICE_KERNEL_DRIVER%
StartType = %SERVICE_DEMAND_START%
ErrorControl = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\p3io.sys
[p3io.Files.Ext]
p3io.sys
[p3io_EventLog_Inst]
AddReg = p3io_EventLog_Inst.AddReg
[p3io_EventLog_Inst.AddReg]
HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll"
HKR,,TypesSupported,%REG_DWORD%,7
[Strings]
; *******Localizable Strings*******
KDE-J= "Konami Degital Entertainment"
Desc_x860= "Konami Degital Entertainment USBdrivers"
p3ioDesc= "python3 I/O board (DDRX custom)"
; *******Non Localizable Strings*******
SERVICE_BOOT_START = 0x0
SERVICE_SYSTEM_START = 0x1
SERVICE_AUTO_START = 0x2
SERVICE_DEMAND_START = 0x3
SERVICE_DISABLED = 0x4
SERVICE_KERNEL_DRIVER = 0x1
SERVICE_ERROR_IGNORE = 0x0
SERVICE_ERROR_NORMAL = 0x1
SERVICE_ERROR_SEVERE = 0x2
SERVICE_ERROR_CRITICAL = 0x3
REG_EXPAND_SZ = 0x00020000
REG_DWORD = 0x00010001

View File

@ -0,0 +1,84 @@
;/*++
;
;Module Name:
;
; P4IO.INF
;
;Abstract:
; Installation inf for USB I/O PCB (P4IO)
;
;--*/
[Version]
Signature="$WINDOWS NT$"
Class=USB
ClassGUID={36fc9e60-c465-11cf-8056-444553540000}
Provider=%KDE%
DriverVer=09/05/2012,1.0.5.1
CatalogFile=p4io.cat
; ================= Class section =====================
[ClassInstall32]
Addreg=SampleClassReg
[SampleClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,-5
; ================= Device section =====================
[Manufacturer]
%MfgName%=Kde,NTx86,NTAMD64
; For WindowsXP 32bit
[Kde.NTx86]
%USB\VID_045E&PID_930A.DeviceDesc%=p4io.Dev, USB\VID_1CCF&PID_8010
; For Windows7 64bit
[Kde.NTAMD64]
%USB\VID_045E&PID_930A.DeviceDesc%=p4io.Dev, USB\VID_1CCF&PID_8010
[p4io.Dev]
CopyFiles=p4io.Files.Ext
[p4io.Dev.Services]
AddService = p4io, %SPSVCINST_ASSOCSERVICE%, p4io.AddService
[p4io.AddService]
DisplayName = %p4io.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\System32\Drivers\p4io.sys
AddReg = p4io.AddReg
LoadOrderGroup = Base
[p4io.Files.Ext]
p4io.sys
[SourceDisksNames]
1=%Disk_Description%,,,\x86
2=%Disk_Description%,,,\amd64
[SourceDisksFiles.x86]
p4io.sys = 1
[SourceDisksFiles.amd64]
p4io.sys = 2
[DestinationDirs]
DefaultDestDir = 12
;---------------------------------------------------------------;
[Strings]
KDE= "Konami Digital Entertainment"
MfgName="OSR"
Disk_Description="P4IO Installation Disk"
USB\VID_045E&PID_930A.DeviceDesc="python4 I/O board"
p4io.SvcDesc="python4 I/O board"
ClassName = "Sample Device"
SPSVCINST_ASSOCSERVICE= 0x00000002

Binary file not shown.

Binary file not shown.

Binary file not shown.