Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add debug viewers #277

Merged
merged 6 commits into from
Nov 25, 2024
Merged

Add debug viewers #277

merged 6 commits into from
Nov 25, 2024

Conversation

sarah-walker-pcem
Copy link
Owner

@sarah-walker-pcem sarah-walker-pcem commented Nov 18, 2024

Viewers are windows showing the status of a particular component of the emulated machine; primarily for amusement, though may be useful for debugging in some situations.

This pull request adds the basic infrastructure, along with a number of viewers for SVGA and 3DFX state.

This fixes multiple definition errors when including ibm.h in C++ code.
Viewers are windows showing the status of a particular component of the emulated
machine; primarily for amusement, though may be useful for debugging in some
situations. This commit adds the basic infrastructure for viewers.
This adds two basic viewers for the (S)VGA palette; one for the 16-entry
attribute controller palette, and one for the 256-entry RAMDAC palette.
Add a simple viewer to display the current (S)VGA font.
Add a viewer for (S)VGA video memory. This allows viewing of on and off screen
video memory in the various supported bitmap formats.
Add a viewer for 3DFX state. This shows all triangles and textures involved in
the most recent frame, and allows showing of framebuffer, depth buffer, and
wireframes.

It currently does not work properly in SLI configurations (only the first card
will be viewed) and trilinear textures will not display correctly.
@michael-manley
Copy link
Collaborator

Going to take a look at this tonight. This is a good addition for debugging!

@michael-manley
Copy link
Collaborator

Merging even though it is failing on Windows, will fix in tree.

@michael-manley michael-manley merged commit a0db379 into dev Nov 25, 2024
3 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants