static void reset(RomMapperOpcodeModule* rm)
{
    rm->slotSelect      = 0;
    rm->megaRamLatch[0] = 0;
    rm->megaRamLatch[1] = 0;
    rm->megaRamLatch[2] = 0;
    rm->megaRamLatch[3] = 0;
    rm->biosLatch       = 0;

    slotUpdate(0);

    ay8910Reset(rm->ay8910);
}
Exemple #2
0
static void reset()
{
    UInt32 systemTime = boardSystemTime();

    slotManagerReset();

    if (r800 != NULL) {
        r800Reset(r800, systemTime);
    }
    if (ay8910 != NULL) {
        ay8910Reset(ay8910);
    }

    sviMemSetBank(0xDF);

    ledSetCapslock(0);

    deviceManagerReset();
}