2015-10-28 08:51:53 +00:00
|
|
|
|
using System.IO;
|
|
|
|
|
|
|
|
|
|
namespace BizHawk.Emulation.Common
|
2015-10-27 23:03:56 +00:00
|
|
|
|
{
|
|
|
|
|
public interface ICodeDataLogger : IEmulatorService
|
2015-11-01 21:01:19 +00:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Sets the CodeDataLog as current (and logging) on the core
|
|
|
|
|
/// </summary>
|
|
|
|
|
void SetCDL(CodeDataLog cdl);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Fills a new CodeDataLog with memory domain information suitable for the core
|
|
|
|
|
/// </summary>
|
|
|
|
|
void NewCDL(CodeDataLog cdl);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Disassembles the CodeDataLog to an output Stream. Can't be done without a core because there's no code to disassemble otherwise!
|
|
|
|
|
/// This could be extended later to produce richer multi-file disassembly
|
|
|
|
|
/// </summary>
|
|
|
|
|
void DisassembleCDL(Stream s, CodeDataLog cdl);
|
2015-10-27 23:03:56 +00:00
|
|
|
|
}
|
|
|
|
|
}
|