Add new PMC3 flashing method

This commit is contained in:
Jeremy Soller
2020-01-16 14:40:24 -07:00
parent 5c4d946a66
commit f5c87e8f25
6 changed files with 261 additions and 195 deletions

View File

@@ -76,9 +76,9 @@ void pmc_event(struct Pmc * pmc) {
pmc_sci_queue = 0;
break;
case 0xDC:
case 0xEC:
DEBUG(" scratch rom\n");
pmc_write(pmc, 0x33, PMC_TIMEOUT);
pmc_write(pmc, 0x76, PMC_TIMEOUT);
scratch_trampoline();
break;
}