protected void WriteByteAt(ushort address, byte value, bool timing) { if (!_initialised) { throw new MemoryNotInitialisedException(); } IMemorySegment segment = _map.SegmentFor(address); if (segment != null || !segment.ReadOnly) { segment.WriteByteAt(AddressOffset(address, segment), value); } if (timing) { _cpu.Timing.MemoryWriteCycle(address, value); } }