Code: Select all
vramSetBankE(VRAM_E_MAIN_BG);
vramSetBankF(VRAM_F_MAIN_SPRITE);
consoleDemoInit();
consoleDebugInit(DebugDevice_CONSOLE);
sysSetCardOwner(true);
for (int i=0; i<0x10000; i++)
{
if (SRAM[i] != 0)
printf("%d ", i);
}
Code: Select all
vramSetBankE(VRAM_E_MAIN_BG);
vramSetBankF(VRAM_F_MAIN_SPRITE);
consoleDemoInit();
consoleDebugInit(DebugDevice_CONSOLE);
sysSetCardOwner(true);
for (int i=0; i<0x10000; i++)
{
if (SRAM[i] != 0)
printf("%d ", i);
}
I tried writing the values like this:Erase Entire Chip (all device types)
[E005555h]=AAh, [E002AAAh]=55h, [E005555h]=80h (erase command)
[E005555h]=AAh, [E002AAAh]=55h, [E005555h]=10h (erase entire chip)
wait until [E000000h]=FFh (or timeout)
Erases all memory in chip, erased memory is FFh-filled.
Code: Select all
SRAM[0x005555] = 0xAA;
SRAM[0x002AAA] = 0x55;
SRAM[0x005555] = 0x80;
SRAM[0x005555] = 0xAA;
SRAM[0x002AAA] = 0x55;
SRAM[0x005555] = 0x10;
Users browsing this forum: No registered users and 0 guests