BizHawk/BizHawk.Emulation/Computers/Commodore64/MOS/SerialPort.cs

38 lines
679 B
C#
Raw Normal View History

using System;
namespace BizHawk.Emulation.Computers.Commodore64.MOS
{
// the functions on this port are at the point of
// view of an external device.
public class SerialPort
{
public Func<bool> ReadAtnOut;
public Func<bool> ReadClockOut;
public Func<bool> ReadDataOut;
public SerialPort()
{
}
public void HardReset()
{
}
2013-08-19 03:42:40 +00:00
public void SyncState(Serializer ser)
{
Sync.SyncObject(ser, this);
}
public bool WriteClockIn()
{
return true;
}
public bool WriteDataIn()
{
return true;
}
}
}