namespace BizHawk.Emulation.Cores.Computers.SinclairSpectrum { /// /// The abstract class that all emulated models will inherit from /// * Port Access * /// public abstract partial class SpectrumBase { /// /// The last OUT data that was sent to the ULA /// protected byte LastULAOutByte; public byte LASTULAOutByte { get { return LastULAOutByte; } set { LastULAOutByte = value; } } public byte Last7ffd; public byte LastFe; public byte Last1ffd; /// /// Reads a byte of data from a specified port address /// /// /// public abstract byte ReadPort(ushort port); /// /// Writes a byte of data to a specified port address /// /// /// public abstract void WritePort(ushort port, byte value); } }