2012-12-05 21:07:51 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace BizHawk.Emulation.Computers.Commodore64.MOS
|
|
|
|
|
{
|
|
|
|
|
public class CassettePort
|
|
|
|
|
{
|
2013-08-13 12:23:32 +00:00
|
|
|
|
public Func<bool> ReadDataOutput;
|
|
|
|
|
public Func<bool> ReadMotor;
|
2012-12-06 04:29:08 +00:00
|
|
|
|
|
2012-12-05 21:07:51 +00:00
|
|
|
|
public void HardReset()
|
|
|
|
|
{
|
|
|
|
|
}
|
2013-08-13 12:23:32 +00:00
|
|
|
|
|
2013-08-26 19:22:04 +00:00
|
|
|
|
virtual public bool ReadDataInputBuffer()
|
2013-08-13 12:23:32 +00:00
|
|
|
|
{
|
2013-08-14 05:05:17 +00:00
|
|
|
|
return true;
|
2013-08-13 12:23:32 +00:00
|
|
|
|
}
|
|
|
|
|
|
2013-08-26 19:22:04 +00:00
|
|
|
|
virtual public bool ReadSenseBuffer()
|
2013-08-13 12:23:32 +00:00
|
|
|
|
{
|
2013-08-14 05:05:17 +00:00
|
|
|
|
return true;
|
2013-08-13 12:23:32 +00:00
|
|
|
|
}
|
2013-08-19 03:42:40 +00:00
|
|
|
|
|
|
|
|
|
public void SyncState(Serializer ser)
|
|
|
|
|
{
|
2013-08-26 19:22:04 +00:00
|
|
|
|
SaveState.SyncObject(ser, this);
|
2013-08-19 03:42:40 +00:00
|
|
|
|
}
|
2012-12-05 21:07:51 +00:00
|
|
|
|
}
|
|
|
|
|
}
|