Jump to content

Compiling ACPI v2.0 driver for Windows XP SP3 and Windows 2003 SP2 (x32/x64)


Recommended Posts

Posted
11 hours ago, reboot12 said:

@Jakob99

There are drivers ported for the I2C touchpad:

Ported drivers for XP x86/x64

They are old in the link. Ask @George King about new ones - I have DP_Ported_DriversCollection_v44.7z from him but not tested I2C:

I2C.png

Cool! I don't need those as in Windows 7 and earlier, the touchpad is picked up as PS/2 (Only in Windows 8 and later is it I2C). The problem is, Windows XP isn't detecting my PS/2 touchpad, so I have to use USB mouse.

  • 4 weeks later...

Posted
On 5/29/2024 at 7:07 AM, Dietmar said:

I just buy a new board ASROCK N100DC-ITX .

I was looking back at old posts and saw this.

Wow that sounds nice. I would be interested in something similar if it had more expandibility, like more SATA, PCIe, and NVMe.

  • 1 month later...
Posted

@Dietmar

Could you please re-upload the latest versions of ACPI.SYS? All of the older links are no longer working.

I'm working on a laptop where your ACPI 7777 for XP x86 dated April 6, 2023 works, but I don't have a matching version for x64 and the older ones I have aren't working.

Thanks!

Posted
7 hours ago, Dietmar said:

Here are the very last acpi.sys

What's new at acpi.sys? I use acpiSkull2.sys from you but these are some different - it will differ in 3 bytes:

  128:    19    A3
  129:    4C    4B
48246:    EB    75

Posted

@reboot12

This are hacks against another Bsod, that I forget to implement in the acpi.sys 64 bit version also.

0xA5 (0x11,0x08,xxx,yyy)  error in _AMLILoadDDB.

128, 129 are only for the corrected checksum.

Wish you a nice evening

Dietmar

 

Posted
14 hours ago, Dietmar said:

@reboot12

This are hacks against another Bsod, that I forget to implement in the acpi.sys 64 bit version also.

0xA5 (0x11,0x08,xxx,yyy)  error in _AMLILoadDDB.

128, 129 are only for the corrected checksum.

Wish you a nice evening

Dietmar

 

@Dietmar I have these post compile hacks. Do you use any others?

 

	REM 5.1 hacks
"%~dp0bbe.exe" -b "/\x33\xFF\x0B\xC7\x75/:5" -e "s/\x33\xFF\x0B\xC7\x75/\x33\xFF\x0B\xC7\xEB/" "%~dp0XPSP1\NT\base\busdrv\acpi\driver\nt\obj\i386\acpi.sys" -o "%~dp0Files\ACPI\X-hacked\5.1\acpi.sys"
	"%~dp0bbe.exe" -b "/\x00\x00\x84\xC0\x75\x08/:6" -e "s/\x00\x00\x84\xC0\x75\x08/\x00\x00\x84\xC0\xEB\x08/" "%~dp0Files\ACPI\X-hacked\5.1\acpi.sys" -o "%~dp0Files\ACPI\X-hacked\5.1\acpi2.sys"
del /q /s "%~dp0Files\ACPI\X-hacked\5.1\acpi.sys"
ren "%~dp0Files\ACPI\X-hacked\5.1\acpi2.sys" "acpi.sys"
	"%~dp0bbe.exe" -b "/\x85\xC0\x59\x59\x7C\x21/:6" -e "s/\x85\xC0\x59\x59\x7C\x21/\x85\xC0\x59\x59\x90\x90/" "%~dp0Files\ACPI\X-hacked\5.1\acpi.sys" -o "%~dp0Files\ACPI\X-hacked\5.1\acpi2.sys"
del /q /s "%~dp0Files\ACPI\X-hacked\5.1\acpi.sys"
ren "%~dp0Files\ACPI\X-hacked\5.1\acpi2.sys" "acpi.sys"
	"%~dp0bbe.exe" -b "/\x8B\x48\x18\x7D\x34\x8B/:6" -e "s/\x8B\x48\x18\x7D\x34\x8B/\x8B\x48\x18\xEB\x34\x8B/" "%~dp0Files\ACPI\X-hacked\5.1\acpi.sys" -o "%~dp0Files\ACPI\X-hacked\5.1\acpi2.sys"
del /q /s "%~dp0Files\ACPI\X-hacked\5.1\acpi.sys"
ren "%~dp0Files\ACPI\X-hacked\5.1\acpi2.sys" "acpi.sys"
	"%~dp0PEChecksum.exe" -c "%~dp0Files\ACPI\X-hacked\5.1\acpi.sys"
	
REM 5.2 x86 hacks
"%~dp0bbe.exe" -b "/\x33\xFF\x0B\xC7\x75/:5" -e "s/\x33\xFF\x0B\xC7\x75/\x33\xFF\x0B\xC7\xEB/" "%~dp0Win2K3\NT\base\busdrv\acpi\driver\nt\obj\i386\acpi.sys" -o "%~dp0Files\ACPI\X-hacked\5.2\acpi.sys"
	"%~dp0bbe.exe" -b "/\x00\x00\x84\xC0\x75\x08/:6" -e "s/\x00\x00\x84\xC0\x75\x08/\x00\x00\x84\xC0\xEB\x08/" "%~dp0Files\ACPI\X-hacked\5.2\acpi.sys" -o "%~dp0Files\ACPI\X-hacked\5.2\acpi2.sys"
del /q /s "%~dp0Files\ACPI\X-hacked\5.2\acpi.sys"
ren "%~dp0Files\ACPI\X-hacked\5.2\acpi2.sys" "acpi.sys"
	"%~dp0bbe.exe" -b "/\x85\xC0\x59\x59\x7C\x21/:6" -e "s/\x85\xC0\x59\x59\x7C\x21/\x85\xC0\x59\x59\x90\x90/" "%~dp0Files\ACPI\X-hacked\5.2\acpi.sys" -o "%~dp0Files\ACPI\X-hacked\5.2\acpi2.sys"
del /q /s "%~dp0Files\ACPI\X-hacked\5.2\acpi.sys"
ren "%~dp0Files\ACPI\X-hacked\5.2\acpi2.sys" "acpi.sys"
	"%~dp0bbe.exe" -b "/\x14\x8B\x50\x18\x7D\x21/:6" -e "s/\x14\x8B\x50\x18\x7D\x21/\x14\x8B\x50\x18\xEB\x21/" "%~dp0Files\ACPI\X-hacked\5.2\acpi.sys" -o "%~dp0Files\ACPI\X-hacked\5.2\acpi2.sys"
del /q /s "%~dp0Files\ACPI\X-hacked\5.2\acpi.sys"
ren "%~dp0Files\ACPI\X-hacked\5.2\acpi2.sys" "acpi.sys"
	"%~dp0PEChecksum.exe" -c "%~dp0Files\ACPI\X-hacked\5.2\acpi.sys"
	
REM 5.2 x64 hacks
"%~dp0bbe.exe" -b "/\x0F\xBA\xE1\x19\x72/:5" -e "s/\x0F\xBA\xE1\x19\x72/\x0F\xBA\xE1\x19\xEB/" "%~dp0Win2K3\NT\base\busdrv\acpi\driver\nt\obj\amd64\acpi.sys" -o "%~dp0Files\ACPI64\X-hacked\acpi.sys"
	"%~dp0bbe.exe" -b "/\x00\x00\x84\xC0\x75\x20/:6" -e "s/\x00\x00\x84\xC0\x75\x20/\x00\x00\x84\xC0\xEB\x20/" "%~dp0Files\ACPI64\X-hacked\acpi.sys" -o "%~dp0Files\ACPI64\X-hacked\acpi2.sys"
del /q /s "%~dp0Files\ACPI64\X-hacked\acpi.sys"
ren "%~dp0Files\ACPI64\X-hacked\acpi2.sys" "acpi.sys"
	"%~dp0bbe.exe" -b "/\xC0\x78\x2E\x48\x8B\x05/:6" -e "s/\xC0\x78\x2E\x48\x8B\x05/\xC0\x90\x90\x48\x8B\x05/" "%~dp0Files\ACPI64\X-hacked\acpi.sys" -o "%~dp0Files\ACPI64\X-hacked\acpi2.sys"
del /q /s "%~dp0Files\ACPI64\X-hacked\acpi.sys"
ren "%~dp0Files\ACPI64\X-hacked\acpi2.sys" "acpi.sys"
	"%~dp0bbe.exe" -b "/\x8B\x41\x20\x79\x2C\x48/:6" -e "s/\x8B\x41\x20\x79\x2C\x48/\x8B\x41\x20\xEB\x2C\x48/" "%~dp0Files\ACPI64\X-hacked\acpi.sys" -o "%~dp0Files\ACPI64\X-hacked\acpi2.sys"
del /q /s "%~dp0Files\ACPI64\X-hacked\acpi.sys"
ren "%~dp0Files\ACPI64\X-hacked\acpi2.sys" "acpi.sys"
	"%~dp0PEChecksum.exe" -c "%~dp0Files\ACPI64\X-hacked\acpi.sys"
	

Posted

@George King

I just compare your acpi.sys for XP SP2 bit64 with mine.

It is very much different. Did you compile it for yourself?

I add the Win10 fake and also the modifications from @Mov AX, 0xDEAD from January 2023.

Also I add the hack for wrong data type (thanks to Skull) and for the unknown symbols in AMLILoadDDB

Dietmar

Posted

@Dietmar Yes, its compiled by me, with some tweaks in acpiosnt.rc + type2op.

 

Not sure ehat you mean with this: I add the Win10 fake and also the modifications from @Mov AX, 0xDEAD from January 2023.

 

Here are my tweaks: https://ufile.io/lz97knph

 

And Im auto compiling it with this:

set PROCESSOR_ARCHITECTURE=x86
cmd /k "%~dp0Win2K3\NT\tools\razzle.cmd offline No_urt no_binaries no_certcheck No_prefast free && cd %~dp0Win2K3\NT\base\busdrv\acpi\driver && build /Dcegbw"

 

Please let me know what else I need to add to code.

Also please try to check if my patched file have all your post compile hacks aswell. Patches should be still same in HEX.

Posted

@George King

I cant remember all, what I changed. But it is much more than in your acpi.sys for XP SP2 bit64.

Also I remember, that I use for compile 2 modified txt files (hacks from @Mov AX, 0xDEAD ), but you use only one of them.

And you miss the important hack from Skull for wrong datatype

Dietmar

Posted
38 minutes ago, Dietmar said:

@George King

I cant remember all, what I changed. But it is much more than in your acpi.sys for XP SP2 bit64.

Also I remember, that I use for compile 2 modified txt files (hacks from @Mov AX, 0xDEAD ), but you use only one of them.

And you miss the important hack from Skull for wrong datatype

Dietmar

Please show me what's needed to be modded in my files. I will add it to my batch then. 

 

Maybe @Mov AX, 0xDEAD have some newer diff patches for source now to make it easy?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...