mirror of
https://github.com/sarah-walker-pcem/pcem.git
synced 2025-07-23 11:43:03 +02:00
* Fix up global variable definitions in ibm.h This fixes multiple definition errors when including ibm.h in C++ code. * viewers: Add viewer infrastructure 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. * viewers: Add (S)VGA palette 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. * viewers: Add (S)VGA font viewer Add a simple viewer to display the current (S)VGA font. * viewers: Add (S)VGA video memory viewer Add a viewer for (S)VGA video memory. This allows viewing of on and off screen video memory in the various supported bitmap formats. * viewers: Add 3DFX viewer 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.