14 lines
317 B
C++
14 lines
317 B
C++
#include "stdafx.h"
|
|
#include "../inc/Ram.h"
|
|
|
|
EightBit::Ram::Ram(const size_t size) noexcept
|
|
: Rom(size) {}
|
|
|
|
uint8_t& EightBit::Ram::reference(const uint16_t address) noexcept {
|
|
return BYTES()[address];
|
|
}
|
|
|
|
void EightBit::Ram::poke(const uint16_t address, const uint8_t value) noexcept {
|
|
Rom::poke(address, value);
|
|
}
|