public override byte Get(ushort index) { //We are setting the ROM to start from 0 and the RAM starts after the end of the RAM if (index > _rom.Size - 1) { return(_ram.Get((ushort)(_rom.Size + index))); } else { return(_rom.Get(index)); } }
public MemoryUnit Get(byte address) { return(ram.Get(address)); }