2017-04-24 13:21:05 +00:00
|
|
|
|
using System.Collections.Generic;
|
2015-06-12 23:51:03 +00:00
|
|
|
|
|
|
|
|
|
using BizHawk.Emulation.Common;
|
|
|
|
|
using BizHawk.Emulation.Cores.Components.M6502;
|
|
|
|
|
|
|
|
|
|
namespace BizHawk.Emulation.Cores.Computers.AppleII
|
|
|
|
|
{
|
|
|
|
|
public partial class AppleII : IDisassemblable
|
|
|
|
|
{
|
|
|
|
|
public string Cpu
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return "6502";
|
|
|
|
|
}
|
2017-04-24 13:21:05 +00:00
|
|
|
|
|
2015-06-12 23:51:03 +00:00
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-04-24 13:21:05 +00:00
|
|
|
|
public string PCRegisterName => "PC";
|
2015-06-12 23:51:03 +00:00
|
|
|
|
|
|
|
|
|
public IEnumerable<string> AvailableCpus
|
|
|
|
|
{
|
|
|
|
|
get { yield return "6502"; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string Disassemble(MemoryDomain m, uint addr, out int length)
|
|
|
|
|
{
|
2017-04-24 13:21:05 +00:00
|
|
|
|
return MOS6502X.Disassemble((ushort)addr, out length, a => m.PeekByte(a));
|
2015-06-12 23:51:03 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|