A memory is a component capable of been read and written.
In Vinace, the class that represents memory is CMemory
. A
CMemory
object does not have to actually remind anything. For example,
CDummyMemory
, a child class of CMemory
, is a memory that
returns dummy values. It is used for filling areas that are not connected to any memory.
RAM and ROM are represented by CMemory
child classes CRamMemory
and
CRomMemory
.
Memory proxies, represented by CMemoryProxy
class, are
proxies that allow to address a part of a CMemory
object. Actually, they only
translate the address according to the start address of the target.