Yep - I saw the HDD patch a while ago, and that was cool and everything, but no details were ever released on how it was actually done.
If it was anything like SWATs original patch for his "bootloader" BIOS, I imagine it's just a pot-luck thing to modify the bytes in just the right combination to hit on a "valid" checksum for that block?
In SWAT's bootloader BIOS, I can see that he basically added a couple of bytes which then make the jump to his custom code that sits higher up near the BIOS Fonts section.
I guess a brute-force method could be used to pass that check there, but nobody has discovered the true algorithm yet (as
@MetalliC said), which would of course allow us to completely re-write the BIOS with our own GD syscall -> HDD routines (or at least let us easily patch much larger chunks of the stock BIOS.)
It would be great to create a custom BIOS which properly redirects the GD syscalls to read from HDD instead - that would be the "ultimate" mod IMHO, as it would in theory bypass many of the issues with Dreamshell regarding the syscall "stub" to stay resident in RAM (I think?).
I'm not sure if there are many (or any?) games which actually try to access the GD drive / G1 port directly?
Or, is it only the WinCE games which use the standard BIOS GD syscalls?
I don't know enough about the Katana / WinCE differences to know the answer tbh.
OzOnE.