Does Windows XP have EFI?

Discuss Windows 2000, NT, XP and Windows Server 2000, 2003, SBS 2003.
Seven4ever1
Posts: 39
Joined: Tue Aug 29, 2023 12:32 pm

Re: Does Windows XP have EFI?

Post by Seven4ever1 »

Yes my ACPI comes from this trhead ;) . With original one booting gives BSOD. Then I had a second one, was working in UEFI but not in CSM. The latest one works correctly:
Image
As you can see, i have an AMD generic USB driver, perhaps i have to port the Seven driver (from Intel) with ntoskrnl emu.
My system installation seems clean, as you can see i have only 1 dummy driver for Intel power engine interface + one for Monitor (Vbemp can't detect) but I'm in full resolution.

Seven4ever1
Posts: 39
Joined: Tue Aug 29, 2023 12:32 pm

Re: Does Windows XP have EFI?

Post by Seven4ever1 »

In fact Intel USB driver from W7 can't be loaded via kernel emu, the usb3 hub driver needs ksecdd.sys with BCrypt functions.
I try now via windbg and serial port

Seven4ever1
Posts: 39
Joined: Tue Aug 29, 2023 12:32 pm

Re: Does Windows XP have EFI?

Post by Seven4ever1 »

Some progresses here.
I have done all updates up to 2019 I have found, reboot problem persist.
I've a PS2 port on mobo, connected a PS2 mouse. After i have completly removed all usb devices and port and multiple reboots, reboot problem persist.
So reboot problem comes from a other driver or EFI itself

Beta12
User avatar
Posts: 275
Joined: Sat Sep 21, 2013 11:19 am
Location: Poland

Re: Does Windows XP have EFI?

Post by Beta12 »

Seven4ever1 wrote:
Sat Sep 09, 2023 8:19 am
I have done all updates up to 2019 I have found, reboot problem persist.
WinXP SP2 64-bit does not need any updates to operate under UEFI. The system works best without any updates even for the BIOS legacy. I use only a few updates that add support for new technologies, e.g. exFAT, NVMe, X.509
Additionally NET Framework 2.0 and/or 3.0 and several Microsoft Visual C++ Redistributable - that's all :)

The operating system that has several dozen or several hundred updates is not the same system anymore 8-)

Seven4ever1
Posts: 39
Joined: Tue Aug 29, 2023 12:32 pm

Re: Does Windows XP have EFI?

Post by Seven4ever1 »

With my updates, I have now Ie8 completely without freezes, but with his user agent it can't access a lot of sites. Some are working in Https.
The web browsers based on Gecko still freeze, I haven't find why, perhaps because I haven't a real graphic driver

Beta12
User avatar
Posts: 275
Joined: Sat Sep 21, 2013 11:19 am
Location: Poland

Re: Does Windows XP have EFI?

Post by Beta12 »

Seven4ever1 wrote:
Sat Sep 09, 2023 3:29 pm
The web browsers based on Gecko still freeze, I haven't find why, perhaps because I haven't a real graphic driver
Change the loader to Flashboot + native UHD 630 graphics card driver or change the graphics card to PCIe, e.g. AMD (I test AMD HD7450) and use UefiSeven + native AMD driver

Seven4ever1
Posts: 39
Joined: Tue Aug 29, 2023 12:32 pm

Re: Does Windows XP have EFI?

Post by Seven4ever1 »

There is no native UHD 630 driver for this H310 Gigabyte mobo and XP, flashboot works with in this case with vga.sys and no graphics enhancement. I have no room on mobo to add external graphic card, internal UHD 630 works well on W11/10/7 including 4k H265.
Must find a solution.

Beta12
User avatar
Posts: 275
Joined: Sat Sep 21, 2013 11:19 am
Location: Poland

Re: Does Windows XP have EFI?

Post by Beta12 »

Seven4ever1 wrote:
Sat Sep 09, 2023 5:28 pm
I have no room on mobo to add external graphic card
I don't understand? After all, there is a PCIe slot on the H310M S2P motherboard?

Seven4ever1
Posts: 39
Joined: Tue Aug 29, 2023 12:32 pm

Re: Does Windows XP have EFI?

Post by Seven4ever1 »

I have DVB cards installed in it an a sound card

Beta12
User avatar
Posts: 275
Joined: Sat Sep 21, 2013 11:19 am
Location: Poland

Re: Does Windows XP have EFI?

Post by Beta12 »

Seven4ever1 wrote:
Sat Sep 09, 2023 7:57 pm
I have DVB cards installed in it an a sound card
H310 also seems to be two PCI ports - replace these devices with PCI versions. I have two PC with WinXP 64-bit in which I use such PCI sound cards:
M-Audio Audiophile 2496
Creative SoundBlaster Live CT4830

In the PCIe slot, install the graphics card to which there are drivers for WinXP 64-bit, e.g. AMD HD 6xxx, 7xxx, 8xxx or Rx 200 series - use one that has a GOP firmware

Seven4ever1
Posts: 39
Joined: Tue Aug 29, 2023 12:32 pm

Re: Does Windows XP have EFI?

Post by Seven4ever1 »

I've finally found why reboot don't work with UefiSeven and XP 64:
For some reason, after a reboot command, Vbemp (or OS itself) send a unknow int10 command to the Uefiseven emulator.
See UefiSeven asm part for int10 handler
If command is unknow, it goes to infinite loop Hang
I've modified this to: jmp Unsupported

And voila, reboot works like a charm

Beta12
User avatar
Posts: 275
Joined: Sat Sep 21, 2013 11:19 am
Location: Poland

Re: Does Windows XP have EFI?

Post by Beta12 »

Seven4ever1 wrote:
Sun Sep 10, 2023 9:07 am
I've modified this to: jmp Unsupported
And voila, reboot works like a charm
That's great :) Please share the compiled version.

Seven4ever1
Posts: 39
Joined: Tue Aug 29, 2023 12:32 pm

Re: Does Windows XP have EFI?

Post by Seven4ever1 »

Pm send to you for patched binarys, I've give all instructions above for compil yourself

Beta12
User avatar
Posts: 275
Joined: Sat Sep 21, 2013 11:19 am
Location: Poland

Re: Does Windows XP have EFI?

Post by Beta12 »

I have to fix here, yes?
Image Image

Seven4ever1
Posts: 39
Joined: Tue Aug 29, 2023 12:32 pm

Re: Does Windows XP have EFI?

Post by Seven4ever1 »

Yes, no need to recompil, patch directly. Look for my patched one, do a fc/b between original and patched one ;)

Beta12
User avatar
Posts: 275
Joined: Sat Sep 21, 2013 11:19 am
Location: Poland

Re: Does Windows XP have EFI?

Post by Beta12 »

I tested vbemp with Flashboot and UefiSeven on pure UEFI on Intel iGPU:
  • flashboot + vbemp org or UsefulAGKHelper mod - WinXP 64-bit not boot
  • UefiSeven org + vbemp org or UsefulAGKHelper mod - WinXP 64-bit boot OK
There is also a problem with restarting the system as described by Seven4ever1, but the UefiSeven (1.24) jmp Unsupported patch does not help :( > (edited) patch works > viewtopic.php?p=475216#p475216
Last edited by Beta12 on Sun Sep 17, 2023 6:23 am, edited 1 time in total.

Seven4ever1
Posts: 39
Joined: Tue Aug 29, 2023 12:32 pm

Re: Does Windows XP have EFI?

Post by Seven4ever1 »

Did you only patch the infinite loop in uefiseven ?
My patch includes also full resolution Gop, must be used with Winload.efi patched.
And if our full Gop resolution is not 1920*1080 You need to patch to your resolution or restore 1028*768 original values in both UEFISeven AND Winload.efi
Flashboot can't work with Vbemp because it want original VGA for Ram patching.
What is your motherboard ?
Last edited by Seven4ever1 on Wed Sep 13, 2023 7:56 pm, edited 1 time in total.

Beta12
User avatar
Posts: 275
Joined: Sat Sep 21, 2013 11:19 am
Location: Poland

Re: Does Windows XP have EFI?

Post by Beta12 »

How to patch full GOP resolution?

Seven4ever1
Posts: 39
Joined: Tue Aug 29, 2023 12:32 pm

Re: Does Windows XP have EFI?

Post by Seven4ever1 »

I repeat: compare locations with FC / b between original and my patched binarys then use a hex editor to patch then rewrite header's checksum.
What is your full resolution and Motherboard ?
Other solution use IDA like me to unassemble ...

Beta12
User avatar
Posts: 275
Joined: Sat Sep 21, 2013 11:19 am
Location: Poland

Re: Does Windows XP have EFI?

Post by Beta12 »

Seven4ever1 wrote:
Wed Sep 13, 2023 7:58 pm
my patched binarys
Share your patched binarys. Until now, I have not received any private message from you :(

Seven4ever1
Posts: 39
Joined: Tue Aug 29, 2023 12:32 pm

Re: Does Windows XP have EFI?

Post by Seven4ever1 »

I've send you a private message few days ago, don't get it ?
PM resend.

Beta12
User avatar
Posts: 275
Joined: Sat Sep 21, 2013 11:19 am
Location: Poland

Re: Does Windows XP have EFI?

Post by Beta12 »

Yes, now I have binaries on PM - thank you.

I compared winload.efi org with a patched version but nothing tells me.
My native monitor resolution is 1366x768, MB Asus P8H61-M LE R2

Seven4ever1
Posts: 39
Joined: Tue Aug 29, 2023 12:32 pm

Re: Does Windows XP have EFI?

Post by Seven4ever1 »

Ah yes, max resolution don't match mine.
Nothing tells me ? what is output of fc /b ?
edit
Pattern modification for infinite loop suppress :

EB FE 06 57 1E 56 -> EB 66 06 57 1E 56
No checksum to write for this file.

Beta12
User avatar
Posts: 275
Joined: Sat Sep 21, 2013 11:19 am
Location: Poland

Re: Does Windows XP have EFI?

Post by Beta12 »

Do I understand correctly that to patch 1366x768 I have to change it in the winload.efi in one place and in uefiseven.efi in four places and leave the other differences ??

Patched files have 1920x1080:

1920 > 0780 h > 80 07
1080 > 0438 h > 38 04

For 1366x768 I need:

1366 > 0556 h > 56 05
768 > 0300 h > 00 03

Seven4ever1
Posts: 39
Joined: Tue Aug 29, 2023 12:32 pm

Re: Does Windows XP have EFI?

Post by Seven4ever1 »

Yes at different places for uefiseven's efi
For winload.efi, it's at offset 5764h . Don't forget to rewrite checksum for this one.

Post Reply