Class ROM
Basic ROM component.
Constructors
| Name | Description |
this
(Size, Data)
|
Instantiate a ROM device with a given fixed size and data.
|
Methods
| Name | Description |
write
(Address, Data)
|
This method will do nothing for obvious reasons.
|
getAuthor
()
|
Returns a string with the component author's name.
|
getName
()
|
Returns a string with the component's name.
|
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.
|