64kramsystem / 64kramsystem/ghidra-vice-connector

Stack contents display

未关闭
#6 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
priority: medium
主要语言
Python
星标
1
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

## Description

The 6502 hardware stack lives at $0100-$01FF. Currently the Stack container in the trace is empty beyond the single frame object. Showing actual stack contents would help users understand what's been pushed (return addresses, saved registers, etc.).

## Proposed implementation

- On each stop, read SP and the bytes from $0100+SP+1 through $01FF
- Display stack entries in the Stack container, annotating likely return addresses (2-byte values that look like code addresses)
- Update on every stop event alongside register refresh

## Limitations

The 6502 has no frame pointer, so true call-stack reconstruction isn't possible. This would be a raw stack dump with best-effort annotation.

## Why this matters

Seeing the stack contents helps debug JSR/RTS sequences, interrupt handlers, and stack corruption issues.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。