Searched refs:TheCIA2 (Results 1 – 15 of 15) sorted by relevance
71 TheCIA2 = TheCPU->TheCIA2 = TheCPU1541->TheCIA2 = new MOS6526_2(TheCPU, TheVIC, TheCPU1541); in C64()114 delete TheCIA2; in ~C64()144 TheCIA2->Reset(); in Reset()436 TheCIA2->GetState(&state); in SaveCIAState()454 TheCIA2->SetState(&state); in LoadCIAState()497 TheCIA2->EmulateCycle(); \627 TheCIA2->EmulateCycle(); in LoadSnapshot()649 TheCIA2->EmulateCycle(); in LoadSnapshot()
175 TheCIA2->Reset(); in Run()217 TheCIA2->CountTOD(); in VBlank()344 TheCIA2->CheckIRQs();346 TheCIA2->EmulateCycle();363 TheCIA2->EmulateLine(ThePrefs.CIACycles);
62 TheCIA2->Reset(); in Run()166 TheCIA2->CountTOD(); in VBlank()297 TheCIA2->CheckIRQs();299 TheCIA2->EmulateCycle();324 TheCIA2->EmulateLine(ThePrefs.CIACycles);
72 TheCIA2->Reset(); in Run()150 TheCIA2->CountTOD(); in VBlank()375 TheCIA2->EmulateLine(ThePrefs.CIACycles); in thread_func()413 TheCIA2->EmulateCycle(); in EmulateCyclesWith1541()432 TheCIA2->EmulateCycle(); in EmulateCyclesWithout1541()
91 TheCIA2->Reset(); in Run()177 TheCIA2->CountTOD(); in VBlank()353 TheCIA2->CheckIRQs(); in thread_func()355 TheCIA2->EmulateCycle(); in thread_func()370 TheCIA2->EmulateLine(ThePrefs.CIACycles); in thread_func()
201 | ((IECLines & TheCIA2->IECLines) >> 7) // DATA in read_byte_io()202 | ((IECLines & TheCIA2->IECLines) >> 4) & 0x04 // CLK in read_byte_io()203 | (TheCIA2->IECLines << 3) & 0x80) ^ 0x85; // ATN in read_byte_io()323 IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 in write_byte_io()333 IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 in write_byte_io()
121 | ((IECLines & TheCIA2->IECLines) >> 7) // DATA in read_byte_io()122 | ((IECLines & TheCIA2->IECLines) >> 4) & 0x04 // CLK in read_byte_io()123 | (TheCIA2->IECLines << 3) & 0x80) ^ 0x85; // ATN in read_byte_io()243 IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 in write_byte_io()253 IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 in write_byte_io()
305 TheCIA2->Reset(); in Run()349 TheCIA2->EmulateCycle(); in thread_func()365 TheCIA2->EmulateLine(ThePrefs.CIACycles); in thread_func()
64 MOS6526_2 *TheCIA2; // Pointer to C64 CIA 2 variable254 IECLines = (byte << 6) & ((~byte ^ TheCIA2->IECLines) << 3) & 0x80 // DATA (incl. ATN acknowledge) in NewATNState()
235 return TheCIA2->ReadRegister(adr & 0x0f); in read_byte_io()350 TheCIA2->WriteRegister(adr & 0x0f, byte); in write_byte_io()
83 MOS6526_2 *TheCIA2; variable
81 MOS6526_2 *TheCIA2; // Pointer to CIA 2 variable
174 return TheCIA2->ReadRegister(adr & 0x0f); in read_byte_io()328 TheCIA2->WriteRegister(adr & 0x0f, byte); in write_byte_io()
24 static MOS6526_2 *TheCIA2; variable280 TheCIA2 = the_c64->TheCIA2; in SAM()1821 TheCIA2->GetState(&cs); in view_cia_state()
120 TheCIA2->EmulateLine(last_cycles);