Interface BusComponent
Bus component interface.
Methods
| Name | Description |
|---|---|
getSize
()
|
Returns the bus component size on the address bus, this cannot be variable at execution time, if the component's size changes, the emulator will present undefined behaviour. |
read
(Address)
|
Read a byte from this bus component, like in the write method, the address will be translated. |
write
(Address, Data)
|
Write data to this bus component. The address will be translated from the real address to a zero-indexed address. |
getAuthor
()
|
Returns a string with the component author's name. |
getName
()
|
Returns a string with the component's name. |