21 lines
498 B
C#
21 lines
498 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace BizHawk.Emulation.Cores.Computers.Commodore64.MOS
|
|
{
|
|
public static class Chip6522
|
|
{
|
|
public static Via Create(Func<int> readPrA, Func<int> readPrB)
|
|
{
|
|
return new Via(readPrA, readPrB);
|
|
}
|
|
|
|
public static Via Create(Func<bool> readClock, Func<bool> readData, Func<bool> readAtn, int driveNumber)
|
|
{
|
|
return new Via(readClock, readData, readAtn, driveNumber);
|
|
}
|
|
}
|
|
}
|