QUOTE(windowsex @ May 8 2007, 11:17 PM)
Let's not bother writing a new boot loader as of yet - we can later if absolutely necessary but let's try to get a simulacrum BIOS working (as a default.xbe) and attempt to run NTLDR over this - we can go from there...
This would take the same approach which was used to get Mac's to boot Windows.
I understand the legal implications but from a theoretical point of view is there any reason why Insignia's SoftPC Code (and/or real Microsoft NT based NTVDM/MVDM or even Bochs/BAMBIOS source would not work - to create a Default.XBE Simulacrum BIOS which the real NTLDR would boot from ???
If you can get a BIOS to run on the Xbox hardware, I expect it would prove quite useful. No "simulacrum" is required - the Xbox is a PC, there's no fakery
NTDETECT and/or the kernel are still going to hang the box when they scan the PCI bus, I note. That dratted bus implementation bug is pretty much a permanent barrier to running any modern PC OS unmodified.
You seem to be confusing several things, though. SoftPC and Bochs are both x86 emulators, which doesn't at all do what's needed - there's a million-and-one ways to run whatever OS you like under emulation already. Their BIOS emulation is unlikely to be portable - it undoubtedly depends on the functionality of the emulator. NTVDM is an x86 real-mode virtualiser - we have a perfectly good real mode on the CPU already, and BIOS calls under NTVDM are handled by protected-mode Windows code using high-level OS functionality. You aren't going to run NTLDR out of virtual x86 mode.
BAMBIOS is an EFI application that emulates a PC BIOS, which also doesn't help you much as we have no EFI to get hardware support from.
All you want is to drop the CPU back to real mode and start running a real BIOS which uses old-fashioned direct hardware access to do everything.
We could even go as far as creating a simulacrum BIOS then running a EFI application on top (giving a full UEFI environment) which would bring up Windows.
EFI seems somewhat pointless; NTLDR can boot just fine from a vaguely PC-compatible BIOS, there's nothing gained by emulating EFI.