Hello!
I have been wondering what the actual assembly is for doing the reset trick that is patched into ip.bin by binhack and friends.
The most i could find was a nicely detailed listing of the in-place binary unscrambling routine but it doesnt talk about the rest of the code inserted.
im going to start disassembling the inserted code, but some pointers for what part im looking for would be great!
heres the two things. i can also add some of my own disassemblies as well, but they have no comments but are easy enough to follow
The scramble.c is just the original code Marcus comstadt wrote, the disassembly is of the same functionality present within a binhacked IP.bin, aka what ECHELON wrote to enable self booting from CD-Rs. Everything posted currently just deals with unscrambling the binary once scatter loaded.
I posted it to show where NOT to look for the gd-rom reset instructions. Sorry if it's confusing.
The bios once loading a MIL-CD locks and disables the drive after loading a binary. I'm just looking for what needs to be done to reset and unlock the gd-rom drive so games can be loaded.
This functionality may also be present in kalistios but I'm not certain, I'm only familiar to commercial binaries and 1st party compilation environments, I don't know anything about homebrew.
Thank you everyone! I really really appreciate, I've been working toying more with IP.bin and I didn't like the requirement of having to use binhack when I figured it could be done by hand.
Thanks! By reading those and doing more research I got my initial project working!!!
So far it's not too impressive but I'm going to grow it more tonight because I'm so excited that it's working!
At the moment I can add intros/cracktros to "any" (katana and homebrew tested) game without actually modifying any original bins or data. Its pointless and most people won't care but I just love little experiments like this.
Videos coming later, pictures aren't interesting
I don't remember one in particular, but IIRC there was a case in the widescreen thread of a value that was written over each frame and made it complicated to patch in the bootbin.
IT WORKS! Now the next big big hurdle is getting sound working, anyone know how to have the spu play an s3m? Libs3m and the libdream examples aren't working for me and it's probably a bigger issue in my framework.
Yep videos showing my progress on this project:
And on real hardwire (dreamshell not required but I didn't want to burn a disc)