Class RP2A03

Inheritance Relationships

Base Type

Class Documentation

class RP2A03 : public MOS6502

NES CPU emulation class. Because the 2A03 is a clone of the 6502, the RP2A03 inherits from the 6502 and modifies the behaviour slightly. It contains all the ports and connectors of the 6502 and adds the OAMDMA.

Additional connectors: data “OAMDMA”, which is used to trigger the DMA unit.

Note

Normally the 2A03 contains also the APU but that is separated for a sake of modularity in this project.

Public Functions

RP2A03()
~RP2A03() override
virtual void init() override

Initialize a component to a default power-on state (hard reset).

Note

For Component developer: Implement a correct power-on state here.