Retro.Debug.Data.Provider 0.1.0-alpha

This is a prerelease version of Retro.Debug.Data.Provider.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Retro.Debug.Data.Provider --version 0.1.0-alpha                
NuGet\Install-Package Retro.Debug.Data.Provider -Version 0.1.0-alpha                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Retro.Debug.Data.Provider" Version="0.1.0-alpha" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Retro.Debug.Data.Provider --version 0.1.0-alpha                
#r "nuget: Retro.Debug.Data.Provider, 0.1.0-alpha"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Retro.Debug.Data.Provider as a Cake Addin
#addin nuget:?package=Retro.Debug.Data.Provider&version=0.1.0-alpha&prerelease

// Install Retro.Debug.Data.Provider as a Cake Tool
#tool nuget:?package=Retro.Debug.Data.Provider&version=0.1.0-alpha&prerelease                

Retro Debug Data Provider

This project goal is to provide as much debugging support as possible for retro assemblers and possibly compilers starting with KickAssembler.

Current services

  • Debug file (.dbg) parsing provided by IKickAssemblerDbgParser.
  • Byte dump file (.dmp) parsing provided by IKickAssemblerByteDumpParser.
  • Compiler invocation (NOTE: Kick Assembler requires java installed on computer, OpenJDK is fine) provide by IKickAssemblerCompiler.
  • Converting Kick Assembler specific data into universal model provided by IKickAssemblerProgramInfoBuilder.
  • Universal model - for different assemblers and compilers (early version, might change in future) with top class AssemblerAppInfo.

I will add more services and more support types along the path.

This is a .NET 8+ cross-platform library.

Dependency injection support

All service classes have matching interface. Register them manually or run IoCRegistrar.AddDebugDataProvider extension method on IServiceCollection instance like:

public static IServiceCollection Configure(this IServiceCollection services)
{
    services.AddDebugDataProvider();
}

Debug file parser

Get debug data model by calling

var model = await IKickAssemblerDbgParser.LoadFileAsync("PATH_TO_DBG_FILE", ct)

Byte dump file parser

Get byte dumb model by calling

var model = await IKickAssemblerByteDumpParser.LoadFileAsync("PATH_TO_BYTE_DUMP_FILE", ct)

Compiler invocation

Unified model converter

Convert Kick Assembler specific debug model to universal one by calling

var universalModel = await IKickAssemblerProgramInfoBuilder.BuildAppInfoAsync("PROJECT_DIRECTORY", debugData, ct)

where debugData argument is output from Debug file parser.

Build from sources

Clone repository.

Since Kick Assembler binaries are not included in this repository, it's required to download them and manual install them: in src/Righthand.RetroDbgDataProvider/Righthand.RetroDbgDataProvider subdirectory create directory binaries/KickAss and place inside Kick Assembler files KickAss.cfg and KickAss.jar.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.1.5-alpha 61 9/30/2024
0.1.4-alpha 56 9/24/2024
0.1.3-alpha 58 9/1/2024
0.1.2-alpha 68 8/8/2024
0.1.1-alpha 47 8/7/2024
0.1.0-alpha 46 8/7/2024