64kramsystem / 64kramsystem/ghidra-vice-connector

Auto-load PRG files into VICE memory

オープン
#3 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
priority: high
主要言語
Python
スター
1
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

## Description

The most common C64 development workflow is: compile a `.prg`, load it into VICE, and debug. Currently this requires manual steps outside Ghidra.

## Proposed implementation

- Add a `load_prg` remote method that:
1. Accepts a file path (or reads from the current Ghidra program)
2. Parses the 2-byte little-endian load address header
3. Writes the payload into VICE memory via `memory_set`
4. Optionally sets PC to the load address
5. Refreshes the trace memory view
- Could also add a launcher parameter (`OPT_PRG_FILE`) to auto-load on connect

## Why this matters

This eliminates the most tedious manual step in the C64 debug workflow and ties Ghidra directly into the build-load-debug cycle.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

この Issue では、Python connector に `load_prg` リモートメソッドを追加することについて説明しています。まず、codebase にある既存のリモートメソッドを調べ、VICE との通信パターンを理解してください。`memory_set` 関数と、trace memory view の更新メカニズムを探してください。実装では、PRG ファイルの 2 バイト little-endian ヘッダーをパースし、payload をメモリに書き込む必要があります。テストでは、VICE に接続してコンパイル済みの C64 プログラムをロードします。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
cli, tooling
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
55/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。