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

39 lines
615 B
C#
Raw Normal View History

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