Class Bare6502
Defined in File Bare6502.h
Inheritance Relationships
Base Type
public System
(Class System)
Class Documentation
-
class Bare6502 : public System
Bare 6502 system. Unfinished.
Public Functions
-
Bare6502()
-
~Bare6502() override = default
-
virtual void init() override
Initialize a System to a power-on state. Default implementation just calls init on all components in m_components.
Note
For System developer: If there is any other operation except initializing all the components, you can override the method and implement the initialization yourself.
-
virtual void doClocks(unsigned int count) override
Proceed specified number of system clocks.
Note
For System developer: implement a reaction to a main clock signal. Normally whole emulation is driven by this function.
- Parameters
count – Number of clock to process.
-
virtual void doSteps(unsigned int count) override
Proceed specified number of CPU instructions.
Note
For System developer: You can for example proceed by single clocks until the CPU processes specified number of instructions. If there is no CPU, provide dummy method.
- Parameters
count – Number of instructions to process.
-
Bare6502()