PE machine definitions
Posted: Thu Jul 03, 2025 11:04 pm
As you may or may not know, Microsoft Windows is available for both ARM and x86 - and indeed, both platforms allow both 32-bit and 64-bit programming with small executables using msvcrt.dll for the C runtime library.
And PDOS-generic (at pdos.org) provides a mini Windows clone of all 4 of those environments.
Even though Microsoft may not be interested in porting their version to the 68000 or mainframe (S/370 or z/Arch), I am, and I would like to have official machine definition numbers for this field:
https://learn.microsoft.com/en-us/windo ... /pe-format
e.g.
IMAGE_FILE_MACHINE_AMD64
0x8664
x64
I need 32-bit 68000 and 32-bit S/370 and 64-bit z/Arch
I note that the UEFI spec uses PE too, so I was wondering if they were (now?) the official body that assigns numbers rather than Microsoft.
Either way I am reluctant to click on the UEFI spec which says "by clicking on this you agree ..." and prefer to keep a distance from them for (at least attempted) clean-room purposes.
I am happy to email them though, if the numbers don't already exist.
Any idea what the situation is? ie who controls number assignment?
Thanks. Paul.
And PDOS-generic (at pdos.org) provides a mini Windows clone of all 4 of those environments.
Even though Microsoft may not be interested in porting their version to the 68000 or mainframe (S/370 or z/Arch), I am, and I would like to have official machine definition numbers for this field:
https://learn.microsoft.com/en-us/windo ... /pe-format
e.g.
IMAGE_FILE_MACHINE_AMD64
0x8664
x64
I need 32-bit 68000 and 32-bit S/370 and 64-bit z/Arch
I note that the UEFI spec uses PE too, so I was wondering if they were (now?) the official body that assigns numbers rather than Microsoft.
Either way I am reluctant to click on the UEFI spec which says "by clicking on this you agree ..." and prefer to keep a distance from them for (at least attempted) clean-room purposes.
I am happy to email them though, if the numbers don't already exist.
Any idea what the situation is? ie who controls number assignment?
Thanks. Paul.