Suggestion is to use the already existing flasher and inject a new .bin into it

you're crashing the drive, DDDD is dummy data returned on timeout. in CMD_InjectCustomDriveCode try reading drive memory (ie 0x804c) to see at which step it crashes. also read back the block at 40d000 to see if its written correctly.After injecting the drivecode "CMD_InjectCustomDriveCode()" the next action is "CheckDriveState(true)"...
while checking the drive state, "dwIntVec" is equal to 0xDDDDDDDD
thats where it hangs...
I think I finally understand that. The code I had for DVD_CallFunc() only cleared some existing interrupts (dvd[0] = 0x14) because I didn't understand what I was doing at the time. I believe a lot of the hanging problems, etc., are caused by this. My idea is to enable the interrupts (dvd[0] = 0x2e) so that potentially the drive won't hang up at that point.emu_kidid wrote:I had a brief chat with the original author. he says that the mn102 code can block the ppc since it masks interrupts whilst it does stuff
Code: Select all
if(buttonsDown & PAD_TRIGGER_Z) {
// programm the chip
FlashInit();
FlashErase();
//set blue color, black background
printf("\x1b[36m \x1b[40m");
printf("\n\nFLASH ERASE Complete !!");
}
>>> BadAssConsoles.com <<<emu_kidid wrote: beer is like WD40 for megalomaniac's brain, gets the gears moving
Code: Select all
http://www.gc-forever.com/wiki/index.php?title=File:SerialBlock.png
>>> BadAssConsoles.com <<<emu_kidid wrote: beer is like WD40 for megalomaniac's brain, gets the gears moving
Good to hear.dantheman2865 wrote:Hey guys, it's good to be back.
In my absence I have learned a heck of a lot about digital hardware and embedded software so I'm ready to take another crack at this problem. Has anyone made any more progress not posted here? I know there was an effort to sub the old binary in the existing flasher .dol with the new binary... Otherwise, it seems like there is a very solid base here if we can figure out the weird bugs.
Consider this thread revived!
>>> BadAssConsoles.com <<<emu_kidid wrote: beer is like WD40 for megalomaniac's brain, gets the gears moving
>>> BadAssConsoles.com <<<emu_kidid wrote: beer is like WD40 for megalomaniac's brain, gets the gears moving
>>> BadAssConsoles.com <<<emu_kidid wrote: beer is like WD40 for megalomaniac's brain, gets the gears moving
with all the knowledge on this forum and on irc we could be a gamecube open source super modchip!dantheman2865 wrote:That's a good point, an open-source drive-chip would provide more functionality. I am most interested in this because it's my current setup, although it would be nice to provide an upgrade to people who already have Xenos.
Then start a project! I think tmbinc's schematic for a modchip will do.liquitt wrote:with all the knowledge on this forum and on irc we could be a gamecube open source super modchip!dantheman2865 wrote:That's a good point, an open-source drive-chip would provide more functionality. I am most interested in this because it's my current setup, although it would be nice to provide an upgrade to people who already have Xenos.