2012-12-05 21:07:51 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace BizHawk.Emulation.Computers.Commodore64.MOS
|
|
|
|
|
{
|
2012-12-06 04:29:08 +00:00
|
|
|
|
// the functions on this port are at the point of
|
|
|
|
|
// view of an external device.
|
|
|
|
|
|
2012-12-05 21:07:51 +00:00
|
|
|
|
public class SerialPort
|
|
|
|
|
{
|
2013-08-14 05:05:17 +00:00
|
|
|
|
public Func<bool> ReadAtnOut;
|
|
|
|
|
public Func<bool> ReadClockOut;
|
|
|
|
|
public Func<bool> ReadDataOut;
|
2012-12-06 04:29:08 +00:00
|
|
|
|
|
2012-12-06 06:53:55 +00:00
|
|
|
|
public SerialPort()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2012-12-05 21:07:51 +00:00
|
|
|
|
public void HardReset()
|
|
|
|
|
{
|
|
|
|
|
}
|
2013-08-14 05:05:17 +00:00
|
|
|
|
|
|
|
|
|
public bool WriteClockIn()
|
|
|
|
|
{
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public bool WriteDataIn()
|
|
|
|
|
{
|
|
|
|
|
return true;
|
|
|
|
|
}
|
2012-12-05 21:07:51 +00:00
|
|
|
|
}
|
|
|
|
|
}
|