static refcount_ptr< Component > Create(const ComponentCreateArgs &args)
Creates a MainbusComponent.
static string GetAttribute(const string &attributeName)
Get attribute information about the MainbusComponent class.
virtual void AddressSelect(uint64_t address)
Place an address on the bus.
MainbusComponent()
Constructs a MainbusComponent.
virtual AddressDataBus * AsAddressDataBus()
Returns the component's AddressDataBus interface.
virtual bool PreRunCheckForComponent(GXemul *gxemul)
Checks the state of this component, before starting execution.
virtual bool ReadData(uint8_t &data, Endianness endianness)
Reads 8-bit data from the currently selected address.
virtual void FlushCachedStateForComponent()
Resets the cached state of this component.
virtual bool WriteData(const uint8_t &data, Endianness endianness)
Writes 8-bit data to the currently selected address.
static void RunUnitTests(int &nSucceeded, int &nFailures)
virtual ~MainbusComponent()