clydeshaffer / GameTankEmulator

An emulator for the GameTank, a real physical hardware game console I've built
MIT License
15 stars 9 forks source link

VRAM Viewer: Print value of pixel under cursor #20

Closed nickgirardo closed 1 month ago

nickgirardo commented 5 months ago

Because the gametank has multiple different values that map to the same color under rendering, the VRAM viewer's visual output is not sufficient to fully differentiate grayscale pixels :(

clydeshaffer commented 5 months ago

oops i thought this was a PR and got excited but yes good idea

Actually the VRAM Viewer has been in need of an overhaul for a while. The Sprite RAM pages don't really represent the continuity within each page since each bank is represented as a 1x4 column instead of their true 2x2 layout. It's also the last debug window that's not using dear imgui at all.

Besides printing the value under the cursor it'd be good to add zooming in on each one, and indicating the active quadrant of the active bank.