30 lines
552 B
C#
30 lines
552 B
C#
using System;
|
|
|
|
namespace BizHawk.Emulation.Computers.Commodore64.MOS
|
|
{
|
|
public class CassettePort
|
|
{
|
|
public Func<bool> ReadDataOutput;
|
|
public Func<bool> ReadMotor;
|
|
|
|
public void HardReset()
|
|
{
|
|
}
|
|
|
|
virtual public bool ReadDataInputBuffer()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
virtual public bool ReadSenseBuffer()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
public void SyncState(Serializer ser)
|
|
{
|
|
SaveState.SyncObject(ser, this);
|
|
}
|
|
}
|
|
}
|