Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

MOS6526_2 Class Reference

#include <CIA.h>

Inheritance diagram for MOS6526_2:

Inheritance graph
Collaboration diagram for MOS6526_2:

Collaboration graph
List of all members.

Public Member Functions

 MOS6526_2 (MOS6510 *CPU, MOS6569 *VIC, MOS6502_1541 *CPU1541)
virtual ~MOS6526_2 ()
void Reset (void)
uint8 ReadRegister (uint16 adr)
void WriteRegister (uint16 adr, uint8 byte)
virtual void TriggerInterrupt (int bit)

Public Attributes

uint8 IECLines

Private Attributes


Constructor & Destructor Documentation

MOS6526_2::MOS6526_2 MOS6510 CPU,
MOS6569 VIC,
MOS6502_1541 CPU1541

Definition at line 51 of file CIA.cpp.

References __CHECK_NULL, and CTOR.

MOS6526_2::~MOS6526_2  )  [virtual]

Definition at line 70 of file CIA.cpp.

References DTOR.

Member Function Documentation

uint8 MOS6526_2::ReadRegister uint16  adr  ) 

Definition at line 258 of file CIA.cpp.

References MOS6510::ClearNMI(), MOS6526::cra, MOS6526::crb, MOS6526::ddra, MOS6526::ddrb, MOS6526::icr, MOS6502_1541::IECLines, IECLines, MOS6526::pra, MOS6526::prb, MOS6526::sdr, MOS6526::ta, MOS6526::tb, MOS6526::the_cpu, the_cpu_1541, MOS6526::tod_10ths, MOS6526::tod_halt, MOS6526::tod_hr, MOS6526::tod_min, MOS6526::tod_sec, and uint8.

Referenced by MOS6510::read_byte_io().

void MOS6526_2::Reset void   ) 

Reimplemented from MOS6526.

Definition at line 110 of file CIA.cpp.

References MOS6569::ChangedVA(), ELOG1, IECLines, MOS6526::Reset(), and the_vic.

Referenced by C64::Reset(), and C64::Run().

void MOS6526_2::TriggerInterrupt int  bit  )  [virtual]

Implements MOS6526.

Definition at line 582 of file CIA.cpp.

References MOS6526::icr, MOS6526::int_mask, MOS6526::the_cpu, and MOS6510::TriggerNMI().

Referenced by WriteRegister().

void MOS6526_2::WriteRegister uint16  adr,
uint8  byte

Definition at line 394 of file CIA.cpp.

References MOS6526::alm_10ths, MOS6526::alm_hr, MOS6526::alm_min, MOS6526::alm_sec, MOS6569::ChangedVA(), MOS6526::cra, MOS6526::crb, MOS6526::ddra, MOS6526::ddrb, MOS6526::icr, MOS6502_1541::IECInterrupt(), IECLines, MOS6526::int_mask, MOS6526::latcha, MOS6526::latchb, MOS6502_1541::NewATNState(), MOS6526::pra, MOS6526::prb, MOS6526::sdr, MOS6526::ta, MOS6526::ta_cnt_phi2, MOS6526::tb, MOS6526::tb_cnt_phi2, MOS6526::tb_cnt_ta, MOS6526::the_cpu, the_cpu_1541, the_vic, MOS6526::tod_10ths, MOS6526::tod_hr, MOS6526::tod_min, MOS6526::tod_sec, TriggerInterrupt(), MOS6510::TriggerNMI(), and uint8.

Referenced by MOS6510::write_byte_io().

Member Data Documentation

uint8 MOS6526_2::IECLines

Definition at line 102 of file CIA.h.

Referenced by MOS6502_1541::NewATNState(), MOS6502_1541::read_byte_io(), ReadRegister(), Reset(), MOS6502_1541::write_byte_io(), and WriteRegister().

MOS6502_1541* MOS6526_2::the_cpu_1541 [private]

Definition at line 106 of file CIA.h.

Referenced by ReadRegister(), and WriteRegister().

MOS6569* MOS6526_2::the_vic [private]

Definition at line 105 of file CIA.h.

Referenced by Reset(), and WriteRegister().

The documentation for this class was generated from the following files:
Generated on Tue Feb 8 04:12:29 2005 for E32frodo by doxygen 1.3.3