XboxHardwareInfo flags:
0x00000008 for ARCADE which is normally set in the arcade bios. It's also the flag checked on boot to change the prefetch limit. Simply adding the flag doesn't change anything though because you'd still be missing the prefetch limit which was set on boot (I believe).
0x00000100 prevents the Virtua Cop 3 Test menu from remapping the DVD Drive to the D drive (?). I never saw this before (at least I don't remember) and the code for it was pretty weird. Note that it should still get a name collision if "D:\" was mapped previously
The Cihiro bios normally links \Device\CdRom0 to the same Mediaboard Partition (DIMM) as "mbfs:\". So mounting "D:\" to "\Device\CdRom0" should make "D:\" and "mbfs:\" equal.
I tried to recreate that by unlinking "\Device\CdRom0" and relinking it. However, on xbox the actual device is not considered a link (and the device doesn't seem to handle the "DeleteDevice" callback). So you can't create a new link called "\Device\CdRom0". I realized I could remap "D:\" to the same partition as my custom "mbfs:\" and it will look the same to the game.
There are some more differences between Chihiro and xbox though. Sorted from hardest to easiest:
- MmAllocateContiguousMemoryEx will not support as much memoy (?). Would need to figure out the variables and change them, then cause a reboot?
- PFN Database is in center of memory I believe, so we can't supply more contiguous memory(?). Probably very hard to change, bios (?) change would be the easiest?
- Videomode might be different. Hook Kernel or patch calls with HLE.
- EEPROM might be used differently. Hook the EEPROM API like nkpatcher etc.
- All of the LPC stuff is missing from xbox and games will probably look for that (using "in" / "out"?). Exception handlers or patch with HLE.
- JVS_SendCommand also seems to do something evil (Using kernel functions / objects?). Exception handlers or patch with HLE.
- The Cihiro loader will ignore the flag to setup the utility drives. Change XBE in memory or patch kernel?
- The ac* Library should be looked at.
0x00000008 for ARCADE which is normally set in the arcade bios. It's also the flag checked on boot to change the prefetch limit. Simply adding the flag doesn't change anything though because you'd still be missing the prefetch limit which was set on boot (I believe).
0x00000100 prevents the Virtua Cop 3 Test menu from remapping the DVD Drive to the D drive (?). I never saw this before (at least I don't remember) and the code for it was pretty weird. Note that it should still get a name collision if "D:\" was mapped previously
The Cihiro bios normally links \Device\CdRom0 to the same Mediaboard Partition (DIMM) as "mbfs:\". So mounting "D:\" to "\Device\CdRom0" should make "D:\" and "mbfs:\" equal.
I tried to recreate that by unlinking "\Device\CdRom0" and relinking it. However, on xbox the actual device is not considered a link (and the device doesn't seem to handle the "DeleteDevice" callback). So you can't create a new link called "\Device\CdRom0". I realized I could remap "D:\" to the same partition as my custom "mbfs:\" and it will look the same to the game.
There are some more differences between Chihiro and xbox though. Sorted from hardest to easiest:
- MmAllocateContiguousMemoryEx will not support as much memoy (?). Would need to figure out the variables and change them, then cause a reboot?
- PFN Database is in center of memory I believe, so we can't supply more contiguous memory(?). Probably very hard to change, bios (?) change would be the easiest?
- Videomode might be different. Hook Kernel or patch calls with HLE.
- EEPROM might be used differently. Hook the EEPROM API like nkpatcher etc.
- All of the LPC stuff is missing from xbox and games will probably look for that (using "in" / "out"?). Exception handlers or patch with HLE.
- JVS_SendCommand also seems to do something evil (Using kernel functions / objects?). Exception handlers or patch with HLE.
- The Cihiro loader will ignore the flag to setup the utility drives. Change XBE in memory or patch kernel?
- The ac* Library should be looked at.
