Ian Micheal wrote:I will make sd iso like megavolt said i have to look into allowing bios reactivation
Code: Select all
uint32 p;
volatile uint32 *react = (uint32 *)0xa05f74e4,
*bios = (uint32 *)0xa0000000;
// Reactivate drive: send the BIOS size and then read each
// word across the bus so the controller can verify it.
if(*bios == 0x4628e6ff)
{
*react = 0x3ff;
for(p = 0; p < 0x400 / sizeof(bios[0]); p++)
{
(void)bios[p];
}
}
else
{
*react = 0x1fffff;
for(p = 0; p < 0x200000 / sizeof(bios[0]); p++)
{
(void)bios[p];
}
}