Class to emulate the RAM.
void write8_cpu(uint32_t offset, uint8_t data)
Writes a byte to the RAM.
std::vector< uint8_t > data
Data of the RAM.
void write32_cpu(uint32_t offset, uint32_t data)
Writes a 32-bit word to the RAM.
RAM(uint32_t size)
Construct a new RAM:: RAM object.
void write16_cpu(uint32_t offset, uint16_t data)
Writes a 16-bit word to the RAM.
uint32_t read32_cpu(uint32_t offset)
Reads a 32-bit word from the RAM.
uint16_t read16_cpu(uint32_t offset)
Reads a 16-bit word from the RAM.
uint8_t read8_cpu(uint32_t offset)
Reads a byte from the RAM.