Can not read SD.

Started by Koelkast, August 02, 2011, 03:00:46 PM

Previous topic - Next topic

dcx2

I could try to make a code handler source file with in-line debugger patches, and I could probably also make a conditional assembler directive that allows you to specify whether you're building a GCN or Wii handler.

WiiPower

Quote from: dcx2 on August 09, 2011, 08:57:07 PM
I could try to make a code handler source file with in-line debugger patches, and I could probably also make a conditional assembler directive that allows you to specify whether you're building a GCN or Wii handler.

Nice. Hmm, if you do that, i have to update my stuff...

If you do that, how much work would it be to update it even further? Like to allow to specify where the code handler is put? 0x80001800 or 0x817FC000 for example. This could actually encourage me to write the high memory stuff, which would also allow more code lines. Would that help with the other topic?

dcx2

Other than writing a new breakpoint handler, it should just be a matter of giving new command-line parameters to the build process so that it targets 817FC000 instead of 80001800, and then changing how the apploader hooks.  If there's a way to pass in symbols to the assembler from the command line, it's even easier, otherwise you might have to edit one line at the beginning of the source to make it target GCN instead of Wii.